HAVING MOVEMENT TROUBLE? Try these scripts!

User avatar
Imagaryboy
Posts: 18
Joined: Mon Aug 20, 2018 9:05 am
Location: Cologne

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by Imagaryboy » Mon Aug 20, 2018 6:57 pm

MistSonata wrote:
Mon Aug 20, 2018 2:07 pm
Unfortunately these are 4-direction movement only. I'm working on a new 8-direction movement script, though. I don't know exactly what you're asking for in the second point.
hehe sorry, that was some bad explanation :roll:
I am working on a platformer and at some point in the game, the player will be able to fly around. My problem is that if the player is facing left and wants to simply fly up or down, the player sprite goes back to facing right. But I want the sprite to keep facing left of course. Guess I have to change something in the code and I already tried to but wasn't able to find the solution...
User avatar
Dr. Van Hauten
Posts: 3
Joined: Sun Jul 08, 2018 7:58 pm

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by Dr. Van Hauten » Wed Sep 26, 2018 9:37 pm

On my hand, I have some problems with my walking animations on a platformer-style game. When I hold a direction, the animation won't loop and showsn only 1 frame out of 4, but if I slighty touch the direction, the animation will loop without stoping. When releasing any directions, the idle animation does connect properly though. The jumping animation seems fine too.
I try loading your scripts as well, but the the problem still occurs...

The weird thing is I followed the tutorial and the first time everything worked fine, until I tried to add a jumping command which resulted in an error somehow. I fixed the error but now my animations are the problem.

Another question about movement as well. Is there a way to have a down animation facing the same way as the character. I saw that you can set animations on down/left and down/right, but what about if you just push down?
User avatar
dale_coop
Posts: 1280
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by dale_coop » Wed Sep 26, 2018 9:49 pm

Those scripts was made for an older version, which had an issue.
The 4.0.6 and later have no more the problem of movements.
If you still have, it means you diverged from the tutorial at some point.

Heck again your animations, your action steps and your input editor. You may have something different than the tutorial.

And if you are making a adventure game you can’t add jump (this script doesn’t exist for that module)... or maybe you are making a platformer ? In that case, why you would need down and up facing animations?
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
Post Reply