Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Joseph Annunziata

1
Posts
A member registered Sep 19, 2023 · View creator page →

Creator of

Recent community posts

Title: Treasurebound

Description: Steer your ship by clicking your mouse to collect the coins and jewels! Beware of the cannonballs!

Patterns Used:

Command - I implemented a "PlayerMoveCommand" that inherits Execute, Undo, and IsDone functions from an abstract Command Class. This allows for a user to control the player ship in a command movement style to simulate real-time strategy and add a challenging component to the game. User clicks on the screen are added to a queue which is then completed in order.

Observer - I used the Observer pattern in order to reduce the amount of code in the PlayerController. The Achievement and AudioManager scripts listened for events from the player controller in order to execute those functions. The Achievement script doubled to keep track of the jewel collection achievement, coin collection, and player health as well as their corresponding UI text on the screen. 

Component - I created separate components for both a generic ObjectPool and a Projectile Controller which were attached to the Cannons to fire cannonballs at the player. Both the ObjectPool and Projectile Controller components can also be applied to any other object, as well as the player in order to optimize the instantiation of projectiles.