OLPCities/Using 3D objects

From OLPC
< OLPCities
Revision as of 19:51, 21 September 2006 by Adamascj (talk | contribs)
Jump to navigation Jump to search

You can find "3D objects" at our Inventory. The link is: 3D objects.

You can use one of them or create a new . Remember to put it available for everybody.

A "3D object" is created using 3 sprites.

Tut3-1.jpg

Only that using the image having the sufix "S" ("shadow for collision" or only "shadow") is "hard". And they have different levels of "Z". So, the avatar will go over that with the image having sufix "D" (down) and behind that of the sufix "U" (up).

At this lesson we will add a 3D object (this bonfire) to the Lot of the previous. We will use (take a look) elements of the Classes:

We will make some comentaries about the code of the page: