Some Silly Eye Candy: FIREWORKS

All aspects of programming on the Commander X16.
Post Reply
User avatar
ahenry3068
Posts: 1136
Joined: Tue Apr 04, 2023 9:57 pm

Some Silly Eye Candy: FIREWORKS

Post 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 146 times

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

Tokenized
FIREWORKS3.PRG
(1.7 KiB) Downloaded 115 times
nulcow
Posts: 7
Joined: Mon Oct 23, 2023 11:48 pm

Re: Some Silly Eye Candy: FIREWORKS

Post 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.
nulcow, software developer and computer artist.
User avatar
ahenry3068
Posts: 1136
Joined: Tue Apr 04, 2023 9:57 pm

Re: Some Silly Eye Candy: FIREWORKS

Post 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
bjazmoore
Posts: 3
Joined: Sun Jun 23, 2024 4:31 pm

Re: Some Silly Eye Candy: FIREWORKS

Post 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?
TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Re: Some Silly Eye Candy: FIREWORKS

Post 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.
voidstar
Posts: 494
Joined: Thu Apr 15, 2021 8:05 am

Re: Some Silly Eye Candy: FIREWORKS

Post 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.
Post Reply