29 days ago

I've got a question concerning finite state machines for my first Godot platformer (see article).


See, I have a game project and someone in the Godot Discord server suggested using finite state machines.

Well, my main character (her name is Natalie) has (aside from standing still) sprites for walking, jumping, crouching, and climbing ropes. However, she has four animations for kicking (her main attack)--standing still, airborne, crouching, and clingingn to climbing ropes. Same for subweapons when I make them.

So, for using a finite state machines, is it possible to just have a "kick" state (and later a "use subweapon" state), and put in the code which specific animation depending on the situation? Or do I have to bite the bullet and make an individual kick and subweapon pose for each?

Just wanted to see if I can get by with the "enum" setup of FSM, or needing the "node" setup of FSM.

Any help is much appreciated.



0 comments

Loading...

Next up

#FanArtFriday Mona from Wario Ware on the beach, enjoying the nice sea breeze.

While I tried to work out some kinks in a game project, here are arts of World 3 and 4 of Super Mario 3. (If anyone wants to sticker them, you're invited to do so.)

Keeping things fresh while I try to get the kinks out of my game project. (Stickers are truly welcome here.)

Ha! Heh! Heh! Ha! It's over!

While I try to get some kinks out of my game project, here are some Super Mario 3 arts to keep things fresh. Here are arts of Worlds 5 and 6 of said game. (You can put stickers on them if you want to.)

Working more on Orphan Simulator, progress is coming along very, very well! Everyone think's Jack is directly based off Jevil, but truth be told it was completely coincidence and I just wanted to make a funny jack in the box enemy.

#FanArtFriday Drew Tiff from the Kirby anime "Kirby: Right Back At Ya!"

Figured I'd take part in the #FanArtFriday and make a quick art of Knuckles. Since I've got a game project to tend to, it had to be a quickie. Hope it's good, all the same.

My aseprite tree generator is finally out and panicking!

get the extension here: https://devkidd.itch.io/gentree

#aseprite #pixelart #gamedev #indiegame #indiedev

My attempt at a fan art for @Yal 's game "Ye Legend of Ye Pirate Princess."