A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: High Score / Players Name List - How To ?

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    11

    High Score / Players Name List - How To ?

    Im using AS2

    Im not sure where to start but I would like to add to my bubble pop game a high score, users name list.

    How would I go about this?

    The game will be on a website, as a class activity. I would like to record the names of the players - and if possible their scores.

    I was thinking the best place to add with would be at the end of the 60 second clock/timer I have. Here is the code for the clock - is this where I start ?

    Code:
    onClipEvent (enterFrame) {
    	if (_root.time == 30) {
    		_root.speedz = 9;
    		_root.intervaln = 30;
    	}
    	if (_root.time == 10) {
    		_root.intervalz = 10;
    	}
    	if (_root.time ==0) {
    		_root.gotoAndStop(3);
    	}
    }

  2. #2
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    760
    If it is a small amount of you only need a server side language to save the data onto a file. If you need it to be more robust you may need a database as well.
    [SIGPIC][/SIGPIC]

  3. #3
    When you know are. Son of Bryce's Avatar
    Join Date
    Aug 2002
    Location
    Los Angeles
    Posts
    838
    Yeah, unless you want to build your own system just use something like Mochi for high scores.

    If you want to build a high score system with PHP and MySQL, there should be plenty of tutorials if you search this forum, google, YouTube, etc.

    I'd suggest just trying Mochi and eventually building something else when you get around to it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center