HAVING MOVEMENT TROUBLE? Try these scripts!

User avatar
dale_coop
Posts: 1627
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by dale_coop » Sun Aug 12, 2018 10:59 pm

We could also wait that Joe's fixes all those scripts for the new patch ;)
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
User avatar
jsherman
Posts: 162
Joined: Sun Apr 22, 2018 11:25 am
Location: Cleveland OH

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by jsherman » Mon Aug 13, 2018 12:50 am

MistSonata wrote:
Sun Aug 12, 2018 6:51 pm
Try making all the turtle animations the same number of frames. Sometimes it gets buggy when the amount of frames in the animation it's switching to are too different.
Wow! Thanks, MistSonata! That appears to have worked! My "up" movement had 6 frames, while the other animations had only 2. So I just padded the rest to 6 and I haven't been able to replicate the quirk.
"Turtle Rescue" updates can be found here: viewtopic.php?f=13&t=112
User avatar
dale_coop
Posts: 1627
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by dale_coop » Tue Aug 14, 2018 7:54 am

Yes, still this small bug to be aware of.
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
User avatar
cornphillips
Posts: 28
Joined: Wed Aug 15, 2018 5:01 am

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by cornphillips » Fri Aug 17, 2018 7:47 am

I must have a unique issue as adding this patch didn't affect my bug! :)
User avatar
dale_coop
Posts: 1627
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by dale_coop » Fri Aug 17, 2018 8:17 am

Might not be the same bug ;)
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
User avatar
TheNew8bitHeroes
Posts: 324
Joined: Fri Feb 16, 2018 9:24 pm
Location: Sarasota, FL
Contact:

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by TheNew8bitHeroes » Fri Aug 17, 2018 8:12 pm

This is...simply amazing to see. Obviously we're overwhelmed over here, so to see the community continuing to step up and offer solutions is...I mean....wow.

:-)
User avatar
MrElephant
Posts: 29
Joined: Sun Aug 12, 2018 1:40 pm

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by MrElephant » Sun Aug 19, 2018 12:39 pm

This is fantastic. Was confused why my character wasnt animating, but your solution is great.
Professorpoptart
Posts: 5
Joined: Sat Jun 16, 2018 2:39 pm

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by Professorpoptart » Sun Aug 19, 2018 4:26 pm

So just in case its helpful to anyone else, I ran into an issue getting my directional/movement animations to play. The scripts in OP were part of the issue. On top of replacing the scripts here I had to add the press and release input scripts to the "ChangeToIdleAnimation" and "ChangeToWalking" to the respective button events. At that point my animations would play but were stuck on walking (except for release Left, that one worked?)... anyway I noticed that the player load operand (LDX) wasn't in the script so I added that to the idel script so changeObjectState knows what to effect... Anyway my ChangeToIdelAnimation script now looks like this;

LDA gamepad
AND #%11110000
BNE +
LDX player1_object ;;Load player object operand before change state
ChangeObjectState #$00, #$02
+
RTS

Hope this helps anyone else with a similar issue!
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 10:12 am

I am having trouble with implementing two things:

1) Diagonal movement. I assumed that in the input editor, I simply have to add the start/stopMovingPlayer for pressing both up and down buttons. But that didn't work :/
2) For moving up and down, I would like the player animation to don't change. For example: The player is facing left (Left idle animation). If I move up now, the player should stay facing left. But when I test my game, the player faces right again while moving up.

Hope you can help me out here :D
User avatar
MistSonata
Posts: 267
Joined: Fri Feb 16, 2018 7:10 am

Re: HAVING MOVEMENT TROUBLE? Try these scripts!

Post by MistSonata » 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.
Post Reply