DOC PREVIEW
Columbia CSEE 4840 - Rally-X - presentation

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Rally-OwlOverview of Rally-Owl GameThis game is based off of Rally-XThe goal of the game is to collect all 10 flags before losing all your livesThe game makes use of a horizontally and vertically scrolling mapThis game implements a mini-mapKey Parts of the ProjectVGA CONTROLLERMainmap-Player-Smoke (3)-Enemy Cars (3)-Flags (10)-Game MapMini-map-Player-Enemy Cars (3)-Flags (10)-uses a function to rescale these the mainmapSoftwareCalculate the scoreSet flag coordinatesSet smoke coordinatesEnemy car movementEnemy AIFuel timerPlayer stutus (lives, direction)VGA ControllerStore all sprites in hereSprites are displayed by pixelUse rectangles to partition the screenPartition the screen in to a main game area and side barLayer Priority(MM) Player(MM) Smoke(MM) Enemy1 --> Enemy2 --> Enemy3(MM)Map(SB) "Score", " Lives", "Fuel", score, lives, fuel(SB) Mini-mapSyncing done at EndOfFieldKey syncing issuesplayer and enemy movementthese are done per pixel and are fast movementsMemory MappingEverything was written as 32bit dataAddress was 5bitsWe used 10 addressesAdresss #Data (32 bits)0 - “00000”Map X (bits 0-15), Map Y (bits 16-31) [Map X,Y pixel shift coordinates]1 - “00001”Player Direction (bits 0-2) [Player’s movement direction]2 - “00010”Fuel Status (bits 0-31) [Fuel Gauge Amount]3 - “00011”Ones Place (bits 0-3), Tens Place (bits 4-7), Hundreds Place (bits 8-11) [Player’s Score]4 - “00100”Flag Col (bits 0-11), Flag Row (bits 12-23), Flag On/Off (bit 24), Flag # (bit 25-28) [Flag data]5 - “00101”X (bits 0-11), Y (bits 12-23), Movement Direction (bits 24-26), Enemy On/Off (bit 27) [Enemy 1 Data]6 - “00110”X (bits 0-11), Y (bits 12-23), Movement Direction (bits 24-26), Enemy On/Off (bit 27) [Enemy 2 Data]7 - “00111”X (bits 0-11), Y (bits 12-23), Movement Direction (bits 24-26), Enemy On/Off (bit 27) [Enemy 3 Data]8 - “01000”Smoke Col (bits 0-11), Smoke Row (bits 12-23), Smoke On/Off (bit 24), Smoke # (bit 25-28) [Smoke data]9 - “01001”Lives (bits 0-31) [Player’s Number of Lives Left]10 - “01010”Game State (bits 0-31) [0 - “Start”, 1 - “End”, 2 - “Play”]SoftwareA master reset Key "R" to restart the game at any timePress S to start the game everytime player dieIf a enemy car run into a smoke, it will stop until the smoke disappear.Each time player uses a smoke, it takes some fuels of its fuel gague.If the player run into the enemy or the run out of fuel, the player dies.Software (con't)Player CarGet the direction from userDetect the wallWhen the car hit the wall, software change the direction to counter clockwise. Enemy CarSoftware decide the direction according to the location of player carverital and horizantal


View Full Document

Columbia CSEE 4840 - Rally-X - presentation

Documents in this Course
SPYCAM

SPYCAM

91 pages

PAC-XON

PAC-XON

105 pages

lab 1

lab 1

6 pages

memory

memory

3 pages

Structure

Structure

12 pages

Video

Video

3 pages

pacman

pacman

4 pages

Lab 1

Lab 1

6 pages

Scorched

Scorched

64 pages

lab 1

lab 1

3 pages

Video

Video

22 pages

Memory

Memory

23 pages

DVoiceR

DVoiceR

29 pages

MAZE

MAZE

56 pages

PAC XON

PAC XON

13 pages

PACXON

PACXON

13 pages

MP3 Player

MP3 Player

133 pages

Load more
Download Rally-X - presentation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Rally-X - presentation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Rally-X - presentation 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?