Aiden9 Posted June 21, 2020 Share Posted June 21, 2020 Hey, Â I want to add a feature to my game : Â If it's possible i want 3 animation sprite, and then when player is attacking it's display 1 of the 3 animation possible. Â I can pay if someone can do this. Â Â Engelion 1 Link to comment Share on other sites More sharing options...
0 Hiai Posted June 27, 2021 Share Posted June 27, 2021 I would like to add another attack animation to my project aswell, so when player attacks there is 3 animations and they cast randomly, so everytime you click attack its a different attack anumation. Â Anyone would like to help us with that? Link to comment Share on other sites More sharing options...
0 OniSensei Posted July 4, 2021 Share Posted July 4, 2021 This is a fairly simple modification, what source version are you using? Link to comment Share on other sites More sharing options...
0 Blinkuz Posted July 5, 2021 Share Posted July 5, 2021 7 hours ago, OniSensei said: This is a fairly simple modification, what source version are you using? Im Try to do it and leave the code in half, mainly because I noticed a small problem generating the random number although I am not sure if it was because of that or because of a very strange delay when making the animation change. Link to comment Share on other sites More sharing options...
0 Arufonsu Posted August 19, 2021 Share Posted August 19, 2021 I would share a patch with the whole thing, but i can't tell if Intersect's static timer for attacks isn't properly working or its something else when i randomize the sprite animations. Nvm, made a workaround for it ~ Link to comment Share on other sites More sharing options...
0 Cheshire Posted August 19, 2021 Share Posted August 19, 2021 Isn't that rng switching every time it tries to update and render a frame? You'd have to determine it once and let the animation run its course then pick another for the next go. Link to comment Share on other sites More sharing options...
0 Arufonsu Posted August 19, 2021 Share Posted August 19, 2021 On 8/19/2021 at 4:32 AM, Cheshire said: Isn't that rng switching every time it tries to update and render a frame? You'd have to determine it once and let the animation run its course then pick another for the next go. yeah, it was just quick approach tho realized that i was updating the rng on every frame, which caused the endless switching, ended up doing it differently, thanks for the suggestion!@Aiden9 @Hiai , i've made a patch for this specific feature request (based in the latest Dev Branch as today)  EDIT: Got no feedback for a while, removed the patch. This question should be closed.  Link to comment Share on other sites More sharing options...
-1 Aiden9 Posted July 5, 2021 Author Share Posted July 5, 2021 i will post 2 attack animation if u want soon Link to comment Share on other sites More sharing options...
Question
Aiden9
Hey,
Â
I want to add a feature to my game :
Â
If it's possible i want 3 animation sprite, and then when player is attacking it's display 1 of the 3 animation possible.
Â
I can pay if someone can do this.
Â
Â
Link to comment
Share on other sites
7 answers to this question
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