~Flashlight~ (Arrow Keys) or (WASD) - Movement (Click) - Attack enemies Energy bar: When you click, your energy will go down. If you have no energy, your flashlight will turn off for 7 seconds, leaving you defenseless. Defeating enemies replenishes energy. Goal: Defeat all the enemies through 12 waves Have fun ;)
~Flashlight~ This is a 4-year-old project and I doubt many people will be seeing this after that much time but I had the sudden urge to fix everything wrong with it and just get rid of the cheese. So here's a list. - Changed player hit detection to use a hitbox, originally I had all the enemies hitting when they touched a color, which is dumb - This fixed the cheese strat of just going off screen to become invincible - Added an energy bar so you can't just hold click forever - Increased regeneration if your energy bar is full - Enemies flash when they spawn - Made arrow a lot better overall (and renamed it) - Replaced dark player with energy leech - Added a small circle of light around the player that allows you to see enemies coming from behind - Turned down the regen speed - Redid all the waves - Made all the buttons responsive (for some reason the wave 10 and 11 buttons only work if you hold click? hopefully I can figure out what's doing that - Added hit sound There's no boss battle I'm too lazy to make one All code made by me, except for the code for movement All art by me (not that any of the art in this project is impressive...) Music - https://www.youtube.com/watch?v=gUChbEq0Ljs Boss Music - https://www.youtube.com/watch?v=yR_WNY4IlGU Thanks to @Atomic10724 for telling me about the boss music song Inspirations: Various platformers that include using light to see the platforms. #dynamiclighting