IMPORTANT! READ ALL OF THE FOLLOWING (it's not that much.) Arrow keys to move around. This is a test to experiment with the following: Blue attacks (subtract health when you are moving and touching it) Orange attacks (subtract health when you aren't moving and are touching it) Pink attack (pink subtracts hp when you are touching it) Green Square (adds hp when you are touching it) Invincibility frames (1.5 seconds of invincibility when you get health subtracted, can be toggled with the button at the top right corner)
This project is completely experimental and I am using it to collect data. Simply comment if things worked well or not in the comments, please. Feel free to remix and experiment with the code yourself or give suggestions to make the code cleaner and more efficient.