#Death Effect [HELP]
5 messages · Page 1 of 1 (latest)
- We use
sprite_indexto change the sprite, notimage_index. - A Death state would work well for this. Died - go to the Death state. Animation ends - destroy the instance.
how would I make a death state?
By making a state machine.
An important tutorial and primer on State Machines, what they are, why to use them and how to write them in your game.
▶ Support my work: https://www.patreon.com/shaunjs
▶ SnowState by Sahaun: https://sahaun.itch.io/snowstate
▶ TrueState by PixellatedPope: https://pixelatedpope.itch.io/truestate
#GameDevelopment #GameMaker #GameMakerStudio #In...