Hi there,
i try to modify some code to create a scrool effect (i know thats sound cool), but there is only two image appear .
x=20 : rem Counter number - when to switch to frame 2
y=40 : rem Counter number - when to switch to frame 3
z=60 : rem Counter number - when to switch to frame 4
w=80 : rem
r=100 : rem
main
COLUPF=28
COLUBK=0
b=b+1
if b>120 then b=0
if b=x then goto frame1
if b=y then goto frame2
if b=y + 20 then goto frame3
if b=y + 40 then goto frame4
if b=y + 60 then goto frame5
drawscreen
framereturn
goto main
frame1
playfield:
............XX.............X....
...........X..X............X....
..........X....X...........X....
.........X......X...............
........X........X..............
.......X..........X.............
......X............X............
.....X..............X...........
....X................X..........
...X..................X.........
..X....................X........
.X......................X.......
end
goto framereturn
frame2
playfield:
.........XX..........XX.........
........X..X..........X.........
.......X....X.........XX........
......X......X..................
.....X........X.................
....X..........X................
...X............X...............
..X..............X..............
.X................X.............
X..................X............
....................X..........X
.....................X........X.
end
goto framereturn
frame3
playfield:
....XX................XXX.......
...X..X.................X.......
..X....X..............XXX.......
.X......X.......................
X........X......................
..........X....................X
...........X..................X.
............X................X..
.............X..............X...
..............X............X....
...............X..........X.....
................X........X......
end
frame4
playfield:
XX....................X.........
..X...................X........X
...X..................XXX.....X.
....X..................X.....X..
.....X......................X...
......X....................X....
.......X..................X.....
........X................X......
.........X..............X.......
..........X............X........
...........X..........X.........
............X........X..........
end
frame5
playfield:
.............XX.............XX..
.............XX............X..X.
.............XX...........X....X
X........................X......
.X......................X.......
..X....................X........
...X..................X.........
....X................X..........
.....X..............X...........
......X............X............
.......X..........X.............
........X........X..............
end
goto framereturn