OLPCities/Inside a house

From OLPC
< OLPCities
Revision as of 00:06, 14 February 2007 by Jacobolus (talk | contribs)
Jump to navigation Jump to search

The previous lesson was not so easy. This will be very simple. It's only to say that we can go, when we are at a Lot, inside a house. And return.

Tut8-1.jpg

Really a "house" is only another web-page. It has a floor etc. like all the Lots.

The link from the Lot and the house (and vice-versa) is made by a "shadow for collision".

We need to set the cookie "entryt" to know the positioning of the avatar like at any other link.


Look and try to go in and out of the house at the demo: http://www.dmu.com/olpctut/tut7.html.



PREVIOUS LESSON: Shooting in the bad guys...........TOC :Tutorials..........NEXT LESSON : Mouse over and click