Pixel Game Maker MV

Pixel Game Maker MV

hablababla37 Jan 21, 2019 @ 12:20pm
Disable diagonal movement + animation errors?
Is there a simple way of disabling diagonal/8 directional movement, and having only 4 directions (up, down, left, right)?

Also, does anyone know why walking animations will continue to display if you are pressing more than one button at a time? For example: say my character is walking left, but I decide to press the right direction as well while still holding left. Sometimes it will cause the player to walk backwards while facing the wrong way, and other times it will do nothing.

Specifically, I would like the player to only move and animate in the direction I tell it to. In the objects conditional setting I say '< pressed and > on release', but it does the weird moonwalk thing when facing right only. When facing left, it works as intended?

Its hard to explain lol.
Last edited by hablababla37; Jan 21, 2019 @ 12:21pm
< >
Showing 1-5 of 5 comments
erobotan Jan 21, 2019 @ 8:19pm 
for walking backwards while facing the wrong way, it's usually because people forget to click the correct direction in the ANIMATION -> DIRECTION tab.

I don't know how to fix that moonwalk but here is how i do my walking/waiting program:
1. link from WAITING to RUN: < is pressed OR > is pressed
2. link from RUN to WAITING: < is released AND > is released
Bellamy Jan 23, 2019 @ 5:00am 
hablababla37,

First of all, are you using the 0.9.2 release or the current open beta release?
There was a small issue with input that should be fixed in the open beta release.

Also, I assume you mean to limit movement for a top-down project, yes?
I'll check on that for you - it's not something I have tried to do myself before.
hablababla37 Jan 25, 2019 @ 10:54am 
I am using the 0.9.2 release... I'll try the beta soon.

And yes I wanted to use it in topdown. Also, speaking of diagonal movement, is there a way to slow down diagonal movement speed that doesnt slow down the walk animation as well?
Bellamy Jan 29, 2019 @ 2:30am 
I checked a bunch of things out, and right now there's not really a way to disable diagonals/force 4-way movement.

So we'll be looking into how we can add support for movement restrictions when we also take a look at adding support for more complex controller input as well.

Also, is slowing down diagonal speed also slowing down the animation? Animation speed is supposed to be configured by the animation tool, and runs independent of the movement speed settings on the character Object.
Can you tell me in detail what you are doing?
hablababla37 Feb 28, 2019 @ 12:13pm 
Thank you Bellamy for always being so helpful and patient :)

Im sorry, I should have elaborated a bit more on the diagonal movement. I meant that when my player object moves diagonally, it seems to move twice the speed as when it moves up, down, left or right.

Heres a Gif [imgur.com]

Sorry for the bad framerate, but it kindof shows what I mean. The only way Ive found to slightly slow down the diagonal movement is with the 'Auto-adjust diagonal move speed' checkbox in the Objects 'Moving and Jumping' settings. But when I select this, it makes the object move around kindof in a strange unnatural jumpy way, and doesnt look smooth at all. Does this make sense?

Here it is with the 'move speed' option selected [imgur.com]
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jan 21, 2019 @ 12:20pm
Posts: 5