-
Notifications
You must be signed in to change notification settings - Fork 0
Game Logic
The tower consists of an amount wooden Jenga blocks. You have to try to pull out one of the blocks and put it on the top of the tower in the right angle. After that it is the next players turn. The first player who doesn´t manage to put a brick on top because the tower falls loses the game.
The game can be played with keyboard and Fly-Stick. You can use the Fly-Stick or Fly-Stick Simulator to grab or push bricks out of the jenga tower. After placing the brick in the correct angle (+/- 30°) you can change the player with "o". If the tower falls while your turn you lose and your score increases.
Script InteractableItem: Collision detection of bricks with ground. If one brick except the first row and the brick you selected touches the ground you lose.
Script TopBlockPlacer: Calculates the angle of you placed brick. Only in correct angle you can change Player (+/- 30°).
Script TowerInteractivity:
- Function select(): selects the first brick you want to select and highlights it with green colour. You can´t choose another one.
- Function deselect(): deselects the selected brick. Only called when changing the player.
- Function changeRow(): changes the row of the selected brick to the top one. If the top row has already 3 bricks it adds one Row to the tower.
- Function NrOfPlayers(): returns number of players.
- Function GetHeight(): returns the current height of the tower.
General
Our Team
Quick start
The CAVE
Synchronization
Concept
Input
Time
Physics
Collision & Trigger
Particles
GUI
Animations
ConfigTool
Import Config-File
Add/remove Computers
Deploy/Update/Start project
Configuration
Deployment process
The Configuration-File
VRPN config
Projection
Interpupillary distance
Jenga VR in Unity
Sounds & Music
Game-Logic
Main Menu
Radial Menu
Flystick
Flystick Simulator
Info-Screen
Driving Simulation
Steering Wheel Integration
Source Collection
Stereoscopy
Unity Cluster Package
Networking