Page 1 of 1

Some Silly Eye Candy: FIREWORKS

Posted: Tue Oct 03, 2023 9:05 am
by ahenry3068
This one has to be loaded with BASLOAD.

Playing around with different ideas for a VICTORY Screen for HANGMAN.
Don't know if this is the one, but if it is there will be a Text Banner overlay
and Pallette animation added.

So here it is.
FIREWORKS2.BAS
(2.21 KiB) Downloaded 146 times

Tokenized End User doesn't need BASLOAD
FIREWORKS2.PRG
(1.61 KiB) Downloaded 139 times

Another Variation
Source (requires BASLOAD)
FIREWORKS3.BAS
(2.32 KiB) Downloaded 106 times

Tokenized
FIREWORKS3.PRG
(1.7 KiB) Downloaded 112 times

Re: Some Silly Eye Candy: FIREWORKS

Posted: Tue Oct 24, 2023 2:28 pm
by nulcow
Is it meant to run faster? When I run it in the emulator it's too slow to be a convincing firework effect.

Re: Some Silly Eye Candy: FIREWORKS

Posted: Fri Oct 27, 2023 9:10 pm
by ahenry3068
I ported this from code written for a faster platform. I wasn't quite happy with it myself. It might be useful if blitzed though. I thought it was worth posting here.

Its more convincing in the Emulator if you start the emulator with -warp

Re: Some Silly Eye Candy: FIREWORKS

Posted: Mon Jun 24, 2024 3:17 am
by bjazmoore
ahenry3068 wrote: Tue Oct 03, 2023 9:05 am
Tokenized End User doesn't need BASLOAD
FIREWORKS2.PRG
May I ask how you tokenized a BAS file so it does not need to be loaded with BASLOAD?

Re: Some Silly Eye Candy: FIREWORKS

Posted: Mon Jun 24, 2024 4:42 am
by TomXP411
bjazmoore wrote: Mon Jun 24, 2024 3:17 am
ahenry3068 wrote: Tue Oct 03, 2023 9:05 am
Tokenized End User doesn't need BASLOAD
FIREWORKS2.PRG
May I ask how you tokenized a BAS file so it does not need to be loaded with BASLOAD?
After loading it with BASLOAD, you just SAVE it with a new filename. The saved file will be tokenized and line numbered.

Re: Some Silly Eye Candy: FIREWORKS

Posted: Tue Jun 25, 2024 3:33 pm
by voidstar
After doing BASLOAD, do a LIST command. You'll see that the "plain text" BASLOAD code has been "compiled" (or "adapted") into a regular BASIC program. So then as Tom said, you just SAVE that.

Code: Select all

BASLOAD "SOMEPROG.BASL"
LIST : REM OPTIONAL
SAVE "@:SOMEPROG.PRG"
It's why I prefer the BASL extension, to help remind me it is that "plain text" format, and less likely to accidentally SAVE back over it.