Panthera 0.8 Release
Hello! Here is the update for Panthera Editor. I’m using it pretty often, so I adjust several stuff to work with it in more comfortable way.
So, here is rough changelog:
-
Animations! Now we able to create several animations for one node setup in the Editor. On export, different animations will be exported in different functions. The exported code API slightly changed:
-
Animation.create(nodes, options, is_skip_autoplay)
. In options you able to define default animation. By default it is “default” . Theis_skip_autoplay
says don’t play animation at start. -
Animation.play(animation, options)
. Now you able to override default options, pointed on creation. This options is:animation_id
,speed
,is_loop
,is_relative
,is_skip_init
,callback
andcallback_event
. - The
is_skip_init
flag is required to don’t setup node initial state on animation start. It can be useful to escape the sharp transitions between animations. - Panthera project format was changed, but there is migration and all should be ok.
-
-
Code Export! The HTML export was improved. Now it can remember your last save path. And more important feature is Copy Export
- Copy Export allows you copy animation code directly from Panthera Editor. It also can speed up your animation setup workflow, since it’s just copy & paste
- Two buttons on status bar with Copy Export and Export to allows you don’t open the project window to do export
-
More node setup! I’ve added the
blend mode
andis enabled
to node settings. Blend mode was required for me to better adjust animations for lights and other types of particles. Withis enabled
you can setup initial node state without spawn trigger key at animation start. -
Hotkeys changed! Now hotkeys assigned mostly to
SHIFT + (X)
due the HTML version. It should work better now - Undo/Redo! Still disabled . Since it not very critical for me, but sometime!
- JSON Project Export! Now include every used image, so you can easily share animation project between your computers or even with your teammates (also in VCS too?)
Link as always on GitHub
Have a good day