# High scores

**URL:** <https://forum.kirupa.com/t/high-scores/5193>\
**Category:** Uncategorized\
**Created:** [September 4, 2002, 5:15am UTC](https://forum.kirupa.com/t/high-scores/5193 "2002-09-04T05:15:05Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![kateamen](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@kateamen](https://forum.kirupa.com/u/kateamen)\
**Post date:** [September 4, 2002, 5:15am UTC](https://forum.kirupa.com/t/high-scores/5193/1 "2002-09-04T05:15:05Z")

</div>

can anyone help me with high scores?

i just wanted to know if it was possible to make a high score list in my game (e.g top ten scores) just using just flash program.

so…

is that possible???

thanks a bunch.

– kate 🙂

---

<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:** [September 4, 2002, 5:37am UTC](https://forum.kirupa.com/t/high-scores/5193/2 "2002-09-04T05:37:04Z")

</div>

I think using a PHP page to handle this would be the best way, but I am not totally sure…anyone else?

---

<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:** [September 4, 2002, 6:08am UTC](https://forum.kirupa.com/t/high-scores/5193/3 "2002-09-04T06:08:43Z")

</div>

a PHP page???

uhmmmm… is there no way for just Flash to work its magic with it???

would really appreciate it if anybody has anymore  
comments/suggestions/violent reactions??? :rambo:

🙂 🙂 🙂

thanks!

–Kate

---

<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:** [September 4, 2002, 6:24am UTC](https://forum.kirupa.com/t/high-scores/5193/4 "2002-09-04T06:24:46Z")

</div>

well you could do it with flash I am sure… youd have to store the score in a var then using if statements determine if it is larger then the lowest score… after that determine where to display it (obviously only if it is larger), and place it in the appropriate dynamic text field ( ie score\_4 )  
hope this gets you started  
Peace

---

<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:** [September 4, 2002, 6:34am UTC](https://forum.kirupa.com/t/high-scores/5193/5 "2002-09-04T06:34:59Z")

</div>

I really only said php because of its ease of use and it wont add anything to your swf size - plus I am really enjoying the functionality of php right now with my current projects, so I am kinda partial =) but truthfully FLASH can handle this.

Peace

---

<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:** [September 4, 2002, 6:45am UTC](https://forum.kirupa.com/t/high-scores/5193/6 "2002-09-04T06:45:57Z")

</div>

hey! thanks!!! 🙂

at least i know now that it can be done…

but…

HOW???

now can anyone help me with that???

like tell me of a tutorial or teach me how…

be my yoda!!!

thanks!

– Kate 😛

---

<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:** [September 4, 2002, 7:03am UTC](https://forum.kirupa.com/t/high-scores/5193/7 "2002-09-04T07:03:50Z")

</div>

are you just starting at AS? not trying to belittle you at all! I ask this also because some people dont mind “copy and past” methods of coding while others would rather be shown a direction and helped along the way… I’ll help you out (and prob you’ll be shown a better way anyway by one of our masters here =) ), pretty much do you want to see the code?

Peace

also it can be done easily with PHP - are agianst this? if so why?

---

<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:** [September 4, 2002, 7:06am UTC](https://forum.kirupa.com/t/high-scores/5193/8 "2002-09-04T07:06:16Z")

</div>

bottom line for me is I learn… whether it’s cut and paste or walking in the dark towards the light…

could you???

I mean paste the code in???

would appreciate it a whole lot too…

thanks again ryall… 🙂

---

<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:** [September 4, 2002, 7:06am UTC](https://forum.kirupa.com/t/high-scores/5193/9 "2002-09-04T07:06:56Z")

</div>

sorry I just updated my post… about the PHP???

---

<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:** [September 4, 2002, 7:12am UTC](https://forum.kirupa.com/t/high-scores/5193/10 "2002-09-04T07:12:45Z")

</div>

php??

oh so it’s not the Flash way of doing it???

okay could you kindly paste it in anyway?

i’ll see if my mind can handle it…

🙂

* * *

for anyone who knows of a flash high score thing like ryall said with var and stuff… kindly post… just in case i don’t get the PHP thing.

would appreciate it a whole lot! 🙂

---

<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:** [September 4, 2002, 7:51am UTC](https://forum.kirupa.com/t/high-scores/5193/11 "2002-09-04T07:51:37Z")

</div>

I’ll post some code for you tomorrow - right now I need some sleep. As for your php fears: do not fret - php is simply a page on your server with code (that is similar to C++. Java, etc, any obj orientated language.). Pretty much what would happen (if you chose to use php) is this… flash would collect the data (the score) send it to your PHP page where it would be processed, then the results would be passed back to FLASH to be displayed on your scoreboard. Sounds complicated, but really it is not. I’ll get back to you tomorrow. 🙂

Peace

---

<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:** [September 4, 2002, 8:37am UTC](https://forum.kirupa.com/t/high-scores/5193/12 "2002-09-04T08:37:05Z")

</div>

I use a PHP high score table for one of my games. It looks like Ryall will help you out, but if you have no joy and if your web hosts supports PHP, I can help you. I took me under ten minutes to get a highscore table running under PHP (have to add - it was from a tutorial and I didn’t code the PHP myself :cool:.

You have to modify the actionscript, to send and load variables and on the “ok” buttons to stop people from entering nothing, etc. which I can help you with. Anyway, like I said, if you still have probs, let me know.

---

<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:** [September 6, 2002, 5:50am UTC](https://forum.kirupa.com/t/high-scores/5193/13 "2002-09-06T05:50:16Z")

</div>

i’ve thinking about this and I was wondering if it was possible to use just flash and store all my scores and names in a txt file and retrieve it from there…:nerd:

but flex, if you can post the script here and tell me how to do it like what to change and all I would appreciate it greatly…

man this is complex!

– Kate 🙂

---

<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:** [September 6, 2002, 5:58am UTC](https://forum.kirupa.com/t/high-scores/5193/14 "2002-09-06T05:58:49Z")

</div>

First off, does your web host support PHP? If not, the table won’t work.

---

<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:** [September 6, 2002, 6:05am UTC](https://forum.kirupa.com/t/high-scores/5193/15 "2002-09-06T06:05:59Z")

</div>

this tut will do the whole thing for you pretty much… it comes with all the code and all you have to do is costomize it:

[http://www.flashkit.com/tutorials/Games/PHPMySQ-Jeroen\_d-785/index.shtml](http://www.flashkit.com/tutorials/Games/PHPMySQ-Jeroen_d-785/index.shtml)

Peace

---

<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:** [September 6, 2002, 6:06am UTC](https://forum.kirupa.com/t/high-scores/5193/16 "2002-09-06T06:06:13Z")

</div>

yes it does support it…

but first off, how does this PHP work anyway?? can you just give me a lowdown on how this works so I’d have an idea??? do I need to work with any other program other than Flash and PHP like mySQL?

coz’ i’ve been thinking about this idea of mine of just storing it all in a text file… the scores and the names of those people who got them … then everytime a high score is entered it would be retrieved from there… it’s an idea but I don’t know if that works…

thanks flex.

– kate

---

<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:** [September 6, 2002, 6:08am UTC](https://forum.kirupa.com/t/high-scores/5193/17 "2002-09-06T06:08:00Z")

</div>

The one I used was

[http://www.flashkit.com/tutorials/Games/High-sco-Glen\_Rho-657/index.shtml](http://www.flashkit.com/tutorials/Games/High-sco-Glen_Rho-657/index.shtml)

I haven’t seen the one Ryall has posted, but go with whatever is easier.

---

<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:** [September 6, 2002, 6:11am UTC](https://forum.kirupa.com/t/high-scores/5193/18 "2002-09-06T06:11:08Z")

</div>

ok m looking at both of it right now… 🙂

thanks for the help… will post when m done torturing myself learning it… 🙂

– kate
