[Solved] I'm not going insane, right?

Get help using Construct 2

Post » Wed Sep 09, 2015 9:21 am

So I just ran into this really stupid thing, and I have no idea how it would even be possible for it not to work.
Basically, I have an object I move around with the physics behavior. The force with which it does this is defined in the object as an instance variable. There is literally no way to have a different amount of force in one direction than another. For some reason it doesn't understand this, and instead makes no changes to anything but the forward (if W down) movement force, meaning that I now have an object that moves five times faster left, right and backward than it does forward.
Here're the events, and as you can see, the variable used, Self.acceleration, is the same for all of the directions.
Image
Yeah I know, you probably noticed the horrible inefficiencies I've been using. I'm working on it :P I've been lazy since the game's so small and doesn't have much CPU usage anyway.
Here's the .capx [MediaFire]

I would absolutely love to know if this is across other computers, at least. I just wonder what the hell it is.
Last edited by Sumyjkl on Wed Sep 09, 2015 11:45 am, edited 1 time in total.
B
42
S
14
G
3
Posts: 165
Reputation: 5,115

Post » Wed Sep 09, 2015 9:47 am

I think it is related to you doing the set animation and play from beginning - try removing this and see if it reacts as you expect .
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Wed Sep 09, 2015 12:11 pm

Never would have suspected that. Thanks for the help!
Here's the result. Seems to work so far.
Image
B
42
S
14
G
3
Posts: 165
Reputation: 5,115


Return to How do I....?

Who is online

Users browsing this forum: mcscooter and 26 guests