Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: GameObjects/Snake/Snake-test.h
- Revision:
- 69:55e309da7efd
- Parent:
- 68:b9cfd27987ac
- Child:
- 70:7caab8069b9b
--- a/GameObjects/Snake/Snake-test.h Sat May 04 16:56:04 2019 +0000 +++ b/GameObjects/Snake/Snake-test.h Sat May 04 17:18:44 2019 +0000 @@ -11,7 +11,7 @@ // Create Snake object with a length of 15, and x axis speed of 2. Snake snake; snake.init(15, 2); - + // Set the position to WIDTH/2, HEIGHT - 3 Vector2D initial_pos = {WIDTH/2, HEIGHT - 3}; //Spawns player sprite near the middle of the screen.