INFO:DLIB: Log server started on port 53029
INFO:ENGINE: Engine service started on port 8001
INFO:ENGINE: Defold Engine 1.2.162 (e07f3bb)
INFO:ENGINE: Loading data from: dmanif:/Users/joshrackstraw/Downloads/animator_0.2/Animator.app/Contents/Resources/game.dmanifest
INFO:ENGINE: Initialised sound device ādefaultā
ERROR:SCRIPT: main/dialogs.lua:5: dlopen(native_libs/nfd, 5): image not found
stack traceback:
[C]: in function āloadā
main/dialogs.lua:5: in main chunk
[C]: in function ārequireā
main/main.gui_script:3: in main chunk
WARNING:RESOURCE: Unable to create resource: /main/main.gui_scriptc
WARNING:RESOURCE: Unable to create resource: /main/main.guic
WARNING:RESOURCE: Unable to create resource: /main/main_generated_1.goc
ERROR:GAMEOBJECT: Could not instantiate game object from prototype /main/main_generated_1.goc.
WARNING:RESOURCE: Unable to create resource: /main/main.collectionc
logout
Saving sessionā¦
ā¦copying shared historyā¦
ā¦saving historyā¦truncating history filesā¦
ā¦completed.
Deleting expired sessionsā¦109 completed.
[Process completed]
Ahhhh, right! Now I remember, I had to do some hack to get dynamic images to load. Let me see if I remember what I actually did.
Managed to remember what I did last time, actually wrote a thing about it apparently. (http://svenandersson.se/2016/loading-dynamic-libraries-from-inside-macos-app-folder.html)
Fixed version: animator_0.2.1.zip (2.4 MB)
Okay, I canāt get this one to work either. And you know what? Iām going to have to make this myself (unless sven can make it open source )
Key features:
Ability to animate tint, scale, euler, position using keyframes along a timeline.
I think thatās it. Even if I have to import images myself in the editor and get the animations out via debug everytime i want to do this, itās still going to be useful for me.
Release the source, Sven. We will fix it. The Collective has spoken.
My efforts are not going badly! I have timelines and I can select different objects and different points on the time line. I also have a play button.
the only downside is that I have no idea how to actually do the animations once the play button is pressed. My idea is that for each attribute to animate (i.e. āposition.xā to create a table with
- the object,
- the attribute,
- a nested table with the keyframes and target values
{
"gui.get_node(āobject1ā), āposition.xā, {0 = 0, 0.5 = 0, 1 = 20}
}
the target animation here would be the position.x waiting for the first half of the animation, then sliding to 20 during the second half. And aside from actually doing the animation, Iād also like to print something like gui.animate(āobject1āā¦) in the debug. And even then i wonāt be able to do automatic easing.
Any help?
okay got it! like in Svenās example, itās chained animations using callbacks! and that means you CAN do easing! okay WE DONāT NEED THE SOURCE CODE ANYMORE, IāM GONNA MAKE THE SOURCE CODE MYSELF
edit: I DONāT KNOW HOW TO DYNAMICALLY CREATE FUNCTIONS CAN ANYONE HELP
edit: OKAY I THINK I CAN USE A GENERIC FUNCTION AND A COUNTER AND MSG.POST()
Maybe you could push your project on Github so we can help developing it?
P.S. I wish there could be more hackathon days in Defold team! Maybe even we can prepare something like that, in community? What do you think?
I second this!
I only inflict my amateur coding on others when itās completely necessary
But seriously, i have written about 200 lines of code that currently donāt work and I have only created a system of timelines and keyframe markers, which are not currently connected to anything. Anyone else could easily create something that works much better and much quicker.
When I have an absolute minimum prototype, I will share it.
Goddamn, I was going to say āfudge itā and just release the source, but I canāt find it anymoreā¦ Upgraded my workstation at work recently, I think a lot of small hobby stuff got lost, but I thought I had this one on github. Iāll check again on my personal computer later.
But then again, the code was probably super hacky, might as well do it from scratch as @88.josh is doing.
Just stick it in Defold Editor 2.5
I honestly think an animator would beā¦ a whole other program other than defold. But even if it was just a visual tool that could import images and animate scale in two dimensions, position, transparency, with some looping, and bones/joints it would be incredibly powerful and useful (specifically, for me. hahahah)
Anyway, I still feel motivated to work on this, although, I have to say that I think almost anyone else could do it better than me. Really, I am not a good coder and this project is really beyond me, i think thatās already been proven. Also, I have lots of other projects that I should be working on nowā¦ I actually got a new job this week after being unemployed for a month and a half due to coronavirus pressures, and I also just got a sweet contract for my last game, Malas Decisionesā¦
But after having said all that, the important thing is obviously that I feel like doing it, so Iām pretty sure I will continue to work on this
Well, Defold already has the ability to use custom easing curves in go.animate. Having a way to create those in the editor (considering there is already a graph editor for particles) would be a big plus.
Also there is so much you can do for GUIs and, for example, hierarchy of objects.
No need for a spine replacement, but as an artist first, I like some things to be more visual.
I completely agree that adding a graphic-based animation tool would be an INCREDIBLE time saver. It would really be fantastic (hey, thatās why Iām trying to build one!). And youāre right, with object heirarchies you can already do so muchā¦
Okay, I really really am going to try my hardest to make this
If we ever get away to create gui elements and access to a collections hierarchy I can see this being possible to do in an editor script in the future
Some kind of general timeline event track with key interpolation inside of the editor would be a welcome addition. It would have a ton of uses and would be able to help designers more easily polish animations for certain kinds of in game behaviors.
Also, if we talking about creating animation tool as separate Defold project (not by editor extension), it is good idea to use Druid
We can look, which basic or custom GUI components have to be implemented to create software tool like this one
guys youāre putting a lot of pressure on me here
But Iām going to do this because I made this video recently using some defold animation stuff and it would have been a lot easier with a graphic interface for animating.
No pressure at all, sorry if you felt like that! Amazing animation!