Pixel Game Maker MV

Pixel Game Maker MV

hablababla37 2019 年 1 月 21 日 下午 12:20
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.
最后由 hablababla37 编辑于; 2019 年 1 月 21 日 下午 12:21
< >
正在显示第 1 - 5 条,共 5 条留言
erobotan 2019 年 1 月 21 日 下午 8:19 
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 2019 年 1 月 23 日 上午 5:00 
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 2019 年 1 月 25 日 上午 10:54 
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 2019 年 1 月 29 日 上午 2:30 
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 2019 年 2 月 28 日 下午 12:13 
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]
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50

发帖日期: 2019 年 1 月 21 日 下午 12:20
回复数: 5