SakeTami
godspeak
godspeak

patreon


Preview

With the movement system finished, I moved onto adding some interaction to this little mini game. First, I added in the health system. Each time you take damage from an enemy or change rooms, you lose 1 food. At 0 food, you receive a game over and are booted back to the apartment.

 Next, I built in a system for checking if the tile you are trying to move to contains another entity, and if so, to do specific code for what kind of entity it is. In this case, you can see that if you collide with a skeleton, you fight and eventually defeat the skeleton, but if you collide with a key it's collected, added to the UI, and removed from the game world.

 

I've been having a lot of fun making this little mini game work! Now that the bulk of the essential mechanics are in, I can start to add further interactivity and expand out the play area.

Preview

More Creators