To date there haven't been any really good examples of 'BBC BASIC for SDL 2.0' leveraging the power of hardware-accelerated 2D rendering. I have attempted to put that right by adapting some of the graphics from David Williams' recent 'Forces of Darkness' game to run in BBCSDL. The original BB4W game uses David's own custom graphics library GFXLIB2 (largely written in assembler) plus a little compiled C code which he has put in a DLL. As such it is very much Windows-specific.
Instead of calling GFXLIB library functions my adaptation calls SDL functions directly (using the SYS statement). Fortunately in almost every case there has been an exact or close equivalent, and only minor changes have been necessary elsewhere. The C code has been replaced by BASIC code. The end result is a program which is 100% BBC BASIC but with a performance comparable to the original version. This YouTube video shows it running at 60 frames-per-second in BBCSDL on a Windows PC.
discuss PC<>Acorn file transfer issues & the use of FDC, XFER, Omniflop/disk etc.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 1 guest