Test my game

this is just the basic stuff
the blocks will be changed to cars and i might add some sound effects
if you get any bugs let me know

http://www.weazolink.com/look.html

by the way this is my very first game

you can move the corpse… thats creepY!

Upload the .fla and I’ll do the random code for ya if ya want.

cheesy_x: it is quite bizarre ain’t it.

dude, its a crawling zombie!

www.weazolink.com/look.fla

the three problems i have right now are
randomizing the cars
the moving corpse
and the high scores wont show at the beggining

if you can help me out thatd be great

i’ll post it once im done.

ok thanks

ummm
put this in ur actions frame assuming that the fla is 500 pixel in width(i won;t put a with statement so its easier to understand
_global.speed=10
car.onEnterFrame = function(){
if (car._x > 500){
_global.speed=random(40)
car._x = -50
}
car._x = car._x + speed
}
that works for me if i have a instance named car
just copy and paste that script for each car u have and replace it with car1 hen car 2 or so

doesnt work… cars appear out of nowhere

im on it captain!

Hmm, this is interesting…

onClipEvent (enterFrame) {
if (_root.boy, hitTest(_root.block)) {
_root.board.lives = _root.board.lives-1;
tellTarget ("_root.blood") {
gotoAndPlay(2);
#endinitclip
}
}
}

INVULNERABILITAY!

how is that invulnerabilitay?

oh lol…i see it now… except you cant win now

ok, I can’t get to a comp. with flash on it for at least a couple of days so here goes.
First, get rid of the tweens in the movie clips.
Secondly, go back to the main timeline and click on one of the cars and add this code:

On clipevent (load){
speed = random(20)
}
On clipEvent (enterFrame){
this._x += speed;
if (this._x >= 500){
this._x = -20;
speed = random(20)
}
}

Or something like that. Change the + and > if you want them to go in the oppisite direction. Also have a code which says if speed < 5 then speed = 5. Hope it helps, post up if you have any troubles.

-Skinny