i am having an issue with adding a second level to a maze game i am making pleas help
the issue is that when i add a second loop nothing but the collisions disappear
REM Project: brick
REM Created: 11/17/2011 8:53:55 AM
REM created by justin staab
REM ***** Main Source File *****
rem load
hide mouse
make camera 1
position camera 1,0,110,30
point camera 1,0,0,30
load sound "media/meow.wav",2
load SOUND "media/boom.wav" ,1
load image "media/boom.jpg" ,1
load image "media/BOOM!.jpg",2
make object cube 1,10
make object cube 2,10
make object cube 3,10
make object cube 4,10
make object cube 5,10
make object cube 6,10
make object cube 7,10
make object cube 8,10
make object cube 9,10
make object cube 10,10
make object cube 11,10
make object cube 12,10
make object cube 13,10
make object cube 14,10
make object cube 15,10
make object cube 16,10
make object cube 17,10
make object cube 18,10
make object cube 19,10
make object cube 20,10
make object cube 21,10
make object cube 22,10
make object cube 23,10
make object cube 24,10
make object cube 25,10
make object cube 26,10
make object cube 27,10
make object cube 28,10
make object cube 29,10
make object cube 30,10
make object cube 31,10
make object cube 32,10
make object cube 33,10
make object cube 34,10
make object cube 35,10
make object cube 36,10
make object cube 37,10
make object cube 38,10
make object cube 39,10
make object cube 40,10
make object cube 41,10
make object cube 42,10
make object cube 43,10
make object cube 44,10
make object cube 45,10
make object cube 46,10
make object cube 47,10
make object cube 48,10
make object cube 49,10
make object cube 50,10
make object cube 51,10
make object cube 52,10
make object cube 53,10
make object cube 54,10
make object cube 55,10
make object cube 56,10
make object cube 57,10
MAKE OBJECT cube 58,10
make object cube 59,10
make object cube 60,10
position object 60,10,0,50
position object 59,-20,-10,40
position object 58,20,0,30
position object 57,-30,0,0
position object 56,-30,0,10
position object 55,-30,0,20
position object 54,-30,0,30
position object 53,-50,0,30
position object 52,-50,0,20
position object 51,-50,0,10
position object 50,-50,0,0
position object 49,-50,0,-10
position object 48,-50,0,-20
position object 47,-40,0,-20
position object 46,-10,0,-10
position object 45,-30,0,-20
position object 44,-20,0,-20
position object 43,-10,0,-20
position object 42,0,0,-20
position object 41,20,0,-20
position object 40,10,0,-20
position object 39,30,0,-20
position object 38,30,0,-10
position object 37,30,0,0
position object 36,30,0,10
position object 35,30,0,20
position object 34,30,0,30
position object 33,30,0,40
position object 32,30,0,50
position object 31,30,0,60
position object 30,30,0,70
position object 29,20,0,70
position object 28,-30,0,40
position object 27,-30,0,40
position object 26,-50,0,40
position object 25,-50,0,60
position object 24,-50,0,70
position object 23,-50,0,50
position object 22,-40,0,70
position object 21,-30,0,50
position object 20,-30,0,70
position object 19,-20,0,50
position object 18,-20,0,70
position object 17,0,0,70
position object 16,10,0,70
position object 15,-10,0,70
position object 14,-30,0,30
position object 13,-10,0,50
position object 12,10,0,50
position object 11,-10,0,40
position object 10,10,0,40
position object 8,10,0,30
position object 9,-10,0,30
position object 6,10,0,20
position object 7,-10,0,20
position object 5,-10,0,10
position object 3,-10,0,0
position object 2,10,0,0
position object 4,10,0,10
make Object Collision Box 2,-5,-5,-5,5,5,5,0
make object collision box 3,-5,-5,-5,5,5,5,0
make object collision box 4,-5,-5,-5,5,5,5,0
make object collision box 5,-5,-5,-5,5,5,5,0
make object collision box 6,-5,-5,-5,5,5,5,0
make object collision box 7,-5,-5,-5,5,5,5,0
make object collision box 8,-5,-5,-5,5,5,5,0
make object collision box 9,-5,-5,-5,5,5,5,0
make object collision box 10,-5,-5,-5,5,5,5,0
make object collision box 11,-5,-5,-5,5,5,5,0
make object collision box 12,-5,-5,-5,5,5,5,0
make object collision box 13,-5,-5,-5,5,5,5,0
make object collision box 14,-5,-5,-5,5,5,5,0
make object collision box 15,-5,-5,-5,5,5,5,0
make object collision box 16,-5,-5,-5,5,5,5,0
make object collision box 17,-5,-5,-5,5,5,5,0
make object collision box 18,-5,-5,-5,5,5,5,0
make object collision box 19,-5,-5,-5,5,5,5,0
make object collision box 20,-5,-5,-5,5,5,5,0
make object collision box 21,-5,-5,-5,5,5,5,0
make object collision box 22,-5,-5,-5,5,5,5,0
make object collision box 23,-5,-5,-5,5,5,5,0
make object collision box 24,-5,-5,-5,5,5,5,0
make object collision box 25,-5,-5,-5,5,5,5,0
make object collision box 26,-5,-5,-5,5,5,5,0
make object collision box 27,-5,-5,-5,5,5,5,0
make object collision box 28,-5,-5,-5,5,5,5,0
make object collision box 29,-5,-5,-5,5,5,5,0
make object collision box 30,-5,-5,-5,5,5,5,0
make object collision box 31,-5,-5,-5,5,5,5,0
make object collision box 32,-5,-5,-5,5,5,5,0
make object collision box 33,-5,-5,-5,5,5,5,0
make object collision box 34,-5,-5,-5,5,5,5,0
make object collision box 35,-5,-5,-5,5,5,5,0
make object collision box 36,-5,-5,-5,5,5,5,0
make object collision box 37,-5,-5,-5,5,5,5,0
make object collision box 38,-5,-5,-5,5,5,5,0
make object collision box 39,-5,-5,-5,5,5,5,0
make object collision box 40,-5,-5,-5,5,5,5,0
make object collision box 41,-5,-5,-5,5,5,5,0
make object collision box 42,-5,-5,-5,5,5,5,0
make object collision box 43,-5,-5,-5,5,5,5,0
make object collision box 44,-5,-5,-5,5,5,5,0
make object collision box 45,-5,-5,-5,5,5,5,0
make object collision box 46,-5,-5,-5,5,5,5,0
make object collision box 47,-5,-5,-5,5,5,5,0
make object collision box 48,-5,-5,-5,5,5,5,0
make object collision box 49,-5,-5,-5,5,5,5,0
make object collision box 50,-5,-5,-5,5,5,5,0
make object collision box 51,-5,-5,-5,5,5,5,0
make object collision box 52,-5,-5,-5,5,5,5,0
make object collision box 53,-5,-5,-5,5,5,5,0
make object collision box 54,-5,-5,-5,5,5,5,0
make object collision box 55,-5,-5,-5,5,5,5,0
make object collision box 56,-5,-5,-5,5,5,5,0
make object collision box 57,-5,-5,-5,5,5,5,0
make object collision box 58,-5,-5,-5,5,5,5,0
make object collision box 60,-5,-5,-5,5,5,5,0
texture object 1,1
color object 59, rgb (0,0,225)
rem controles
1:
position object 1,0,0,0
do
Make Object Collision Box 1,-5,-5,-5,5,5,5,0
XPos#=0: YPos#=2.5: ZPos#=0
XPos#=Object Position X(1)
YPos#=Object Position Y(1)
ZPos#=Object Position Z(1)
Rem The sliding collision bit
If Object Collision(1,0)>0
Dec XPos#,Get Object Collision X()
Dec YPos#,Get Object Collision Y()
dec ZPos#,Get Object Collision Z()
Endif
Position Object 1,XPos#,YPos#,ZPos#
Angle#=Object Angle y(1)
CamDist#=40.0 : CamHeight#=YPos#+10.0 : Camsmooth#=3.5
Set Camera To Follow XPos#,YPos#,ZPos#,Angle#,CamDist#,CamHeight#,CamSmooth#,0
text 50,0, "arrow keys to move, enter to reset, space to meow"
text 50,10, "objective= get to the blue square"
rem cube control
if upkey()=1 then move object 1,.5: texture object 1,1
if downkey()=1 then move object 1,-.5: texture object 1,1
if leftkey()=1 then move object left 1,.5:texture object 1,1
if rightkey()=1 then move object right 1,.5: texture object 1,1
if spacekey()=1 then stop sound 1: play sound 2: texture object 1,1
if returnkey()=1 then POSITION OBJECT 1, 0,0,0: texture object 1,1
if shiftkey()=1 then play sound 1: texture object 1,2: position object 1,0,0,0
if shiftkey()=1 and returnkey()=1 then position object 11,0,0,10: position object 58,0,0,50: position object 59,0,-10,20: position object 7,0,0,30: position object 10,-10,0,40: position object 12,30,0,0: color object 14, rgb (0,0,0)
loop
i cheated in a second level but i want it to be able to have different levels
tsm