2D Game Library for BBC BASIC

New releases of BB4W and BBCSDL, and other updates, will be announced here
David Williams

2D Game Library for BBC BASIC

Post by David Williams »

Here is Richard's recent post to the Stardot forum announcing his new library which now comes as standard with the BBCSDL package:

-----------------------------------------------------------------

2D Game Library for BBC BASIC

Many of you will know that, several years ago, David Williams wrote a library for BBC BASIC for Windows - GFXLIB, later updated to GFXLIB2 - providing support for plotting 2D graphics of the kind needed in high-performance 2D video games. Using those libraries he and others have written many excellent games, some of them prize-winning!

In the last couple of years I have converted a few of those games to BBC BASIC for SDL 2.0, so that they will run on a wider range of platforms. This was largely achieved by replacing the calls to GFXLIB2 with similar functionality from SDL 2.0. However this was done on an ad-hoc basis, with the modifications not necessarily being directly applicable to other programs.

As you may have seen in my recent announcement of the release of BBCSDL v1.26a, I have now created a library containing near-equivalents to many of the GFXLIB2 functions, which should both make converting programs easier and provide a framework for creating new video games using BBC BASIC for SDL 2.0. This library is described here.

-----------------------------------------------------------------

Link to Richard's Stardot post: https://stardot.org.uk/forums/viewtopic ... 63&t=23771