Directx 2D sample in BCX

Started by Ljubisa Knezevic, March 15, 2025, 02:47:38 PM

Previous topic - Next topic

MrBcx

Almost forgot about my tiny OpenGL lib and demo;

https://bcxbasiccoders.com/smf/index.php?topic=1246.msg6603#msg6603

I think it's a really cool graphics demo!


Ljubisa Knezevic

Thank you Kevin, I'm still trying to get grasp how double buffering is implemented and maybe go after that to some simple menus and drawing some primitives.

MrBcx

Hi Ljubisa,

My Asteroids game (link below) uses GDI not DirectX but it does use the built-in BCX double buffering
that I added to BCX a few years ago which improves responsiveness and eliminates flicker.

BCX_BUFFER_START
BCX_BLIT_SPRITE
BCX_BUFFER_STOP

https://bcxbasiccoders.com/smf/index.php?topic=1209.msg6395#msg6395

I also uploaded a bunch of OpenGL demos that although not games, might interest you.

I'll be happy to answer questions that I can.

Ljubisa Knezevic

Hi, I'm thiniking about trying to make some simple 2D game in BCX. 
Maybe someone already tried something similar. If so can you please point me to sample code - even some simple demo would be helpfull.

Thanks.