Project realized for the Pisa CoderDojo. Part 2 of implementing a finite-state machine for an enemy model. This is just an example of extending the FSM realized in the first part. Adding a Respawn state and other gaming elements. Controls: Arrow keys for movement and space bar for shooting.
Part 1 here: https://scratch.mit.edu/projects/477864257/ Free to use game assets by Kenney game studio. https://www.kenney.nl/