Unexpected variable/ background
-
Lin9 what am I missing? -
It looks like you have a misplaced bracket at the start of line 8. If you remove that and then edit line 9 to:
drawImage( background, -screenx, -screeny, screenh / imageSize( background ).y )
that should work, I think :)
-
I looks like you've got an unnecessary bracket at the start of line of 8, and a missing comma and missing bracket on line 9.
You also have named the variable on line 3 as
sceeny
when I think you meantscreenY
- your program should read:background = loadImage("Selavi Games/bedroom") // No need for the false screenx = 0 screeny = 0 loop clear() screenw = gwidth() screenh = gheight() drawImage(background, screenx, -screeny, screenh/imagesize(background).y) update() repeat
Hope this helps.
-
Thank guys for all your help, I got working.