Fidooop Posted March 16, 2015 Share Posted March 16, 2015 As you can see in the above picture the animator made all the animations in different entities... I have absolutely no clue how to call them with the PlayAnimation command! Got any ideas? because I REALLY do not want to go through 5 hours of work to move them all into 1 entity just because spriter doesn't know how to copy/move an animation! Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/ Share on other sites More sharing options...
Kzisor Posted March 16, 2015 Share Posted March 16, 2015 @Fidooop, you need to change the Bank of the AnimState to the entities name. Then you will be able to play the animation you want from that entity. Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/#findComment-622089 Share on other sites More sharing options...
Fidooop Posted March 16, 2015 Author Share Posted March 16, 2015 @Fidooop, you need to change the Bank of the AnimState to the entities name. Then you will be able to play the animation you want from that entity. so I need to constantly change the bank? will that work? o.0 Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/#findComment-622090 Share on other sites More sharing options...
Kzisor Posted March 16, 2015 Share Posted March 16, 2015 @Fidooop, yup that's how that works. Entity name is the bank and build names, folder name is the symbol, and animation name is the animation name. Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/#findComment-622092 Share on other sites More sharing options...
Fidooop Posted March 16, 2015 Author Share Posted March 16, 2015 (edited) I have an other problem... the images are so large that it's putting it into 6 different atlases which is causing it to only use 1 atlas and everything is bugging out :C please tell me there's a way to fix this without having to redo all of the animations... D:or that there's a way to resize the images without messing up the animations :L do you know how to fix that @Kzisor? Edited March 16, 2015 by Fidooop Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/#findComment-622094 Share on other sites More sharing options...
Kzisor Posted March 16, 2015 Share Posted March 16, 2015 I have an other problem... the images are so large that it's putting it into 6 different atlases which is causing it to only use 1 atlas and everything is bugging out :C please tell me there's a way to fix this without having to redo all of the animations... D:or that there's a way to resize the images without messing up the animations :L do you know how to fix that @Kzisor? The amount of atlas files should have no bearing on the size of the animations. You could scale the animation size down, but it would require redoing the animations. Either way it's probably your best bet to redo the animations. Link to comment https://forums.kleientertainment.com/forums/topic/52083-how-to-call-animations-from-separate-entities/#findComment-622098 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now