home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Diversos
/
dragon.swf
/
scripts
/
DefineSprite_331_deb_plank_1
/
frame_1
/
DoAction.as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2008-09-12
|
275 b
|
15 lines
function step()
{
_X = _X + vx;
_Y = _Y + vy;
vy += 0.1;
_rotation = _rotation + vx * 10;
if(_Y > ylimit)
{
this.unloadMovie();
}
}
vx = (random(100) - 50) / 50;
vy = (- random(100) - 20) / 50;
ylimit = _parent._parent.g_ground + 50;