I’m making some progress. Physics – check. Player class – check. Enemy class – check. Hitboxes, damage system, a simple enemy AI – check, check, and check. The character can be controlled at this point, and pressing Q will launch a fireball. The enemy’s AI is pretty simple, all it can do so far is always be looking in the same direction as the player and have a 1/200 chance of firing a fireball at the player per frame (which is a lot more often than I want. I think I’ll lower it to 3/1000 chance, perhaps even lower) if the player is more than 50 pixels and less than 300 pixels away. Next up – finish the enemy AI. Make him have more attacks, chase after the player, be somewhat intelligent and attempt to avoid attacks. Then add some more attacks for the player, add upgrades after defeating certain amounts of enemies, and most importantly: make more enemies spawn.
Leave a Reply
You must be logged in to post a comment.