BBC BASIC for Windows
« Optical illusion »

Welcome Guest. Please Login or Register.
Apr 6th, 2018, 12:25am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Optical illusion  (Read 2161 times)
rtr
Guest
xx Re: Optical illusion
« Reply #10 on: Aug 12th, 2014, 8:25pm »

on Aug 12th, 2014, 6:47pm, David Williams wrote:
I'm determined to make a Snapper/Pac-Man clone that runs on the demo version of BB4W, mostly for the (not so immense) challenge of it.

There is no challenge if you use a DLL - you simply move as much code into the DLL as is necessary to allow the remaining program to fit. smiley

There's a nice Liberty BASIC version of PacMan which has been translated into BBC BASIC using LBB, although it won't fit in the trial version. I'll take a look to see if it could be shrunk enough to do so (it doesn't use any of LB's native graphics - everything's done using GDI32 API calls - so it doesn't need the LBLIB library).

Quote:
Frankly I don't give a toss if anyone uses it or not.

Presumably any DLL you build could equally well be called from other programming languages - including Liberty BASIC and C itself. You might find a more receptive audience elsewhere.

Richard.
« Last Edit: Aug 12th, 2014, 8:33pm by rtr » User IP Logged

David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: Optical illusion
« Reply #11 on: Aug 12th, 2014, 9:03pm »

on Aug 12th, 2014, 8:25pm, Richard Russell wrote:
There is no challenge if you use a DLL - you simply move as much code into the DLL as is necessary to allow the remaining program to fit. smiley


I was referring to only the graphics library, not game logic. smiley


Quote:
There's a nice Liberty BASIC version of PacMan which has been translated into BBC BASIC using LBB, although it won't fit in the trial version.


I like how clicking on the link sends you to Google instead (Alyce's doing, presumably).

Using LBB 2.53, the game translates and runs without complaint, except the window doesn't update. It's initially black (I can hear the sound effects), and it only updates after I've dragged the window around to force an update, but it still doesn't update automatically. I'm using Win7 / 64-bit.

Quote:
Presumably any DLL you build could equally well be called from other programming languages - including Liberty BASIC and C itself. You might find a more receptive audience elsewhere.


If I was concerned about having a receptive audience for my solitary, hobbyist coding activites, I'd be using Python, Java (which I'm learning), DarkBASIC, Raspberry Pi, etc. Huge communities.


David.
--
User IP Logged

rtr
Guest
xx Re: Optical illusion
« Reply #12 on: Aug 13th, 2014, 12:24am »

on Aug 12th, 2014, 9:03pm, David Williams wrote:
Using LBB 2.53, the game translates and runs without complaint, except the window doesn't update.

The program requires modification to be compatible with LBB (as many do). Run it in genuine Liberty BASIC if you want to try it.

Richard.
User IP Logged

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

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls