I'm not sure if this is breaking a rule or not. I have another thread regarding a similar issue, and I asked this in my last comment there, but it's been a few days, and I feel like the thread has been forgotten since the main issue has been resolved.
Anywho, if it's not breaking a rule: I have my game running all nice and shiny, with it's background and all, but when I hit 'w' to go into Window Mode the background image goes away. The game still works, but it doesn't look as shiny. How do I fix this?
I'm using the Paste Image command [paste image 1, 0 , 0]
Umm...I'm just going to copy / paste the main bit of code, just in case.
```````````````````````MAIN LOOP PART ONE : HARD`````````````````````````````
hard:
cls
`Main Loop
do
`game label
game:
cls
paste image 1, 0, 0
`Color Changes
if score < 100 then ink rgb(255,200,5),0
if score > 100 and score < 200 then ink rgb(200,255,5),0
if score > 200 and score < 300 then ink rgb(5,200,255),0
if score > 300 and score < 400 then ink rgb(5,255,200),0
if score > 400 and score < 500 then ink rgb(200,5,255),0
if score > 500 then ink rgb(rnd(255),rnd(255),rnd(255)),0
`Text
set cursor 75, 10 : print Str$(bomb) : set cursor 10, 10 : print "Bombs: " : set cursor 10, 25 : print "Score: " : set cursor 75, 25 : print Str$(score)
set cursor 10, 40 : print "Laser: " : set cursor 75, 40 : print Str$(laserwidth)
`Controls
playerx = mousex()
`pausing and quitting
if inkey$()="p" then goto pause
if inkey$()="q" then goto quit
`bombs and window mode
if bomb > 0 and inkey$()="x" then dec bomb,1 : ex1 = 15 : ex2 = 15 : ex3 = 15 : ex4 = 15 : ex5 = 15 : ex6 = 15 : ex7 = 15 : ex8 = 15 : inc score, rnd(15)+2 : play sound 2 : wait 1500
if inkey$()="w" then set window on
`shooting and registering hits
`shooting
xr = 12
yr = 2
if score > 100 then xr = xr+5 : if score > 200 then xr = xr+5 : if score > 300 then xr = xr+5
dec ly,15
ellipse lx, ly, xr, yr
if ly < 0 and mouseclick()= 1 then lx = playerx : ly = playery : play sound 1
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
`hit resgistery
if lx < ex1+19 and lx > ex1-19 and ly < ey1+25 and ly > ey1-25 then ey1 = rnd(275) : ex1 = 10 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if lx < ex2+19 and lx > ex2-19 and ly < ey2+25 and ly > ey2-25 then ey2 = rnd(275) : ex2 = 20 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if lx < ex3+19 and lx > ex3-19 and ly < ey3+25 and ly > ey3-25 then ey3 = rnd(275) : ex3 = 15 : inc score,5 : item = rnd(50) : if item = 15 then inc bomb : item = 0
if lx < ex4+19 and lx > ex4-19 and ly < ey4+25 and ly > ey4-25 then ey4 = rnd(275) : ex4 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if lx < ex5+19 and lx > ex5-19 and ly < ey5+25 and ly > ey5-25 then ey5 = rnd(275) : ex5 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex1+24 and lx > ex1-24 and ly < ey1+25 and ly > ey1-25 then ey1 = rnd(275) : ex1 = 10 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex2+24 and lx > ex2-24 and ly < ey2+25 and ly > ey2-25 then ey2 = rnd(275) : ex2 = 20 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex3+24 and lx > ex3-24 and ly < ey3+25 and ly > ey3-25 then ey3 = rnd(275) : ex3 = 15 : inc score,5 : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex4+24 and lx > ex4-24 and ly < ey4+25 and ly > ey4-25 then ey4 = rnd(275) : ex4 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex5+24 and lx > ex5-24 and ly < ey5+25 and ly > ey5-25 then ey5 = rnd(275) : ex5 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 100 and lx < ex6+24 and lx > ex6-24 and ly < ey6+25 and ly > ey6-25 then ey6 = rnd(275) : ex6 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex1+29 and lx > ex1-29 and ly < ey1+25 and ly > ey1-25 then ey1 = rnd(275) : ex1 = 10 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex2+29 and lx > ex2-29 and ly < ey2+25 and ly > ey2-25 then ey2 = rnd(275) : ex2 = 20 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex3+29 and lx > ex3-29 and ly < ey3+25 and ly > ey3-25 then ey3 = rnd(275) : ex3 = 15 : inc score,5 : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex4+29 and lx > ex4-29 and ly < ey4+25 and ly > ey4-25 then ey4 = rnd(275) : ex4 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex5+29 and lx > ex5-29 and ly < ey5+25 and ly > ey5-25 then ey5 = rnd(275) : ex5 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex6+29 and lx > ex6-29 and ly < ey6+25 and ly > ey6-25 then ey6 = rnd(275) : ex6 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 200 and lx < ex7+29 and lx > ex7-29 and ly < ey7+25 and ly > ey7-25 then ey7 = rnd(275) : ex7 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex1+34 and lx > ex1-34 and ly < ey1+25 and ly > ey1-25 then ey1 = rnd(275) : ex1 = 10 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex2+34 and lx > ex2-34 and ly < ey2+25 and ly > ey2-25 then ey2 = rnd(275) : ex2 = 20 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex3+34 and lx > ex3-34 and ly < ey3+25 and ly > ey3-25 then ey3 = rnd(275) : ex3 = 15 : inc score,5 : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex4+34 and lx > ex4-34 and ly < ey4+25 and ly > ey4-25 then ey4 = rnd(275) : ex4 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex5+34 and lx > ex5-34 and ly < ey5+25 and ly > ey5-25 then ey5 = rnd(275) : ex5 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex6+34 and lx > ex6-34 and ly < ey6+25 and ly > ey6-25 then ey6 = rnd(275) : ex6 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex7+34 and lx > ex7-34 and ly < ey7+25 and ly > ey7-25 then ey7 = rnd(275) : ex7 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and lx < ex8+34 and lx > ex8-34 and ly < ey8+25 and ly > ey8-25 then ey8 = rnd(275) : ex8 = 25 : inc score : item = rnd(50) : if item = 15 then inc bomb : item = 0
if score > 300 and score < 450 and lx < bx+70 and lx > bx-70 and ly < by+70 and ly > by-70 then inc score
`Draw Player
circle playerx, playery, playerr : circle playerx, playery, rnd(5)+3 : ellipse playerx+14, playery-10, 2, 20 : ellipse playerx-14, playery-10, 2, 20 : ellipse playerx+18, playery-15, 2, 6 : ellipse playerx-18, playery-15, 2, 6
`Draw Enemies
circle ex1, ey1, 7 : circle ex2, ey2, 7 : circle ex3, ey3, rnd(5)+5 : circle ex4, ey4, 7 : circle ex5, ey5, 7 : if score > 100 then circle ex6, ey6, rnd(5)+5 : if score > 200 then circle ex7, ey7, 7 : if score > 300 then circle ex8, ey8, 7
if score > 300 and score < 450 then circle bx, by, 35
`Enemy Movement
move=0
if move=0 then inc ex1,4 : inc ex2,3 : inc ex3,4 : inc ex4,3 : inc ex5,4
if move = 0 and score > 100 then inc ex6,5
if move = 0 and score > 200 then inc ex7,6
if move = 0 and score > 300 then inc ex8,7
if move = 0 and score > 300 and score < 450 then inc bx,2
`Enemy Boundaries and Fail
if ex1 >= 635 then goto fail : if ey1 <= 6 then ey1 = 10 : if ey8 >= 290 then ey1 = 290
if ex2 >= 635 then goto fail : if ey2 <= 6 then ey1 = 10 : if ey8 >= 290 then ey2 = 290
if ex3 >= 635 then goto fail : if ey3 <= 6 then ey1 = 10 : if ey8 >= 290 then ey3 = 290
if ex4 >= 635 then goto fail : if ey4 <= 6 then ey1 = 10 : if ey8 >= 290 then ey4 = 290
if ex5 >= 635 then goto fail : if ey5 <= 6 then ey1 = 10 : if ey8 >= 290 then ey5 = 290
if ex6 >= 635 then goto fail : if ey6 <= 6 then ey1 = 10 : if ey8 >= 290 then ey6 = 290
if ex7 >= 635 then goto fail : if ey7 <= 6 then ey1 = 10 : if ey8 >= 290 then ey7 = 290
if ex8 >= 635 then goto fail : if ey8 <= 6 then ey1 = 10 : if ey8 >= 290 then ey8 = 290
`Winning the Game
if score > 500 and score < 550 then goto win
sync
loop
-Teh Nub-