![](https://skylorbeck.website/wp-content/uploads/2021/02/GIF-01-13-21-09-27-12-AM-1.gif)
Alright a day late but I’m here now. So the combat was where I spent most of my early dev time. Initially I just had it so enemies would take damage when you clicked on them. Then, I simply made the different results of the slot machine determine the damage you did. After that I let you choose what attack you did and whom you attacked with it. Pretty simple, and I’m a little foggy on the details as this was over a month ago but here are some of my gifs from testing.
![](https://skylorbeck.website/wp-content/uploads/2021/02/GIF-01-14-21-11-37-10-AM.gif)
Next I started working on making enemies attack you. I reused the same code that generated the players ability wheel but oriented sideways. This was also the first test of healing abilities.
![](https://skylorbeck.website/wp-content/uploads/2021/02/GIF-01-14-21-09-23-05-PM.gif)
Next up I changed the test assets and learned how to use GLScissor to trim sprites on the fly.
![](https://skylorbeck.website/wp-content/uploads/2021/02/GIF-01-15-21-07-21-34-PM-1.gif)
A large majority of the code I wrote back then has since been completely rewritten, but the base is there if I look hard enough for it. That arrow code is almost entirely unchanged from initial commit.