-
Notifications
You must be signed in to change notification settings - Fork 9
Scripts
Nate River edited this page Jun 24, 2025
·
14 revisions
Scripts are sets of instructions used to create interactive animations. For example, you can create clickable buttons and assign actions for them.
Scripts work only inside Pixel Studio and Pixel Network starting from the version 5.30. You can't export scripts to GIF and other image formats, except PSP/PSX.
Well, you can create funny things and publish them on Pixel Network.
As scripts are attached to layers unique for each frame, they are supported in Simple Template only.
- Open
Layerstoolbar - Select a layer
- Open
Layermenu - Press
Script manager - Create a new script with
Script builder
-
Triggerdefines how the script is executed-
Scriptis executed autmatically when the animation reaches the selected frame -
Buttonis executed when the button is pressed (the button rect is calculated from the current layer as containing pixels)
-
-
Actiondefines what happens when the script is executed-
StopAnimation: stop the animation (can be used to stop the animation to allow users to press buttons) -
JumpToFrame: resume the animation from the desired frame (can be used to move across the animation and create independent loops) -
PlayAudio: play an audio clip from Sound Library -
PlayAudioFromInternet: download an audio clip from URL and play -
StopAudio: stop all audio playing -
Vibrate: vibrate (when supported) -
ShowMessage: show a text message
-
-
Parameterdefines a factor for actions likeframe indexorsound name
- Press Menu / Preview
- Preview when uploading to Pixel Network
Playing animations from Animation panel runs them as usually, with no scripts.
Create your own story, dialogs, comics, games, or maybe piano players and DJ desks =)
- Layers containing scripts are marked with the green
</>label - If a layer contains scripts, you can open
Script Managerjust by pressing layer's name