Day 2 progress: really simple combat


Today I added some monsters, and a really simple combat system. The monsters are just slimes that chase you around if you get too close, and the combat system is, bumping into another creature attacks it to inflict 1 damage. Yes, monsters can bump into each other if they get too crowded together; I’ll have to fix that later on if I remember!

I might later remove the ability for the hero to use melee attacks, requiring him to instead rely on magic (which I plan to add tomorrow). I just added it for now since I needed a way for him to attack the monsters!

A funny bug I ran into is that I added hitpoints and combat but forgot to actually kill a creature when it takes lethal damage! So you can go get “killed” over and over again!

I also added some cool animations which you can’t really see in screenshot form: the log messages float up from the bottom of the screen and fade away after a few seconds, and when you die, the screen fades to red, then to black.

Tomorrow is when things really start getting interesting, though. I’m going to be adding magic, which is the main idea I wanted to implement in this game. You’ll be able to press space to bring up a spellcasting interface, which lists all the magic words you know, and then you can type the magic words to cast spells - typing them accurately and quickly is important!

Get Found Magic

Leave a comment

Log in with itch.io to leave a comment.