QL Tinkering

Helpful tips and guides, also new users can ask for help here.
qbits
ROM Dongle
Posts: 26
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Postby qbits » Thu Mar 23, 2017 8:42 pm

Hi,
Thanks for your encouragement Cristian
I’m still grabbing what time I can reviewing SuperBASIC and my early aspirations, I have a couple of game idea’s I’m pursuing.

In the mean time, I’ve made some changes to QBFTidy to include a LOAD command and added a procedure to sort the filenames into alphabetical order see QBFTidy_dev.zip

Catching some moments to look back over my QL World mags I was reminded of the fact that the CURSOR command can be set with both Pixel and Graphic coordinates. See Pos_cur.zip

Qbits
Attachments
Pos_Img.jpg
Pos_cur.zip
(447 Bytes) Downloaded 24 times
QBFTidy_dev.zip
(4.19 KiB) Downloaded 23 times


User avatar
Cristian
Gold Card
Posts: 359
Joined: Mon Feb 16, 2015 1:40 pm

Re: QL Tinkering

Postby Cristian » Sat Mar 25, 2017 7:36 pm

Very interesting!
And thanks for your efforts: I'll try your programs.
Now I'm curious about your new games... :-)


mk79
Chuggy Microdrive
Posts: 72
Joined: Sun Feb 02, 2014 10:54 am

Re: QL Tinkering

Postby mk79 » Sun Mar 26, 2017 3:56 pm

qbits wrote:QBDarts has been a long drawn out process from conception in the eighties to hopefully fulfilling most of my early aspirations. Working the code for QBDarts I came across what I can only describe as an intriguing abnormality.

100 REMark Score_Test
102 REMark score=runnimg score dp=dart points
104 :
106 PAPER 7:CLS:INK 0:PRINT 'n score - dp <=1 RED score<dp GREEN'
108 FOR n=1 TO 18
110 score=10:dp=6+n:INK 0:PRINT n,score,dp
112 INK 4:IF score<dp:CURSOR 120,10*n:PRINT score,dp;' '
114 INK 2:IF score-dp<=1:dp=0:CURSOR 120,10*n:PRINT score,dp;' '
116 END FOR n

If you check this out it will show the IF statement of line 114 does not hold true for 10-12, 10-14 and 10-18.
Can anyone explain this!!!

Strange, seems to be a phenomena exclusive to SMSQmulator. I've forwarded the bug to Wolfgang.

Thanks for sharing, the dart game looks familiar. But the basic file contains some additional broken lines in the ZIP.

Cheers, Marcel


mk79
Chuggy Microdrive
Posts: 72
Joined: Sun Feb 02, 2014 10:54 am

Re: QL Tinkering

Postby mk79 » Sun Mar 26, 2017 4:49 pm

mk79 wrote:Strange, seems to be a phenomena exclusive to SMSQmulator. I've forwarded the bug to Wolfgang.
Apparently this has already been fixed in 2.21 (and I tried with 2.20, just my luck ;) )

Cheers, Marcel


qbits
ROM Dongle
Posts: 26
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Postby qbits » Fri Jul 07, 2017 8:05 pm

Hi all,
Where have the last few month gone!
I thought retirement was when you put your feet up and led a slower pace of life....

Dilwyn - Diolch yn fawr iawn for your Web site. I now reside in Mid Wales, sandy beaches, cliff top views along the stunning coastline of Cardigan Bay. The family have been walking the Glyndwr Way raising some money for Charity. Scenic routes that at times can be breathtaking.

Well I haven’t give up entirely on programming in SuperBASIC. Snippets of code and the occasional inspiration from those QL bit recovered from the loft space have kept me going. For the time being one program seems to have pushed itself to the front. I’m hoping to have the fully functional Game to upload in a couple of months time together with my usual pdf file explaining its background. You can probably guess this was heavily influenced by my eighties interest in Star Wars and the board game Risk.

But for now I offer a few screen shots.

QBITS

Note: At the start of this Game idea! I was checking out code to create the illusion of space travel. The Zip file attached contains three basic files that show my early progress. They should run on just about any standard QL hardware or QL emulator.
Attachments
QBGT01.zip
(3.38 KiB) Downloaded 18 times
GalaxyAD2370-1.jpg
GalaxyAD2370-2.jpg
GalaxyAD2370-3.jpg
Last edited by qbits on Sun Jul 09, 2017 1:55 pm, edited 2 times in total.


User avatar
vanpeebles
Commissario Pebbli
Posts: 1766
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: QL Tinkering

Postby vanpeebles » Fri Jul 07, 2017 8:31 pm

Hey that looks really good! :)


User avatar
Cristian
Gold Card
Posts: 359
Joined: Mon Feb 16, 2015 1:40 pm

Re: QL Tinkering

Postby Cristian » Mon Jul 10, 2017 8:41 am

Great initiative! :)
I'll try your three basic programs


tcat
Gold Card
Posts: 429
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL Tinkering

Postby tcat » Mon Jul 10, 2017 1:18 pm

Hi Steve,

Such creative mind you have :o, looks like a setup scene for StarWars game?

"Diolch yn fawr iawn", is this Gaelic?
I watch `Outlander' UK series at the moment so I am just wondering how close this is to Scottish dialect?

Tom


martyn_hill
Trump Card
Posts: 234
Joined: Sat Oct 25, 2014 9:53 am

Re: QL Tinkering

Postby martyn_hill » Mon Jul 10, 2017 1:41 pm

Hi QBits!

Those screen-captures for Galaxy AD2370 look very promising - please pursue your work on this game!

M.


User avatar
Cristian
Gold Card
Posts: 359
Joined: Mon Feb 16, 2015 1:40 pm

Re: QL Tinkering

Postby Cristian » Mon Jul 10, 2017 8:59 pm

qbits wrote: I was checking out code to create the illusion of space travel. The Zip file attached contains three basic files that show my early progress. They should run on just about any standard QL hardware or QL emulator.


So I tried your files both on QemuLator and real QL (MGI + TrumpCard). Obviously they're really slow on a plain QL, anyway they work. The second file (02) gives a "bad name" error after loading, but it runs anyway.
The "starfield animation" looks fairly pretty. It could be advisable to improve it reducing the "four-quadrants effect", maybe trying to remove some stars, for what it's worth.



Return to “Help for New Users”

Who is online

Users browsing this forum: No registered users and 2 guests