Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Glueing together two sprites

Years of Service
User Offline
Joined: 29th Apr 2003
Posted: 29th Apr 2003 16:24

Does anybody know if there is a way to glue together two sprites, so that their movement, scaling, and rotation will be identical? Or, to put it another way, is there a way to create a new (bigger) sprite from the concatination of two (smaller) sprites?

Any help would be greatly appreciated.
Years of Service
User Offline
Joined: 21st Jan 2003
Location: Switzerland
Posted: 2nd May 2003 16:03
PAste them to a bitmap, get image with the combined size, make sprite out of it. Thats all

Years of Service
User Offline
Joined: 1st Feb 2003
Location: United States
Posted: 3rd May 2003 00:35
a friend & i are making a platform game, so in order to maintain successful jumping, i need 2 sprites. i just offset the second sprite.

say both sprites are 100 pixels wide but one is 200 pixels tall and the other is 50. for example sake say the image for the tall sprite is 1 and the short one is 2. code would be like:

sprite 1,x,y,1
sprite 2,x,y+100,2

hope this helps (i can't explain things too well)


Login to post a reply

Server time is: 2023-09-27 13:23:14
Your offset time is: 2023-09-27 13:23:14