Xlithan Posted February 26, 2012 Author Share Posted February 26, 2012 Hey guys not sure if there is a tutorial for this, I've not seen one.I want to add an attack animation, so it means adding an extra sprite frame to the sprite sheet.I'm guessing that this is fairly simple as it already checks for an attack animation but I've changed some values in **Sub BltPlayer**, and while the animation works, the character is being drawn lower than it should be. Link to comment Share on other sites More sharing options...
Domino_ Posted February 26, 2012 Share Posted February 26, 2012 Yes, there is tutorial for this. :) Search in tutorials -> Source Link to comment Share on other sites More sharing options...
Xlithan Posted February 26, 2012 Author Share Posted February 26, 2012 Yeah it pretty much says to do exactly what I've done.The problem I'm having is the sprite is now off-centred. Before it was being drawn lower, and now it's being drawn to the left. Not sure why. Link to comment Share on other sites More sharing options...
Xlithan Posted February 26, 2012 Author Share Posted February 26, 2012 I scrapped the idea of the attack frame, but I still want to add my "sitting" feature. For some reason the sprite is centred back to normal again after changing the Attacking frame back to 3\. Very strange. Link to comment Share on other sites More sharing options...
Xlithan Posted February 27, 2012 Author Share Posted February 27, 2012 I think I figured out why. Seems to be fine now :) Link to comment Share on other sites More sharing options...
Growlith1223 Posted February 27, 2012 Share Posted February 27, 2012 Did u add the sprite aligned with all the others exactly? Link to comment Share on other sites More sharing options...
Xlithan Posted February 27, 2012 Author Share Posted February 27, 2012 I did a tutorial on it Grim Link to comment Share on other sites More sharing options...
kaizen101 Posted February 28, 2012 Share Posted February 28, 2012 try check my uploaded file its cs:de you might learn something about what you want an attack animation…animate as he attack, you dont to use it because its buggy, but you can learn something from it and the alignment of char. Link to comment Share on other sites More sharing options...
Robin Posted February 28, 2012 Share Posted February 28, 2012 @kaizen101:> try check my uploaded file its cs:de you might learn something about what you want an attack animation…animate as he attack, you dont to use it because its buggy, but you can learn something from it and the alignment of char.Learning from broken code is fucking useless. Link to comment Share on other sites More sharing options...
kaizen101 Posted February 28, 2012 Share Posted February 28, 2012 yup, but what he want is working…its the mapping got me error not the frame attack, he just need to try it , maybe i touched something and cant debug it, but i have a working one now. but your are right. Link to comment Share on other sites More sharing options...
Xlithan Posted February 28, 2012 Author Share Posted February 28, 2012 I'll definitely not learn anything from your English. Plus I've already solved this issue, so… lockedy poop Link to comment 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