PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

MFC GAPIDraw demo = 340 sprites achieved!

I would say, people might be interested that with MFC demo application, which is a part of GapiDraw, I achieved maximum of 340 sprites on iPaq hx4700, 640x480.

I would like to know, if thre is any trick used, that allows so many sprites to be displayed at once, or if standard blt_fast() function was used.

Thank you,
with regards,
Rene.
There are many "tricks" used. :-) GapiDraw does not use the DirectDraw bltfast, if that is what you are asking.
Hello Johan,

I was curious if GapiDraws BltFast() fast used to render all the sprites :-) The reason to that question was, whether such good performance can be achieved by using standard GapiDraws functions, of if there was anything special programmed to achieve maximum efficiency just for MFC example that is within GapiDraw downloaded code.

Thank you and have a nice day,
Rene.
Aha, :-)

Yes, it's just plain GapiDraw BltFast. :-) In fact, you would probably gain a few sprites by not using the MFC framework as well, it's just that we haven't prioritized moving that demo to the GapiDraw Framework.

Cheers
Johan
And apparently, every sprite in that demo has collision detection implemented too.