https://github.com/JorgeTorres96/scratch-point-and-click-zombies-week0_problem-set
Asignment for CS50, Week 0: Scratch
https://github.com/JorgeTorres96/scratch-point-and-click-zombies-week0_problem-set
assignment cs50 game-development game-mechanics harvard mini-games point-and-click scoring-system scratch scratch-programming survival user-interface zombies
Last synced: 3 months ago
JSON representation
Asignment for CS50, Week 0: Scratch
- Host: GitHub
- URL: https://github.com/JorgeTorres96/scratch-point-and-click-zombies-week0_problem-set
- Owner: JorgeTorres96
- Created: 2023-10-28T21:07:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-28T21:15:05.000Z (over 1 year ago)
- Last Synced: 2024-07-29T19:34:13.755Z (10 months ago)
- Topics: assignment, cs50, game-development, game-mechanics, harvard, mini-games, point-and-click, scoring-system, scratch, scratch-programming, survival, user-interface, zombies
- Homepage: https://scratch.mit.edu/projects/915442199/
- Size: 490 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Point and Click Zombies! - CS50 Week 0 Assignment
Asignment for CS50, Week 0: Scratch[see on mit.edu](https://scratch.mit.edu/projects/915442199/)
## Mechanics:
Max PlayerHP: 100HP.
Zombie colliding with Player = reduce 10 PlayerHP+Zombie Dies.
After 1.5 seconds not being hit, PlayerHP starts to regenerate at a 1point per 0.15s rate.
Point and click zombies to kill them and score one point.
Zombies get a compounding 1% additional speed every 10 seconds.## Debugging
Change DEBUG_BUILD to 1 inside Stage>Initialize to see the values of all hidden variables.
## Hidden Variables:
isGameOver = Bit used as Bool.ZombieSpeed = Float, initially 1.75
ZombieSpeedIncreaseTimer = Float, Counts from 0 to 10s recursively while playing.
isPlayerHit = Bit used as Bool. 1.5s cooldown when triggered, triggering it again resets the cooldown.
isGameStarted = Bit used as Bool.
ControlsEnabled = Bit used as Bool.
isGamePaused = Bit used as Bool.
(Unimplemented)EnemyPoolInitiated = Bit used as Bool.
NumberOfZombies = Int, max 25 zombies on screen at any point.