
Now that you know some basics about how to do Squeak programming we will begin to talk about interactive 2D. There are many games yet beeing done using 2D.
The first thing you need to do when begining to create a 2D game is to decide what will be your: "perspective":
Imagine that we will choose the "side view" perspective and your first exercice will be to design a truck in the Squeak world.
Squeak is not "Photoshop" but has many resources for design. Opening the "Navigator" if you click in the icon of a brush you will open a new palette having some tools for design.
Try to design a truck (view side) having its body full of colors (not like ours). 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 "design palette" 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 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. 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 using this project to 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
