Help with your scripting

Animation events and frames

Animation events and frames

Postby SpiderMack » 29 Sep 2017, 18:09

Hi,

Some very usefull feature is animation events and frame , that allow to :
- check if one animation has finished playing, for example a function name as parameter that can be called in script
- get between frames the animation is playing
- place some event in some frame in the editor and some function name, this will be available in script as callback function


Animation callback and getting the frames where is the animation playing are the most usefull.
While having in editor ability to place frame callback functions, is lot more work and not necessary if we have the ability to get the frames where is the animation playing or some callback once animation is finished playing.

I think this will decrease the amount of code and will not need to use timers and approximations, while making code shorter and more clear.
Last edited by SpiderMack on 29 Sep 2017, 18:14, edited 1 time in total.
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: Animation events and frames

Postby StarFire » 29 Sep 2017, 18:13

We agree as animation events are already planned. If we get a chance these will get in for the V1 release. We will see what we can do.
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Animation events and frames

Postby SpiderMack » 29 Sep 2017, 18:15

StarFire wrote:We agree as animation events are already planned. If we get a chance these will get in for the V1 release. We will see what we can do.



Yes, do not bring V1 before getting at least this essential feature (frame position or animation callback) :D
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 15 guests