2D APPLICATIONS INSIDE 3D - Part 2

After finish an application program (very simple here) you need to clean the window that is a work area but will be (cleaned) the "form" of the application.

To remove the two green windows of script click the buttons having : "O".

To save (a "litle save") the project, open again the "World window". Click in: save project on file and, in the yellow window, choose a name for it ("MyFirst", by example). Click: "OK" and, in the new window, click: Save.

At any time, doing the project you can do a "big save". Now is a good time to do it (World | save). Close Croquet and open the folder:

TIP: If there are a folder Squeaklets you can use "save on local disk only"

If you modify your project, when saved the new version will be 002.

Now, let's go to put our 2D application inside a 3D "island".

We will not see now the details of the Classes that create an "island". We will use the available "MPEG Demo (Master)" island. Open the window of the demos and clean it a little. Drag "MPEG Demo (Master)".

Let the pointer some seconds over the inferior part of the window with the "island": appears some icons. Click "Projects" and our "MyFirst" appears!

Dupleclick to create a window having the project inside.

Enlarge it. You can move and rotate the window. If the pointer is over it it will have more opacity. Click the "down arrow" to have the avatar in the best position in front of it.

Drag the "SimpleDemo(Master)" and open a Portal to the "Movie world".

If the avatar of "SimpleDemo(Master)" goes to "Movie world" will see the window of the project and can change the text.

Do a "big save" to mantain the situation of the "Movie world" with the project. We will talk about persistence in Croquet, soon.

You can go to the "Movie world" form any other island and will see the project modified.




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.