Author: Leland Jin Date: April 19, 2021 SID: nli32 Spring 2021
Public GitHub repository: https://github.com/leland-jin/Rocket_Patrol_Mod
GitHub page:
https://leland-jin.github.io/Rocket_Patrol_Mod/
You can use Python as a web server to host the game locally:
python3 -m http.server
Hours taken: 12+
Features implemented:
Total score targeted: 120
- Track a high score that persists across scenes and display it in the UI (5)
- Allow the player to control the Rocket after it's fired (5)
- Add your own (copyright-free) background music to the Play scene (5)
- Implement the speed increase that happens after 30 seconds in the original game (5)
- Create a new animated sprite for the Spaceship enemies (10)
- Create 4 new explosion SFX and randomize which one plays on impact (10)
- Replace the UI borders with new artwork (10)
- Display the time remaining (in minute:seconds) on the screen (10)
- Implement a new timing/scoring mechanism that adds time to the clock for successful hits (20)
- Create a new spaceship type (w/ new artwork) that's smaller, moves faster, and is worth more points (20)
- Create and implement a new weapon (w/ new behavior and graphics) (20)
- https://stackoverflow.com/questions/37408825/create-a-high-score-in-phaser`
- https://stackoverflow.com/questions/39787647/switch-does-not-work-with-math-random-numbers
- https://phaser.discourse.group/t/countdown-timer/2471/4
- http://millionthvector.blogspot.com/p/free-sprites.html
- https://stackoverflow.com/questions/56220214/how-to-correctly-resize-images-to-retain-quality-in-phaser-3
- https://www.pikpng.com/downpngs/hRJooow_turbulence-explosion-sprite-sheet-png-clipart/
- Works by MillionthVector:
- rocket2.png
- speedship.png
- smallfreighterspr.png