Archived

This topic is now archived and is closed to further replies.

burgc002

Game Programming for Dummies, question

Recommended Posts

Ok, Andre has a game programming library in chap 12 that he has "taught" you how to use, and I find that when I use it to blit to the screen it seems to not blit the last line of the sprite and the last right-hand column. For example, if my sprite is 32x32 then only 31x31 actually gets blitted, and if you change the size to 33x33 then it''s not a power of 8 and it doesn''t blit properly...that''s another good question, why powers of 8? Anyway has anyone else had this problem? Thanks for any help.

Share this post


Link to post
Share on other sites
i believe it''s powers of 2 , but it allows the blitter to use shifts in stead of multiplications. It''s just faster then

Share this post


Link to post
Share on other sites