What do you now know many years later

General software. From trouble with the Banyan Tree to OCP Art Studio, post any general software chat here. Could include game challenges...
presh
Berk
Posts: 39
Joined: Tue Feb 25, 2020 8:52 pm

Re: What do you now know many years later

Post by presh »

I only recently found out that you can throw people in Renegade. 128K only, mind - I only had the 48K version back in the day!

I think it's UP + BACK + FIRE while grabbing.

4 x

presh
Berk
Posts: 39
Joined: Tue Feb 25, 2020 8:52 pm

Re: What do you now know many years later

Post by presh »

Rorthron wrote:
Tue Sep 15, 2020 9:26 am
TMD2003 wrote:
Mon Sep 14, 2020 8:43 pm
INK/PAPER/BRIGHT 8 is actually useful
Whaddayamean, 8???
8 is transparent / unchanged - so if you do PRINT INK 7; PAPER 8; "SOMETHING", the text will have white INK but the existing PAPER colour of each cell will remain unchanged
0 x

Ralf
Dynamite Dan
Posts: 1585
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: What do you now know many years later

Post by Ralf »

8 is transparent / unchanged - so if you do PRINT INK 7; PAPER 8; "SOMETHING", the text will have white INK but the existing PAPER colour of each cell will remain unchanged
Wouldn't it be the same as simply PRINT INK 7; "SOMETHING" ?
0 x

User avatar
uglifruit
Manic Miner
Posts: 207
Joined: Thu Jan 17, 2019 12:41 pm
Location: Leicester
Contact:

Re: What do you now know many years later

Post by uglifruit »

presh wrote:
Tue Sep 15, 2020 1:32 pm
Rorthron wrote:
Tue Sep 15, 2020 9:26 am
TMD2003 wrote:
Mon Sep 14, 2020 8:43 pm
INK/PAPER/BRIGHT 8 is actually useful
Whaddayamean, 8???
8 is transparent / unchanged - so if you do PRINT INK 7; PAPER 8; "SOMETHING", the text will have white INK but the existing PAPER colour of each cell will remain unchanged
Shh, you'll be giving away the secrets of INK / PAPER 9 next.

You know the first rule of BRIGHT club: "We don't talk about BRIGHT club."
2 x
CLEAR 23855

User avatar
uglifruit
Manic Miner
Posts: 207
Joined: Thu Jan 17, 2019 12:41 pm
Location: Leicester
Contact:

Re: What do you now know many years later

Post by uglifruit »

Here are a couple of BASIC things I didn't know 'til recently.

GOTO jumps take longer to execute the further into the program that the line they jump to is located. I read about that on this forum, and went back and changed my 'Physiced' program to put the game loop at the top and it ran notably quicker.


It was only when reading the Next manual, cover to cover a couple of months ago that I found out that Sinclair BASIC could use:
LET A$="ABCDEFGH"

PRINT A$( TO 4) ; giving "ABCD"
PRINT A$(4 TO ) ; giving "DEFGH"

I've spent 38 years not knowing that you didn't need to use both arguments. I'd previously always used:

PRINT A$(0 TO 4)
PRINT A$(4 TO LEN A$)

...for my LEFT$ / RIGHT$ functions.
0 x
CLEAR 23855

User avatar
Ast A. Moore
Dynamite Dan
Posts: 1725
Joined: Mon Nov 13, 2017 3:16 pm

Re: What do you now know many years later

Post by Ast A. Moore »

presh wrote:
Tue Sep 15, 2020 1:26 pm
I only recently found out that you can throw people in Renegade. 128K only, mind - I only had the 48K version back in the day!
Ditto!
0 x
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.

User avatar
bluespikey
Berk
Posts: 9
Joined: Tue Jun 30, 2020 3:54 pm

Re: What do you now know many years later

Post by bluespikey »

That Turbo Esprit had working traffic lights. :lol:
0 x

User avatar
RWAC
Microbot
Posts: 195
Joined: Sun Aug 18, 2019 9:59 pm

Re: What do you now know many years later

Post by RWAC »

I now know games with Kangaroos are bad.
1 x

User avatar
Morkin
Dynamite Dan
Posts: 1182
Joined: Mon Nov 13, 2017 8:50 am
Location: Bristol, UK

Re: What do you now know many years later

Post by Morkin »

A couple more that spring to mind:

1. Assembly programming - I didn't really get anywhere trying to learn this; coming from a BASIC background I didn't twig that you could just store things directly in the Speccy's memory, like "LD (32768),A". I thought you had to hold all your game variables in the few registers available to you, or use PUSH/POP to store/retrieve them in exactly the right order from the stack.

2. BASIC programming - I never got why people used keywords like "VAL" and "NOT PI" in BASIC rather than 'regular' numbers. When I saw them in programs I thought it just looked a bit bizarre.
0 x

MrBlaz
Berk
Posts: 26
Joined: Thu Aug 29, 2019 7:49 pm

Re: What do you now know many years later

Post by MrBlaz »

presh wrote:
Tue Sep 15, 2020 1:26 pm
I only recently found out that you can throw people in Renegade. 128K only, mind - I only had the 48K version back in the day!

I think it's UP + BACK + FIRE while grabbing.

:o :o :o :o shock and awe!

For my part, I discovered a few years ago that when you play Exploding Fist with keys, you can make diagonals pressing UP/DOWN + LEFT/RIGHT. That is, you can use 5 keys instead of 9 :D
1 x

Post Reply