blackant Posted August 22, 2015 Report Share Posted August 22, 2015 Hello, while making some spécial animations, when sprites can appear or disappear, i would like to know how i can can the frame to reference it into construct ? Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted August 22, 2015 Report Share Posted August 22, 2015 To my knowledge you would go my the number of the frame. You'd have to count them in Spriter I think...likely starting from zero. There's no way to name key-frames in Spriter. It sounds like you should be using "Triggers" In the Spriter object in C2, you'd use the event "on event triggered" and type the name of the event trigger you created in Spriter. Cheers Quote Link to comment Share on other sites More sharing options...
blackant Posted August 22, 2015 Author Report Share Posted August 22, 2015 it's completly different the way the frame are computed in spriter are in milliseconds, right? i made a test, and by chance i succesfully get my frame by dividing by 100 compared to spriter frame number so a frame at 1000 in spriter looks to be in frame 10 in construct. maybe just a luck on this spot ^^ Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted August 22, 2015 Report Share Posted August 22, 2015 What you are referring to in Spriter are not frames, they are fractions of a second for timing... specifically, thousandths of a second. 1000 is equal to one full second. Spriter animations are not divided into frames, they are divided into actual units of time... Whatever platform is playing back the Spriter animation should play them back at the best/smoothest FPS it can handle, but the timing should remain the same... 500 in Spriter is 500 milliseconds, in other words, one half of one second. Quote Link to comment Share on other sites More sharing options...
blackant Posted August 22, 2015 Author Report Share Posted August 22, 2015 ok i understand now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.