The Daily Click ::. Forums ::. Klik Coding Help ::. Basic high score help
 

Post Reply  Post Oekaki 
 

Posted By Message

Dave S.



Registered
  26/09/2003
Points
  924
13th May, 2004 at 15:13:01 -

Right, I'm almost ready to post a (completed) game onto the click site.

It's a single screen 'snake' game. It has two versions so it could be thought of as two games in one.

This type of game must have a high score table (one for each variation). Will I have to use 'ini' files to do this?

I have read the MMF helpfile, though I didn't find it that helpful and have tried using the 'high score' object.

Thanks, Dave S. aka Orangery.



 
n/a

Willy C



Registered
  14/02/2004
Points
  1524

Game of the Week WinnerKlikCast StarPicture Me This -Round8- Winner!VIP MemberWii OwnerIt's-a me, Mario!Hero of TimeThe Cake is a LiePS3 OwnerI am an April Fool
Batman!Teddy Bear
13th May, 2004 at 15:19:07 -

two version, what do you mean? I do know one way to use INI to save values, But I have never tried to make a high-score out of it, besides Ini isnt my fortè. I suggest using the Highscore object, its very easy. what didnt work with the highscore object?

 
http://www.robocaptain.com

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
13th May, 2004 at 15:26:57 -

Sometimes when i use the highscore-object, it doesnt save my score. So when i open up the game once more, the highscore's gone... mysterical... Must been some magician at work... hmmm...

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
13th May, 2004 at 15:39:01 -

use the vitalize plugin object

use an edit object for the person's name

User clicks on [add high score button]
=Open URL "http://www.yoursite.com/addscore.php?&score=" + Str$( value( "Counter" )


Then you need your online scoreboard and the add score pages

However, unless you use some kind of security method, it'd be easy to hack

 
My signature is never too big!!!

Dave S.



Registered
  26/09/2003
Points
  924
13th May, 2004 at 16:49:38 -

Scorpion, it's not an online game, it'll be just for peeps to download from the site.

Monkey, the game is just two screens, each one a seperate game. That's why I need two high score tables.

I have tried tinkering with the 'highscore' object but didn't get anywhere with it. Maybe I just didn't try hard enough!

Thanks, Dave S.

 
n/a

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
13th May, 2004 at 17:43:56 -

OMG! So, you mean that there weren't a magician after all? Geez Man! You're my new master...

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

Dave S.



Registered
  26/09/2003
Points
  924
14th May, 2004 at 02:31:30 -

Phizzy, I think you're right. High scores are now saved but the game uses the same high score table for both versions... remember this is two games in one.

It might have something to do with me cloning the first high score table into the second game version even though it is now called 'highscore 2'... hmmm.

Over and out, Dave S.

 
n/a

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
14th May, 2004 at 02:49:08 -

Dont use the high-score object, its pretty pointless.
Use the ini-object and have Edit objects for names, and Counters for score.

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
14th May, 2004 at 13:30:08 -

I have two examples on my site of using an INI to make a high score system. One of them also uses the file encoder object to encrypt the scores.

You can download this one here (for MMF):
http://www.fpp-games.com/downloads/Advanced_High_Score_MMF.zip

Or the simpler version (no encryption):
http://www.fpp-games.com/downloads/High_Score.zip

 
n/a

Dave S.



Registered
  26/09/2003
Points
  924
14th May, 2004 at 13:47:20 -

Arf... looking at the highscore.gam file now.

Did you ever finish 'Caves of Doom'... I beta tested it remember?

Cheers all, Dave S.

 
n/a

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
14th May, 2004 at 17:14:17 -

Ah yes, I thought I recognised the name but I couldn't remember where from! I got sidetracked with another project called "Brick Chucker" unfortunately. This should be finished soon though, so I might be able to continue with The Depths Of Doom afterwards.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click