My first game

I’ve been using flash mx for about a week now, and i’ve looked over some advanced tutorials such as (games keeping score, creating text scroller, loading text from external sources). I decided to make a game similar to (Wack a mole) after looking at the “Game Keeping Score” tutorial.

Here is my file… Is there another way thats quicker to write it up? Since if i follow this way. I will have to generate more random numbers and create some boxes that get you negative points.

  • How do you make a timer, so when the time runs out you lose. Any suggestions on what i can do?

My goal: trying to learn macromedia flash and make an all flash website and make flash games. Even tho i’m probably not going to maintain a career in this area.

links
http://www.toon-network.com/first.fla
http://www.toon-network.com/first.html

here is a tutorial for adding a timer

http://www.edmack.com/flash_tutorials/index.php?page=simpleAS&sub=timer

ahh useful thx

how would i make it so you lose points if you dont touch a box?
put another if statement?

heres an example of how you can do it, i made the targets MCs instead of buttons, i find them easier to work with…

eh how would you make a high score tablet?

you should make your last point (the point when the game is finished) variable and than write that variable to the high score table. But if you want to keep scores even if you close the game, i think you must create a database and i dont know the D of database.

yeah, you need to know php or another server side scripting language

that’s very good for your first week of flash btw

**** that game is hard. Good job, it good for your first week of flash.

heh thanks… i just added 2 levels… i just looked at my .fla… well the new one which i gotta upload soon… and its very confusing lol…

www.toon-network.com/first.html

edit >>
if you can load an external text file cant you export a dynamic text to a txt file? and then run a quick sort or something on the file?

hey soul814, your taking away points thing is seriously fecked. You should only have it take away points if the person clicks and misses.

umm yea… i fixed it up w/ a newer verison… you lose one point for each one that appears, but if you click the square you gain 11 points… meaning you gain 1 back for it… and if you click on any white surface you lose 5 points… should i just leave the lose 5 points for hitting the surface and take out the -1 point?

www.toon-network.com/first.html

updated to verison 1.3 (with 4 levels now) opinions please?