IMAGES AND THE PAINT 2D

Now that you know the integration "2D projects" and "3D models", it's time to talk a little more about 2D projects: the use of animations, the Paint etc. These 2D animations will be used for 3D animations sometimes.

If you need to put a 2D image inside a project, put it in the folder C:\Croquet_SDK_1.0_beta\Content\Textures. We will use at the first exercice of this lesson the image helicopter.bmp that came with the official download.

REMEMBER that, if the project having an image will be used by many people, inside a 3D island, at many different machines, they need to have a copy of the image at the same folder at their machines. Croquet IS NOT like a webbrowser that downloads images that are inside a webpage to the cache. May be in the future...

For the exercice open a new "morphic project". Drag a "File List" from the "Tools" of the "Green window". Find our file and click "open". The image will go to the page. It's a normal Squeak object having a halo. You can move it, change its size etc. Very easy.

And now we will talk about the "Paint".

You can drag a "Paint" from the "Green window". It will appear 2 main objects.

The first thing you need to do when begining to create 2D animations is to decide what will be your: "perspective":

We will choose the "side view" perspective here and your first exercice with Paint will be to design a truck in the page.

Try to design a truck having its body full of colors . After to do it, click in the button: "Keep". You will have now a new Squeak object, having a halo etc. like the other objects we have worked with, until now. A good idea is to change the name of the object designed, opening its Viewer.

When we open a "Paint" we are creating a new layer over the Squeak world. If you do: "Keep" or "Toss" you are abandoning this layer (saving or not your design).

Try to open (after the "Keep" of the truck), a new layer and design a ball, by example. Do "Keep". If you move the ball (use its halo) it will be OVER the truck.

TIP:There are many "halos" in the world. To open the halo of a designed object click using the central button of the mouse (or Alt + left button) OVER A LINE of the design. Not over space without color! You will see the name of the object in the halo.

If you like to reopen a layer to modify the design in it, use the button of the halo assigned in the figure:

Try to discover the other resources of the pallete designing many objects in many layers. Try to understand the idea of layers. Use "Toss" to abandon without save. Using "Keep" you are not saving the project, you are only saving a layer of your design. To save a project use the way you have learned in the previous lessons.


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.