![Image](http://wiki.pixi.su/_media/demo:mult.png?w=&h=&cache=cache)
Code: Select all
o=SNEG
tank="
o.o.o.o
.o.o.o.
o.o.o.o
+
ooooooo
.o.o.o.
ooooooo
"
make_pixi(tank)
o=RED
fire="
oooooo
.oooo
..oo
+
oooooo
oooo
oo
+
oooooo
..oo
+
oooooo
..oooo
....oo
"
make_pixi(fire)
o=SNEG
pups="
..o....o
.oooooooo
oo..oo..oo
oooo..oooo
oooooooooo
.oooooooo
..oo..oo
.oooooooo
.oooooooo.
..oo..oo..
+
..o....o
.oooooooo
oooooooooo
oooo..oooo
oooooooooo
.oooooooo
..oo..oo
.oooooooo
.oooooooo.
..oo..oo..
"
make_pixi(pups)
x=-100
y=0
s=10
f=1
xxz=200
start:
clear()
x=x+s
if x=0 {s=0 xz+10
fbox(4,9,8,xz,SNEG)
fbox(-12,9,8,xz,SNEG)}
if xz>200 {xxz-10
pixi(tank,xxz,45,12)
fbox(xxz+40,35,-xxz*8,20,BLACK)}
if xxz<-80 {box(35,-40,60,20,SNEG)
box(25,-20,10,10,SNEG)
print("ups....",40,-32,SNEG)}
if xxz<-180{y=y-10
box(35,-40,60,20,BLACK)
box(25,-20,10,10,BLACK)
print("ups....",40,-32,BLACK)
pixi(fire,-10,y+25,1)
pixi(fire,10,y+25,1)
}
if y<-200{print("end",-13,40,SNEG)}
pixi(pups,x,y,4)
frame(70)
go start