Skip to content

exporting data from pixelorama (en)

nklbdev edited this page Aug 1, 2023 · 2 revisions

About importing data from Pixelorama

en ru

Logo

Pixelorama is a pixel art editor built on the Godot engine. A great example of how Godot can be used not only as a game engine, but also as a desktop application development tool. This software is open source and licensed under the MIT license. The repository is on GitHub.

Pixelorama out of the box allows you to use:

  • Layers
  • Timeline (table of frames and layers)
  • Tags on the timeline, indicating sections of individual animations
  • Editable palettes
  • Tools assigned to the left and right mouse buttons
  • And much more

<p-align="center"> Screenshot

Pixelorama timeline tags are used to export a series of animations from a Pixelorama document (*.pxo). Unfortunately, they cannot separately specify the playback direction and the number of animation repetitions. Therefore, to specify these parameters, use the suffixes added at the end of the tag name:

<animation_name> [-d:<direction>] [-r:<repeat_count>]

Where:

  • direction - animation direction. Possible values:
    • f (forward) - forward (default)
    • r (reverse) - back
    • pp (ping-pong) - forward and then back
    • ppr (ping-pong reverse) - first back and then forward
  • repeat_count - the number of repetitions of the animation (default 1). If 0 is specified, the animation will loop indefinitely.

For example:

Idle -r:0
Run -r:0
Jump
Crouch
Hurt
Die
Special -d:pp -r:0

<p-align="center"> Screenshot

Clone this wiki locally