|
Post by crazynate on Jul 25, 2009 18:53:40 GMT -5
I was wondering how to link sprites together to make a joint. I want one sprite to be able to rotate at one end, and have another sprite positioned at the other end. My goal is to make a character using multiple sprites (one for each limb) and create the movements by rotating the sprites, as opposed to drawing all of the movements from scratch.
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 25, 2009 19:52:41 GMT -5
I'd just make one big sprite, but I'm no sprite expert.
|
|
|
Post by crazynate on Jul 25, 2009 21:19:19 GMT -5
I create most of the sprites I use, but one of the reasons why i stopped working on a few programs is that it would take too long to make all of the sprites. For example, I stopped working on a fighting game because it took too long to create the sprites, and then I would have to add different collision for each character. But if i was to use multiple sprites for each character i could set it to deduct health from the other player whenever the fist sprite collides with the other player's head sprite.
|
|
|
Post by DJLinux on Jul 25, 2009 21:37:17 GMT -5
Isn't simple at all. You must rotate the sprites around the joint connectors not around the sprite center then you must move it to the right place after rotation
It's posible with math but a tricky part too.
Joshy
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 25, 2009 22:27:30 GMT -5
Are you serious DJLinux? What, does everyone only get one? Do I have to make a new topic every time I need help? Could you at least acknowledge me?
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 25, 2009 22:29:16 GMT -5
I create most of the sprites I use, but one of the reasons why i stopped working on a few programs is that it would take too long to make all of the sprites. For example, I stopped working on a fighting game because it took too long to create the sprites, and then I would have to add different collision for each character. But if i was to use multiple sprites for each character i could set it to deduct health from the other player whenever the fist sprite collides with the other player's head sprite. You could just make all hitboxes and characters the same. Yeah, artwork is the most time-consuming thing about making games, especially if you're not an artist.
|
|
|
Post by DJLinux on Jul 25, 2009 23:40:00 GMT -5
Are you serious DJLinux? What, does everyone only get one? Do I have to make a new topic every time I need help? Could you at least acknowledge me? programming is a learning curve now it's your turn learn and learn and learn learning by doing Joshy
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 26, 2009 12:07:01 GMT -5
Are you serious DJLinux? What, does everyone only get one? Do I have to make a new topic every time I need help? Could you at least acknowledge me? programming is a learning curve now it's your turn learn and learn and learn learning by doing Joshy You could have told me that days ago, instead of ignoring me. Thank you.
|
|
|
Post by Wayne Rayner on Jul 26, 2009 12:46:29 GMT -5
lol well i learnt that when i was younger.
|
|
|
Post by DJLinux on Jul 26, 2009 19:47:35 GMT -5
You could have told me that days ago, instead of ignoring me. Thank you. please be cool "Thank you" i posted a working code for you and you can read in my signatur "I do not answer private messages ..."happy coding = happy learning Joshy
|
|
|
Post by Wayne Rayner on Jul 26, 2009 20:09:40 GMT -5
cool i never read ur signiture before it's awesome
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 26, 2009 22:29:53 GMT -5
You could have told me that days ago, instead of ignoring me. Thank you. please be cool "Thank you" i posted a working code for you and you can read in my signatur "I do not answer private messages ..."happy coding = happy learning Joshy I didn't expect you to answer my PM's, I expected you to post yea or nay. You posted a working code for me? Where? When? I know you did it once, when I had trouble in the very beginning, but not lately. I'll look for it, though.
|
|
|
Post by Wayne Rayner on Jul 26, 2009 23:50:46 GMT -5
He meant the one in the beggining lol.
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 27, 2009 1:18:20 GMT -5
|
|