-
Arcade Game
I did an arcade spacegame and I have put a link to the game below. It is simple and has only one ship. I followed a tutorial from flashkit>>games>>creating games in flash 5 by David Doull. I learned to nav the ship from this forum. Also the moderator Johnie told me to use the math.random function since random is not supported in koolmoves. Necro supplied info on key movement with sound. Mabey someone else can improve on this funfile.
The Game
http://home.att.net/~diversioncentra..._invasion.html
the funfile
the sound files are at http://home.att.net/~diversioncentral/kool_invasion.fun
http://home.att.net/~diversioncentral/cannon.wav
http://home.att.net/~diversioncentral/lasergunecho.wav
http://home.att.net/~diversioncentral/boom.wav
(I can not seem to upload a zip file:confused: )
-
onClipEvent (load) {
function reset(){
this._x=600;
this._y=random(200)+100;
enemySpeed=random(4)+1;
}
reset();
}
Random() is actually a deprctiated Flash 4 AS. Almost all of the Flash 4 depreciated syntax has to be removed as it is not supported. To be honest they shouldn't have used it in this tut.
anyhow Math.Random usage tut is here http://www.actionscript.org/tutorial...ns/index.shtml
onClipEvent (load) {
function reset(){
this._x=600;
this._y=Math.round(Math.random()*(300-200))+200;
enemySpeed=Math.round(Math.random()*(5-4))+4;
}
reset();
}
-
-
Nailed a few zeti reticulli! :)