Oxygen Basic

Programming => Example Code => Topic started by: Peter on November 25, 2013, 03:35:20 PM

Title: SimpleWindow Fun
Post by: Peter on November 25, 2013, 03:35:20 PM
Deleted
Title: Re: SimpleWindow Fun
Post by: JRS on November 25, 2013, 03:49:08 PM
Thanks Peter for the demos.

I just got the SDL Draw (http://sourceforge.net/projects/sdl-draw/) (2D basic graphic primitives) going in C BASIC and this will give me something to compare with. Here is a screen shot using the library.

(http://files.allbasic.info/C_BASIC/cbsdl_draw.png)
Title: Re: SimpleWindow Fun
Post by: Haim on November 25, 2013, 09:56:52 PM
Hello Peter,
I see you remembered me.
Thank you for the lovely demos, i enjoy your work very much!
Hope to see some more in the future.
Title: Re: SimpleWindow Fun
Post by: JRS on November 26, 2013, 10:13:30 AM
Peter,

Would it be possible to recreate the example screenshot I posted above in Simple Window? The demo is mostly calls to the SDL_draw library so it should be pretty easy to port. I don't know if this is a valid number or not but the SDL_draw demo calculated the frame rate of creating this screen at 1.2 million frames per second.

Thanks!

John
Title: Re: SimpleWindow Fun
Post by: JRS on November 26, 2013, 12:04:11 PM
Thank you Peter for your quick reply and code. You truly make Windows graphics programming simple.

This gives me something to compare to before investing any more time into the SDL_draw library for C BASIC.

OxygenBasic - compiled and running under Wine
(http://files.allbasic.info/O2/swprimitives.png)