TECHNICAL RESEARCH
Game Mechanics
-Button mashing
-One-directional running with jumping and ducking
-Obstacles that reduce speed if collide
-Chaser (grim reaper)
Technical Theories
Button Mashing
>https://answers.unity.com/questions/881920/simple-2-button-mash-script.html
- Adding an interval between two buttons to be able to press.
- The buttons for mashing ranging from 5 buttons (YOUNG AGE) to 1 button (SENIOR AGE) to create difficulty and limits the mashing capability.
One-directional running with jumping and ducking
>https://docs.unity3d.com/ScriptReference/BoxCollider-size.html
- Add a velocity force minimum 40 for example to max 200.
- Add force whenever mashing is present
- "UpArrow" to jump. Add y-axis force and gravity
- "DownArrow" to duck. Flatten the collider
Obstacles
- Deduct the total velocity by 50 for example
- Player colliding with the front of the obstacle will only deduct the character's speed
Chaser
- Create a constant force that's faster than the character's minimum speed
- A wall that collides the player if player didn't run fast enough
- Collide = Lose / Diff. Path> Death / Ending
Comments
Post a Comment