Super Mario Bros Remake

Here is my project:

I have an issue with the animation of Mario when he jump and then change direction.
I know in ma game he’s doing the last animation done. How can i tell him to make the correct one ? I’m so lost whith all my ‘If’ statement now.^^"

@Sonicblaston I have read on a post that you did a mario remake how did you managed all the animation after a jump if you changed the direction?

4 Likes

Don’t worry @Darcia I can help you👌
You should use the character animation extension or the platformsr extension. If you want I can implement it for you. Btw all that “dead code” (the blocks that are greyed out and not in use.) does slow down your game. You should try to remove that.

2 Likes

thanks
here is a new version of my code which is better for my animation. I try to remove some dead code time to time.^^

2 Likes

Btw @Darcia do you think you are able to translate the variables and spritekinds to english. It’s just make it a little easier for me to understand what is happening

2 Likes

i tried to change the names cuz i’m french as well
but i didn’t change all of them cuz idk what they are for ether lol

2 Likes

Here is the translated version:

1 Like

How did you put the speed text below the player?

1 Like

MCA
Select Set mySprite Auto Destroy —> Then replace Auto Destroy with Show Physics and select On.

Je ai trouvé. Merci beaucoup.

1 Like