Smallest size of surfaces..
Hi!!
I''m having a little problem with my game, I''m creating a shooter and it goes fine, recently I added code to handle collitions, and I saw something real strange.. I changed my default image to the actual bullet image - size 29X29 pixels- and Dx is not showing a thing.. With bigger images it works .. Is there any size limit for surfaces?? I''m using the procedures to load bmps into a surface that come with the sdk and I''ve searched the doc file with no luck..
Any help would be great.. Thanks in advance!
"Old programmers don't die,they just terminate and stay resident."
There is no size limit to Surface Sizes. The only limit is if you are using 3D. If you are using 3D keep in mind that the Surfaces have to be a size by the powers of 2. Read the DX Help for info on that.
Does that condition aplies to DirectDraw surfaces too? I''ll try to make my bitmap power of 2 but that would mean my smallest bullet will be 16 pix wide??
Laters!
Laters!
"Old programmers don't die,they just terminate and stay resident."
Only for Direct3D. Direct draw can have any surface size. Your code must have an error in it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement