|
Star field 1
5
32
1716 bytes
1324 bytes
2007-09-07 14:19:33
2007-09-07 14:19:33
Oldes (oliva.david@seznam.cz)

just another simple animation
|
|
background 0.0.0
shp_circle: Shape [
fill color 255.255.255
circle 0.5
]
spr_circle: Sprite shp_circle
spr_star1: sprite [
place spr_circle
animation [move 1 from -2x0 to 322x0 in 200 frames]
show 201 frames
doAction [ _parent.reset(this) ]
showFrame
]
spr_star2: sprite [
place spr_circle
animation [move 1 from -2x0 to 322x0 in 100 frames]
show 101 frames
doAction [ _parent.reset(this) ]
showFrame
]
spr_star3: sprite [
place spr_circle
animation [move 1 from -2x0 to 322x0 in 50 frames]
show 51 frames
doAction [ _parent.reset(this) ]
showFrame
]
exportAssets [spr_star1 "star0" spr_star2 "star1" spr_star3 "star2"]
doAction [
reset: func[o][
o._yscale: o._xscale: 100 + random 100
o._y: random 200
o.gotoAndPlay(1)
]
for i 1 220 1 [
this.attachMovie(("star" add random 3) ("s" add i) i)
o: eval(eval("s" add i))
o._y: random 200
o._yscale: o._xscale: 100 + random 100
o.gotoAndPlay((random 200))
]
]
showFrame
end
|