$25
To build a complex game in Mode 4 to further your understanding of: double buffering, palettes in Mode 4, text, DMA, and images in Mode 4.
Instructions:
For this homework, you will create a complex game in Mode 4. The complexity expectation is the same as the last homework assignment, but this time, images are required. You may NOT extend a game you already made for a previous assignment; you MUST create something new. Outside of helper files (myLib.c, myLib.h, font.c, font.h, etc.), you also may not extend a previous lab to fit the requirements of this homework.
You are free to choose one of the examples we provide, but you are also free to create your own original game
Requirements:
Your game must have the following:
● At least one struct
● At least one array
● Pooling
● Meaningful text
○ It needs to be relevant to the game
● Non-static text
○ This means the text changes while you are looking at it (erased then redrawn)
■ E.g. score that visibly updates during the game
● A state machine with the following states: Start, Pause, Game, Win/lose
○ You can have a Win state, a Lose state, or both
● DMA used correctly for fillScreen4(), drawRect4(), drawImage4(), and drawFullscreenImage4()
● At least one non-fullscreen image
● At least one fullscreen image
● At least five moving objects
● At least three buttons used for input
● Collision that matters (i.e. something must happen whenever two different objects hit each other)