Code: Select all
Dim wall(26)
SCREEN 791,791
FrameLimit 20
seinä=LoadObject("kuvat\wall.png")
ShowObject seinä,OFF
For i=1 To 26
wall(i)=CloneObject(seinä)
Next i
PositionObject wall(1),-118,276
PositionObject wall(2),-276,276
PositionObject wall(3),-39,276
PositionObject wall(4),40,276
PositionObject wall(5),-276,118
PositionObject wall(6),-276,39
PositionObject wall(7),-197,118
PositionObject wall(8),-197,-40
PositionObject wall(9),198,-40
PositionObject wall(10),277,-40
PositionObject wall(11),-39,197
PositionObject wall(12),198,197
PositionObject wall(13),198,118
PositionObject wall(14),119,118
PositionObject wall(15),-39,118
PositionObject wall(16),40,118
PositionObject wall(17),40,-40
PositionObject wall(18),40,-198
PositionObject wall(19),-39,-198
PositionObject wall(20),-39,-40
PositionObject wall(21),-197,-198
PositionObject wall(22),-118,-198
PositionObject wall(23),198,-198
PositionObject wall(24),277,-198
PositionObject wall(25),198,-277
PositionObject wall(26),277,-277
Repeat
DrawScreen
Forever