Closed BlackGoku36 closed 8 months ago
I tried to use lewis lepton's racoon library tweening and it work good. But then where should I put the tweening code? In it own file(e.g: tween.hx) or put everything in canvas.hx
Ideally the tweening would run on iron/Tween (example) for consistency with iron/armory. But that is not accessible right now either. Maybe it's time to tie armory2d directly with iron/armory repositories, and stop being a pure kha library?
That would be cool! And btw, what do you mean by tie armory2d directly with iron/armory repositories
? like having armory2d as source code in iron/armory3d and run Armory2d from armory like Krom player?
I would personally prefer armory2d be a kha library. The reasoning is armory2d could be used for UI design with zui if it remains untied to armory3d.
I am also biased as I would find armory2d to be a good solution to use with foundry2d(2d game engine). I think a better way would maybe be to make a generalized Tweening library for kha based projects ?
That way we could use the same code base across Kha based FOSS projects/engines. Like for foundry I use the same concept as armory for scripting with Traits and I also use almost the same Input class. If we could generalize a subset of core concepts used in armory/iron I think we could make a viable and extendable eco-system.
Anyways, just my take.
I am starting to add animation for canvas elements, I am adding something like this:
@luboslenco Should i use other existing tweening library for this? or should I create small one?
keep this open, till I implement it