Close Blender if you have not a super machine. We will open Croquet that is a "CPU eater".
12 - Opening Croquet, customized for BCG like we see in previous lesson, you see the System Browser. Open the method "initialize" of the Class HosterWorld
13 - Replace the lines:
| space floor |
floor := self makeFloor: space fileName: 'lawn.bmp'. floor extentX: 100 y:0.5 z: 100.by:
| space land |
land := (TLoad3DSMax new initializeWithFileName: (FileDirectory pathFromURI: 'Content/land0/land0.ase') scale: 1) frame. land boundsDepth: 3. land initBounds. land translationX: 0 y:-50 z:0. TQuadTree new initializeWithSpace: space frame: land.
14 - Do an "accept" for this new code of the method.
15 - Use the Workspace" having the starter for the Hoster to open it, like we did in previous lesson.
NOTE OF THE BETA VERSION: The avatar will "shake" too much because we put the new floor (now is "land") in the Y coordinate -50. He is going down, "landing". We will explain this bug(?) soon.
WOW!!! After these 15 steps you have your first island created with Blender!!!
If you open the Navigator you can create a Portal to the Hoster.
After many "shakes" - the rabbit is landing - you can see the other avatar.
NOTE OF THE BETA VERSION: The textures of the island "visited" have some problems. But if you open 2 different images, the textures are OK:
IMPORTANT to remember that for other machine (or another image in the same machine) to have access to your island it needs to have all the Classes you have created for your island appearing at his System Browser (read the lesson "Receiving Classes" , and all the .ASE files and .JPG files in the Content folder and .PR files in the Squeaklets folder - but not only this: they need to be loaded and salved (a "big save" of the image).
Close your islands and save (big save) and quit. Congratulations. In the next lessons we will create more fascinating islands, having objects.
IMPORTANT too: DO NOT Save ("big Save") Croquet having any island over!!! DO NOT close the Hoster first. It's logic. The system will crash. Better to return the visitor to his island. You need to create a new Portal at the Navigator. This Portal will be a mirror for the other avatar at the Hoster. He can't go to the Navigator. It's logic too.
PREVIOUS LESSON NEXT LESSON T. CONTENTS HOMEPAGE