BBC BASIC for Windows
Programming >> Graphics and Games >> "Starfield" (yet another) - BB4W/BBCSDL
http://bb4w.conforums.com/index.cgi?board=graphics&action=display&num=1486273047

"Starfield" (yet another) - BB4W/BBCSDL
Post by David Williams on Feb 5th, 2017, 04:37am

This is just testing some things out re. BBCSDL. The program length exceeds the maximum allowed limit for this Conforum, so here is a link to the program in plain ASCII text (copy & paste it in to BB4W or BBCSDL):

http://www.proggies.uk/temp/Starfield_BBCSDL_x86_ARM_v100.txt

I get ~36 fps on Android (ARM), and ~40 fps if Wait% is set to FALSE.

I studiously avoided floating point math in the main loop (good for ARM, but perhaps not so great for x86).

I notice that disabling WAIT results in only a few % more CPU usage when running on Android, and the result looks a little nicer.


David.
--


Re: "Starfield" (yet another) - BB4W/BBC
Post by marsFS on Nov 2nd, 2017, 04:55am

Nice! smiley