# My first game

**URL:** <https://forum.kirupa.com/t/my-first-game/35188>\
**Category:** design\
**Created:** [November 11, 2003, 1:53pm UTC](https://forum.kirupa.com/t/my-first-game/35188 "2003-11-11T13:53:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soul814](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Soul814](https://forum.kirupa.com/u/Soul814)\
**Post date:** [November 11, 2003, 1:53pm UTC](https://forum.kirupa.com/t/my-first-game/35188/1 "2003-11-11T13:53:13Z")

</div>

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.fla)  
[http://www.toon-network.com/first.html](http://www.toon-network.com/first.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 2:18pm UTC](https://forum.kirupa.com/t/my-first-game/35188/2 "2003-11-11T14:18:30Z")

</div>

here is a tutorial for adding a timer

[http://www.edmack.com/flash\_tutorials/index.php?page=simpleAS&sub=timer](http://www.edmack.com/flash_tutorials/index.php?page=simpleAS&sub=timer)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 2:30pm UTC](https://forum.kirupa.com/t/my-first-game/35188/3 "2003-11-11T14:30:22Z")

</div>

ahh useful thx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 3:15pm UTC](https://forum.kirupa.com/t/my-first-game/35188/4 "2003-11-11T15:15:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 5:52pm UTC](https://forum.kirupa.com/t/my-first-game/35188/5 "2003-11-11T17:52:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 9:51pm UTC](https://forum.kirupa.com/t/my-first-game/35188/6 "2003-11-12T21:51:21Z")

</div>

eh how would you make a high score tablet?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 10:08pm UTC](https://forum.kirupa.com/t/my-first-game/35188/7 "2003-11-12T22:08:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 10:43pm UTC](https://forum.kirupa.com/t/my-first-game/35188/8 "2003-11-12T22:43:24Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 1:34am UTC](https://forum.kirupa.com/t/my-first-game/35188/9 "2003-11-13T01:34:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 2:45am UTC](https://forum.kirupa.com/t/my-first-game/35188/10 "2003-11-13T02:45:17Z")

</div>

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](http://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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 4:58am UTC](https://forum.kirupa.com/t/my-first-game/35188/11 "2003-11-13T04:58:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 9:15pm UTC](https://forum.kirupa.com/t/my-first-game/35188/12 "2003-11-13T21:15:54Z")

</div>

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](http://www.toon-network.com/first.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 14, 2003, 1:23am UTC](https://forum.kirupa.com/t/my-first-game/35188/13 "2003-11-14T01:23:54Z")

</div>

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