Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_small_pressure_based_game_tutorial [14-10-2016 10:45]
5.199.151.152
a_small_pressure_based_game_tutorial [24-11-2016 10:22]
185.48.102.187
Line 5: Line 5:
  
 Keep in mind that this tutorial uses a very basic and simplefied example of how to make a game by only using the pressure function of the Pillo. Keep in mind that this tutorial uses a very basic and simplefied example of how to make a game by only using the pressure function of the Pillo.
 +
 +Click {{ :​pressuretest.rar |here}} if you want to download this unity project.
  
 ---- ----
Line 13: Line 15:
   - Make a new Unity 2D project and import the PDK package. If you don't have the PDK yet you can download it   ​[[http://​developer.pillogames.com/​download/​PilloDeveloperKit_3.1.0_win.rar |here ]].   - Make a new Unity 2D project and import the PDK package. If you don't have the PDK yet you can download it   ​[[http://​developer.pillogames.com/​download/​PilloDeveloperKit_3.1.0_win.rar |here ]].
   - Add the PilloController prefab to your project'​s hierarchy (The prefab can be found in Pillo > _Core > Prefabs). This GameObject has a script attached to it and **without this script you cannot use any of the Pillo functions!**   - Add the PilloController prefab to your project'​s hierarchy (The prefab can be found in Pillo > _Core > Prefabs). This GameObject has a script attached to it and **without this script you cannot use any of the Pillo functions!**
-  - For the sake of this tutorial I have created the following objects: Player, Ground, GameMaster, Canvas with slider and text. It is up to you what style and position these objects get in the game. //(see image 1).//+  - For this tutorial I have created the following objects: Player, Ground, GameMaster, Canvas with slider and text. It is up to you what style and position these objects get in the game. //(see image 1).//
   * Player: The blue sprite that will float up and down with the pressure value. ​   * Player: The blue sprite that will float up and down with the pressure value. ​
   * Ground: The Player and Ground objects have both a collider and 2D rigidbody. The ground is the only object with a kinematic Rigidbody.   * Ground: The Player and Ground objects have both a collider and 2D rigidbody. The ground is the only object with a kinematic Rigidbody.