BBC BASIC
« Forces of Darkness - BBCSDL version »

Welcome Guest. Please Login or Register.
Jan 20th, 2018, 6:05pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Forces of Darkness - BBCSDL version  (Read 220 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Forces of Darkness - BBCSDL version
« Thread started on: Nov 15th, 2017, 1:07pm »

I'm very pleased to announce the release of the BBCSDL version of David Williams' prizewinning video game Forces of Darkness. It may be downloaded as FODSDL.zip (note that this is a large file, more than 50 Mbytes).

The game will run as a demo on all the supported platforms (Windows, Linux, Mac OS, Raspberry Pi, Android, Amazon Fire TV) but requires a keyboard - or Amazon Fire Remote - in order to be played. When running on a Raspberry Pi or Android device it automatically configures itself to a low memory mode of operation, with reduced features. Even so, you will need to configure the RPi for 256 Mbytes of graphics memory (raspi-config utility).

Forces of Darkness requires BBCSDL v0.19b, which I released today. Attempting to run it with an earlier version will likely give poor results. It makes heavy use of accelerated 2D rendering so the performance will depend very much on the GPU in your PC. I will be interested to learn how well it works compared with David's original.

The principal objective in converting the game has been to demonstrate the capabilities of BBCSDL, and to show that translating a BB4W+GFXLIB program to BBCSDL (or coding a game from scratch) is relatively straightforward. The conversion was achieved largely by replacing GFXLIB calls with exact or near equivalent SDL function calls. The resulting program is 100% BASIC, with no assembler code and no custom libraries or DLLs.

I cannot guarantee that the game is actually playable, since that is not my area of expertise! It is possible that the different (and less accurate) collision-detection mechanism may have affected gameplay; if anybody is able to contribute a recorded 'demo data' file that plays the game to completion I would be pleased to receive it.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Forces of Darkness - BBCSDL version
« Reply #1 on: Nov 15th, 2017, 4:56pm »

on Nov 15th, 2017, 1:07pm, Richard Russell wrote:
if anybody is able to contribute a recorded 'demo data' file that plays the game to completion I would be pleased to receive it.

I've updated the Zip with a demo file submitted by David Williams himself.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Forces of Darkness - BBCSDL version
« Reply #2 on: Nov 18th, 2017, 5:06pm »

on Nov 15th, 2017, 4:56pm, Richard Russell wrote:
I've updated the Zip with a demo file submitted by David Williams himself.

I've updated it once again, this time to provide support for playing the game using only a touchscreen (i.e. without a keyboard) for example on a mobile device - although it works on my Windows laptop as well. My recommendation would be to use a stylus rather than your finger however!

The download link is the same as before. The file is a bit smaller now (35 Mbytes compared with more than 50) because I've downsampled the background bitmaps to reduce the memory footprint.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Forces of Darkness - BBCSDL version
« Reply #3 on: Nov 23rd, 2017, 8:10pm »

The latest addition to FODSDL is a Full Screen option; this is activated by setting 'fullscreen 1' in the Config.txt file. It works on all the supported platforms, with the exception of Android of course - on which it always ran 'full screen' anyway! However it does increase the likelihood of crashing the Raspberry Pi because of apparently running out of graphics memory (I'm sure it shouldn't crash so badly; this is presumably an RPi bug).

Edit: The trick for making it work Full Screen on a Raspberry Pi 3 seems to be to run it directly rather than from the IDE. So for example run it using this command:

Code:
BBCBASIC/bbcsdl FODSDL/Fod.bbc 

(adapt the command to suit your installation directories, of course).

The new version may be downloaded as FODSDL.zip as before.

Richard.
« Last Edit: Nov 23rd, 2017, 9:45pm by Richard Russell » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Forces of Darkness - BBCSDL version
« Reply #4 on: Nov 25th, 2017, 11:41am »

I've been puzzling over why Forces of Darkness runs so poorly on my Samsung Galaxy Tab S2, which is generally a fast device. Evidently I shouldn't have been surprised:

User Image
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls