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.
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.
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.
Something else that could be useful in games is my Quick Pixels library.
Here are just a few non-game examples that demonstrates the speed of the QP library:
https://bcxbasiccoders.com/smf/index.php?topic=1176.msg6155#msg6155
https://bcxbasiccoders.com/smf/index.php?topic=949.msg4736#msg4736
https://bcxbasiccoders.com/smf/index.php?topic=1200.msg6346#msg6346
https://bcxbasiccoders.com/smf/index.php?topic=1234.msg6549#msg6549
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!