Good day, sir! Only the finest of gentlemen can beat this game. Do you have what it takes to wield the cane? Press Space to Fire Candies! Press W, A, S, D to Move Around! Objective: Avoid and Kill the Deadly Candy Cubes Boss: The Candy Corn Trio! (Tip: This game is extremely hard!) :D HAVE FUN!
This was a massive project I did to bring together some of the coding skills Ive learned over the years. If you play the game you will notice many bugs and overall things that can be improved. I am ok with those problems because I was mainly concerned about the actual code, not the gameplay. What makes 'Candy Cube Killer!' so impressive is the fact that it uses 1 sprite and 9 variables total. Crazy right? The code is a mess and could be simplified, but Id say I did a pretty good job. Inside 1 sprite and 9 variables I coded: randomly generated (respawning) enemies with randomly generated stats and A.I.'s, a character to play which shoots projectiles, a point system, and a boss battle. And trust me, it sounds less complicated than it is. My biggest challenge was communication between the game objects. When your working with clones, its hard to have them interact/signal with one another because most of the code blocks deal with sprites, not clones. This put alot of blocks in my way, but I was able to overcome them. Id say Im most proud of the Artificial Intelligence of the Candy Cubes. Not only do they have minds of their own, but these minds are randomly generated as you play. It was super hard to make this happen but in the end I am happy with what I accomplished. Overall making this taught me alot about working with clones sprites. This project taught me to be resilient and work around big problems. I am proud of this and will work to create better products in the future. p.s. If you want me to expand on the game / fix some bugs please say so in the comments. If I get enough requests maybe Ill do a second version. Thanks for Playing, Bobby