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

0 favourites
  • 3 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • 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.

    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.

  • 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 .

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Never would have suspected that. Thanks for the help!

    Here's the result. Seems to work so far.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)