I'm afraid Palace is very basic when it comes to animation,
These are the limitations:
-you need to make every frame by hand
-you only have 15 frames per door.
So for a simple animation with 10 frames its not to complicated.
Make 10 pictures that together make an animation, looping or whatever. Put them all in a single door and add a animation script to make the pictures change.
Here are two example scripts for animation, one starts by clicking on the door you made, the other starts when you enter.:
Start by Clicking:
Code:
;script to turn animation off and on by clicking on the spot:
ON SELECT { stat GLOBAL 1 stat - stat = < BR > 1 ME SETALARM }
ON ALARM { stat GLOBAL
{ 6 pics = ;change 6 to the number of pictures you have< BR > ME GETSPOTSTATE 1 + DUP pics / pics * -
ME SETSPOTSTATELOCAL
30 ME SETALARM
;make 30 higher to slow down, lower to speed up
} stat IF
}
Start by entering the room:
Code:
;Simplest animation script by Foxy
ON ENTER { 1 ME SETALARM }
ON ALARM {
6 pics = ;change 6 to the number of pictures you have
ME GETSPOTSTATE 1 + DUP pics / pics * -
;make 30 higher to slow down, lower to speed up
ME SETSPOTSTATELOCAL
30 ME SETALARM
}