Hi Greg/All,
I am new to TNT Animator Studio.
I am tried with all its properties and methods. Its awesome... But my worry is i just want a property of (currentFrameNumber) option to be enabled and also i am not getting how to use the Events. I tried the example 2 but my Event is not triggered as well the animation is not stopping in the End. Please can you give me clear vision how to deal with stop animation and Events .. It will be really helpful for me to complete my project.
With regards,
DoradoLab
Comments
I just checked and they work
here is the small example on how to use them:
Thanks
DoradoLab
I have tried it's working and got to know what was my mistake. I should have been used Timer to stop animation. So now from your example i got to know it. But the problem is i am not getting how to adjust it to my number of frames exactly to stop it...
Do you have any method to calculate the total time for the required frame to play and stop it after that time slab.
Please reply ...
Thanks and Regards,
DoradoLab
Additionally I think you could mark specific frame as stop frame in TNT Animator Studio, which should also cause the animation to stop on that specific frame
"function CTNTAnimator:getCurrentFrame()"
and/or with editor you can mark a frame with "stop" property and event will be raised on that frame...
just like in example 5
www.tntengine.com
Now examples work!
Hey guys! I'm trying TNT animator studio now. For some reason I can't make any of the old examples work.
gproj-file from this post: http://giderosmobile.com/forum/discussion/comment/35539/#Comment_35539
I'm getting error:main.lua is uploading.
Uploading finished.
error loading module 'tntanimator32' from file '.\tntanimator32.lua':
.\tntanimator32.lua: bad code in precompiled chunk
stack traceback:
main.lua:6: in main chunk
How to make it work? Can somebody share a quick basic gproj example that actually works?
THX!
(i guess something is broken inside encrypted tntanimator64.lua file?)
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)