I’ve had a hard time understanding why my game was bugging the last few days, so I decided to take a break and play video games with my husband this week-end. We had fun with Slots & Daggers and Super Fantasy Kingdom.
Today, I’m back with a refreshed mind and enough motivation to finally debug it all, and make some progress with my game!
Done
I first created a sprite sheet in Aseprite with my Irmz character’s animations: idle left, idle right, run left and run right. Then I imported it in Godot and created the animations in the animation player.
character_irmz.tscn

Then I had the hardest time to make it do what I want (face the last horizontal direction pressed, but use either idle or run animations with it).
irmz.gd

character_irmz.tscn

And at last, I searched how to remove the mouse cursor when the start level begins.
start_level.gd

It’s probably not perfect code, but I saw a video the other day on how Undertale is a horribly made game and it totally removed my complexes. I am not claiming I will have the same level of success, but I also don’t fret about writing perfect code anymore, and in my book that’s a win. 😊
Check it out!
To Do Next
I still haven’t found a way to do this easily, so I will keep on searching:
- Find a way to have the fullscreen checkbox toggled on in the options menu when starting in fullscreen mode
- make the game save the options chosen
- Add enemies (zombies!)
- Have the camera follow the player
But this is a problem for next time. I will now rest.
Have a great day! 😊

0 Comments