THE MAZE OF GALIOUS 2 - EDITOR
31-12-2002
The last screen shots of the year!!!
I've started the code for managing ACTION SCRIPTS, that will allow you to
edit the behavior of the objects and enemies in the game. I've just included
the enough script instructions to add a simple HORIZONTAL LEVER, here you
can see the lever: (notice the nice shadow casted by it, and also notice
that there are ladders now, and Popolon can climb them now!)
Here you see how the OBJECT EDITOR screen has changed to include the ACTION
SCRIPTS. Notice the ADD STATE and SUB STATE buttons, wher you can add and
remove states from objects. For each state, you can specify an ACTION SCRIPT
and an ANIMATION SCRIPT. The action script defines the behavior of the object,
and the animation script is the graphic animation that the object will
have in each state.
Finally, I include here a shot of the ACTION SCRIPT editor. The script you
see is the one corresponding to the "moving right" state of an horizontal
lever. It can look quite complicate, but it isn't: notice that it says: "While
the obejct is inside a room and not have collided, move it to the right.
Otherwise go to state 0". Isn't it simple?
Well, nothing else for this year! Happy 2003!!!!!