Controller Concept
The controller itself is designed to look like the level from Temple Run so it feels like you are moving the character on the path itself. The larger part of the controller will house the mechanisms under the path that the player would run on. The small figure is essentially your joystick, you would move the character above each of the input areas and lift the figure to jump. The full controls are as follows:
- 1 - Photoresistor: Move Left
- 2 - Distance Sensor: Jump
- 3 - Photoresistor: Move Right
- 4 - Photoresistor: Slide
- 5 - Button: Start Game
To activate the photoresistors, you would hover the character figure over it to block the light. The distance sensor will detect if the figure is at a certain distance, so when you lift the figure, it will jump. This controller is meant to be immersive to the game itself, looking like you are moving the character through the level in real life.
3D Concept
Pseudo Code
p1 = First Photoresistorp2 = Second Photoresistorp3 = Third Photoresistords_distance = The current tracked distance detected by the distance sensorstartButton = The start buttonIF p1 light level == 0Move leftIF ds_distance > distance needed to lift figure
Jump
IF p2 light level == 0
Move right
IF p3 light level == 0SlideOn Pressed startButtonPress Space (start game)

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.