Following the Java Game Programming Wizard tutorial to create my own top down games.
The first will be a game in which the user, as a little mushroom buddy, makes their way through a maze while dealing with hungry slug enemies. The player can shoot spores at enemies, which depletes their own nutrient stores and damages enemies. Nutrients can be collected as found to replenish either spores or health. Features will include:
-
Window with Canvas (buffered image reader/loader to render .png background).
-
Player object (mushroom buddy) controlled via keyboard and mouse.
a. Keys to control movement (ASWD or arrows).
b. Mouse clicks to control spore projectiles.
c. Spore dispersal depletes nutrient stores.
d. Collision with enemies decreases hit points (auto restart at 0hp still to come).
-
Enemy objects (slugs) that spawn at set locations.
a. Enemy movement is randomized.
b. Enemies have hit points & take damage from player spores.
c. At zero hp, slugs turn into nutrients for player to collect.
-
Camera follows player through maze.
-
When player reaches end of maze a new level will start (still to come).
JFrame
Canvas
Maze Generator for maze design inspiration.