Here’s my game for Section 3
It’s an Infinite Scrolling game , something like Subway Surfers
Controls
- WASD or arrow keys for navigation
- Space for Primary Boost
Primary Boost
- Speed x2 / Navigation x1.5
- Lasts 0.5 secs
- Cooldown 0.5 sec
- Cannot be stacked
( If you leave space before 0.5 secs it stops with the cooldown added)
PowerUp Boost ( Pickup )
- Lasts 5 seconds
- Speed x3 / Navigation x1.75
- Primary Boost disabled when active
- Puts a cooldown of 1 sec on normal boost on completion
- Can be stacked
As you progress your speed increases
Every time you hit and obstacle your speed gets reduced to base speed
Basic Working
- There are two blocks which cycle back to start every round to create an infinite effect
- Each block prefab has 12 oscillators of which 6 get choosen ever round
- Each oscillator can choose to position itself to block the user in their path
And adjust its period to hit the user ( bound by some constraints)
Here’s how it looks
The gizmo shows the postion of the user