elmaster20 Posted September 9, 2014 Author Share Posted September 9, 2014 Hi guys i want to start again an older game of DBZ that i had made with some friends, so i need to know if i there is a way to use the old spritesheet (it´s attached), because i have to divide all the sprites and i don´t have so much time to do it (i have to work and go to the university), the spritesheet is bigger than the attached but is just an example of my spritesheet, i need to know how to use that spritesheet to make characters and npc´s, thanks and sry for my english Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 9, 2014 Share Posted September 9, 2014 Umm, I don't think there i a converter so have fun chopping them up. It's that or you can make a program to chop them up. Link to comment Share on other sites More sharing options...
elmaster20 Posted September 9, 2014 Author Share Posted September 9, 2014 can i use that spritesheet or i have to divide them sprites one by one? :( Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 9, 2014 Share Posted September 9, 2014 Well, none of the Eclipses use that style sheet so you need to chop them up, you may be ably to write a program to take the second half of the row and put it below the first half then save it, but I don't know. You may want to wait for if someone else has a converter. Link to comment Share on other sites More sharing options...
elmaster20 Posted September 9, 2014 Author Share Posted September 9, 2014 Okay, thank you very much! I will wait! gl! Link to comment Share on other sites More sharing options...
Rob Janes Posted September 10, 2014 Share Posted September 10, 2014 You can change the "DrawSprite" sub to simply use this spritesheet rather than the default EO layout. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 10, 2014 Share Posted September 10, 2014 Rob, can you explain how? Link to comment Share on other sites More sharing options...
Rob Janes Posted September 10, 2014 Share Posted September 10, 2014 It's actually under DrawPlayer my mistakeWhere it does' Set the left Select Case GetPlayerDir(Index) Case DIR_UP spritetop = 3 Case DIR_RIGHT spritetop = 2 Case DIR_DOWN spritetop = 0 Case DIR_LEFT spritetop = 1 Case DIR_UPRIGHT spritetop = 7 Case DIR_DOWNRIGHT spritetop = 6 Case DIR_UPLEFT spritetop = 5 Case DIR_DOWNLEFT spritetop = 4(Ignore that mine has DIR_UPRIGHT etc and numbers higher than 3, because I have 8 way movement and 8 way frames so there's a diagonal frame)The spritetop here, is what frame we're picking out of the PNG to use for that animation. What you'd want to do is change it so that it always uses 0 as the Top Pixel, and changes the Left in with With Rec to something like .Left = spriteleft * (Tex_Character(Sprite).Width / # of Frames here) 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