OLPCities/Inside a house: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (AAA1 moved to OLPCities/Inside a house over redirect: revert)
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
[[Image:Tut8-1.jpg | left ]]
[[Image:Tut8-1.jpg | left ]]


Really a "house" is another web-page. It has a floor etc. like all the Lots.
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".
The link from the Lot and the house (and vice-versa) is made by a "shadow for collision".
Line 12: Line 12:


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

:[http://www.dmu.com/olpctut/tut7.html http://www.dmu.com/olpctut/tut7.html].


<center>PREVIOUS LESSON: [[OLPCities/Shooting in the bad guys|Shooting in the bad guys]]...........TOC :[[OLPCities/Tutorials|Tutorials]]..........NEXT LESSON : [[OLPCities/Mouse over and click|Mouse over and click]]</center>


[[Category:OLPCities Tutorials]]

<center>PREVIOUS LESSON: [[Shooting in the bad guys]]...........TOC :[[OLPCities Tutorials]]..........NEXT LESSON : [[Mouse over and click]]</center>

[[Category:OLPCities]]

Latest revision as of 20:11, 17 September 2009

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