jx5hv4's Recent Forum Activity

  • Hmmmm?

    Well try this then:

    On any touch is not in touch ............. Simulate player control pressing right

    and Player X < HomeX-1

    On any touch is not in touch ............. Simulate player control pressing left

    and Player X > HomeX+1

    The player won't be perfectly centered but that should keep it from overshooting and wobbling.

    If that doesn't fix it name your game Wobbler lol!

    Well, I guess my game will be called The Wobbler - TBA.

    I'll keep experimenting. Maybe I'm doing something wrong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Thank you to both of you guys! Your input has helped a lot.

    >

    > However, when the player goes back to the middle he goes beyond the middle and wobbles a bit before centering, as if impulse makes him do so. Is there a way to prevent that? Any kind of Acceleration/Deceleration combination or something?

    >

    Whats wrong with a little wobble? I do it all the time lol!

    Try adding this:

    On any touch is not in touch ............. Simulate player control pressing right

    and Player X < HomeX

    On any touch is not in touch ............. Simulate player control pressing left

    and Player X > HomeX

    On any touch not in touch................ Set player 8 Direction controls STOP

    and Player X = HomeX

    That should stop the player from wobbling.

    Thank you, man.

    Unfortunately, he still wobbles

  • Thank you to both of you guys! Your input has helped a lot.

    However, when the player goes back to the middle he goes beyond the middle and wobbles a bit before centering, as if impulse makes him do so. Is there a way to prevent that? Any kind of Acceleration/Deceleration combination or something?

  • Hello guys! First post here and I know this might be a rather noobish question but I've noticed the community is very nice so I'll shoot.

    I'm making a mobile game where the player has to dodge traps, the game will be played vertically with the player going up and traps coming down on him from either side or in the middle. Up until now I've had the player use the 8 Direction behavior restricted to "Left and Right", but now I want him to always be standing in the middle and for controls to make him go either left or right depending on where the player touches the screen and after that go back to the middle.

    I would greatly appreciate any input on this. And I do apologize if this has been asked before.

jx5hv4's avatar

jx5hv4

Member since 10 Feb, 2017

None one is following jx5hv4 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies