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.

Dark GDK / how are animation bitmap files broken up?

Author
Message
xbandages
14
Years of Service
User Offline
Joined: 30th Mar 2010
Location: Michigan
Posted: 3rd Apr 2010 06:46
when you create the animated sprite, how is the bitmap broken up?

As in, lets say I have an animated sprite .bmp file, it consists of 1 row, 6 frames (evenly spaced apart).

Now lets say that the bmp file has the dimensions 260 x 48 px.

Would the correct dimension for each animation be 260/6 = 43.3333....
Of course since its an integer, the rest would be truncated.

Is this correct?
Isocadia
15
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 6th Apr 2010 18:35
Uh, I believe that if that is a result than you can't spread 6 evenly spaced images over 260x48. Because even in photoshop you can't work with half pixels.

Isocadia

Login to post a reply

Server time is: 2024-10-02 03:25:09
Your offset time is: 2024-10-02 03:25:09