CROQ CITY, KIT 001 - AGE 9+

The first kit of the serie "Croq City" is "The Croquet-Project HeadOffice". (Croq City is in TeaLand, of course...). It's a "draft" of part of a project we are trying to create for the use of Croquet by kids (until now, unfortunately, we didn't have find an easy approach to present it) . You can have fun and learn something doing it.

Many pieces of this kit where downloaded in the previous lessons. Now you only need to download these 2 new pieces and the new image, to be glued to a basePlate70x3x70, showing part of the streets of the city.

tablePC4x2x2.ase - in the folder tablePC4x2x2

tablePC4x2x2a.jpg - in the subfolder Textures

tablePC4x2x2b.jpg - in the subfolder Textures

plate16x05x16.ase - in the folder plate16x05x16

plate16x05x16.jpg - in the subfolder Textures

street1.jpg - in any place, to create a new basePlate70x3x70

The complete kit has these pieces (and need to have the equivalent Classes) :

The total size of the files for the pieces of the kit is: 1547 kB.

IMPORTANT: The size of the files to be used in any Croquet space is VERY IMPORTANT! It depends, for the .ASE files, of the number of "polygons" (faces) that the piece has. The DMU-like pieces are of the type: "very-low-poly": only a few faces. The size of .TEA files created depends of the size of the .ASE files and this size will impact the download of the Remote Spaces to the machine of the internaut. In the "Basic Tutorial for Beginners we insisted to explain that "nodoby goes to the machine of nobody" when "goes" to a Remote Space. All the files of that space are downloaded by the internet. And "download time" is a BIG PROBLEM when we talk about 3D in the internet. Many softwares trying to create web3D (VRML, Macromedia Director3D, ADOBE Atmosphere etc.) were big disasters because the creators of 3D spaces like to model sophisticated sceneries having 10 MB or more. This volum of download is not viable until we have VERY FAST communication lines. The usual 56 kbps modem downloads aprox. 6 kBps! Try to be simple.

And, using modular pieces to create an space, you will reduce the download time, because a piece can be used many times (clones) in the space but will be downloaded only one time! Croquet has a chache for TEA files , like we saw in the previous course.

TIP: Remember to change the keyDown method of all the Classes you have - like explained in the previous lesson - for the creation of persistence of your space, to facilitate future changes.

In the minimalist LEGO style, look the instructions for the construction of our first set (needs Flash plugin) clicking the red arrow:

The ultimate positions+rotations of the pieces are transported to the method of the Private Class, to give persistence to the space. You need to do, also, a "big save" of the "Croquet image":

initializeDefaultSpace 

|space base lG wD1 wL1 wW1 tW1 tP1 pT1 cL1 |
"Create a new space"
space := TSpace new.
"Make a light"
self makeLight: space.
 
base:=BasePlateA70x3x70 new.
space addChild:base.

lG:=LegoicMS new.
space addChild:lG.  
lG translationX:  -1   y: 0.5 z: -34.
lG  rotationAroundY: 270.
  
pT1:=Plate16x05x16 new.
space addChild:pT1.  
pT1 translationX: 5   y: 7.5 z: -33.

wD1:=WallDoor12x7x1 new.
space addChild:wD1.  
wD1 translationX: 11 y: 3.5 z: -35.
wD1 rotationAroundY: 270.

wL1:=Wall12x7x1 new.
space addChild: wL1.  
wL1 translationX: -2.5 y: 4 z: -35. 
wL1 rotationAroundY: 90.

wW1:=WallWindow12x7x1 new.
space addChild:wW1.  
wW1 translationX: 4 y: 4.5 z: -41. 

tW1:=TransparentWallRound12x7x4 new.
space addChild: tW1.  
tW1 translationX: -2 y: 0.5 z: -25.5. 
  
tP1:=TablePC4x2x2 new.
space addChild:tP1.  
tP1 translationX: 3.5 y: 0.5 z: -31.5. 
tP1 rotationAroundY: 180.

cL1:=ColumnLogo4x6x4 new.
space addChild:cL1.  
cL1 translationX: 13 y: 0 z: -25.5. 
 
^space.

And some images (who is working in the Croquet HO?):

This first kit is a, virtual, naive, modest tribute from DMU to the main force of the Croquet Project:

Thanks, guys. Be pacient with us. We are trying to learn...




PREVIOUS LESSON NEXT LESSON
T. CONTENTS HOMEPAGE

DISCLAIMER: This material can be translated for any language, and reproduced total or partially by anybody using any type of media. But, please, don't put your name like author. And let me know if it was useful (americo@dmu.com).The use of any code, 3D model or technique published is free and doesn't need to have any reference about this source.The author is not responsible for any damage that the material can cause to your professional or sexual life.