SQUEAK MEETS ZELDA - STEP 1

At the Cosumer Electronic Show 84, Nitendo launched a new type of perspective for games. Its game: "Legend of Zelda" had more than 1 millon buyers in the first year and 2 in the second. It's now a classic. The movement (step) of Zelda is based in the animation of 2 designs for each of 4 "points of view" : left, right, front, back:

We will try to recreate, using Squeak, this perspective, interactivity and movements for the creation of games.

In the previous lesson we saw how to make a script for animations.

The first surprise now: we don't need a Playfield! We will not use it to facilitate the collision detection.

We will make the character (the copy we did from the Holder, but not really inside a Playfield) move to the left (to "walk left"). So: we need to open its halo and the "arrow of forward direction" will appear. Drag its direction to left.

In the demo we have created a button to start and stop the movement + animation. To pause the animation when we stop the movement we set the start of the program to: "mouseUp".

Play with the demo. We will do, in the next lessons, the other movements of the character.




PREVIOUS LESSON NEXT LESSON
T. CONTENTS HOMEPAGE