old QB Defender game - anyone want to try to bring this up to speed?
#29
Hey 
I have just tried to run the game (option 1) and I got an error at line 2115!  It seems that there is a problem with variable maxcolonists.
Reading at starting file there are some DIMming of array with dimension maxcolonists while maxcolonists is one of the Common Shared variable, but it has been initialized into the code after these declaration of arrays.
Moving these initializations of variables at the bottom of the are Common Shared, the game starts to work with all its inner problems about graphics and sounds.

Here Screenshot


[Image: image.png]

this is the block of initialization moved at the bottom of Common Shared variables
Code: (Select All)
' SET VARIABLES TO MAXIMUM ARRAY SIZES
maxaliensinplay = 10 ' most on playfield
maxherolasers = 3 '
maxalienbolts = 1
maxcolonists = 10
maxgrabbers = 15
maxbomers = 2
maxchunks = 20

Waiting your feedbacks
Reply


Messages In This Thread
RE: old QB Defender game - anyone want to try to bring this up to speed? - by TempodiBasic - 04-26-2023, 12:32 AM



Users browsing this thread: 12 Guest(s)