User Tools

Site Tools


en:tutorials:frame

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
en:tutorials:frame [2018/06/21 13:02 (22 months ago)]
sausage
en:tutorials:frame [2018/06/21 17:14 (22 months ago)] (current)
Line 1: Line 1:
-====== Transformations ​tutorial ​======+====== ​Object ​Transformations ======
  
 ===== Summary ===== ===== Summary =====
  
-See previous ​[[main_previous#​Basic|basic tutorials]] for more info about [[object|basic object creation]] and [[clock|clock handling]].+See previous basic tutorials for more info about [[object|basic object creation]] and [[clock|clock handling]].
  
 All objects'​ positions, scales and rotations are stored in ''​orxFRAME''​ structures.\\ All objects'​ positions, scales and rotations are stored in ''​orxFRAME''​ structures.\\
Line 9: Line 9:
  
 In this tutorial, we have four objects that we link to a common parent ((an empty object, with no visual)) and a fifth one which has no parent.\\ In this tutorial, we have four objects that we link to a common parent ((an empty object, with no visual)) and a fifth one which has no parent.\\
-The first two children are implicitely ​created using the object'​s config property ''​ChildList''​ whereas the two others are created and linked in code (for didactic purposes).\\+The first two children are implicitly ​created using the object'​s config property ''​ChildList''​ whereas the two others are created and linked in code (for didactic purposes).\\
 The invisible parent object will follow the mouse cursor. Left shift and left control keys will respectively scale up and down the parent object, where as left and right clicks will apply a rotation to it.\\ The invisible parent object will follow the mouse cursor. Left shift and left control keys will respectively scale up and down the parent object, where as left and right clicks will apply a rotation to it.\\
 All these transformations will affect its four children. All these transformations will affect its four children.
Line 17: Line 17:
 ===== Details ===== ===== Details =====
  
-As with the [[main_previous#​Basic|previous tutorials]], we begin by creating a viewport.+As with the previous tutorials, we begin by creating a viewport.
  
 <code c>​orxViewport_CreateFromConfig("​Viewport"​);</​code>​ <code c>​orxViewport_CreateFromConfig("​Viewport"​);</​code>​
en/tutorials/frame.1529586150.txt.gz · Last modified: 2018/06/21 16:02 (22 months ago) (external edit)