The Daily Click ::. Forums ::. Klik Coding Help ::. More than one scoreboard...
 

Post Reply  Post Oekaki 
 

Posted By Message

Deathbringer



Registered
  05/07/2002
Points
  1585
4th January, 2005 at 13:05:05 -

Hi, i've run into a problem in MMF, i'm trying to make a pack of games with 8 seperate games in it, but so far i have made two, and they both have hi-score tables, the problem is, sometimes the scores and names switch over, for instance game 1 has the scoreboard of game 2. If i delete the hi-score save file, it makes them normal, but as soon as i view one in the game, it sets all of them to have the scores and names of that one!. I have given them different names but that didnt do anything..

 
A signature

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
4th January, 2005 at 13:56:10 -

One way to do it would be to make all the games as seperate .exe files. That way the high-scores tables will stay seperate. You could link to the seperate games from 1 main .exe (the one the player will double-click).

 
http://soundcloud.com/normbo - Listen to my music.

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
4th January, 2005 at 15:23:38 -

Or you'd need to program your own scoreboard instead of using the default one.

 
a/n

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
8th January, 2005 at 10:35:58 -

Save the games seperately and make one main game in which you can open them (insert game).

 
Old member (~2004-2007).

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
8th January, 2005 at 10:52:29 -

I do belive using INI would be the best choice. its more safe anyway, just remeber to encrypt them.

 
http://www.robocaptain.com

Deathbringer



Registered
  05/07/2002
Points
  1585
9th January, 2005 at 11:11:24 -

Got some problems with both...

1: If i make them all seperate games in a project, when i compile the project will they all be seperate .exe's, or all put in one but functioning as seperate

2: How do i link to another game?, i was gonna make the first one the intro and main menu, then a seperate application in the project for spak invaders, another seperate app for centrefold, another app for pissile command ect ect, how would get the menu to open these different apps?

And the ini one..

1: How do i save the hi scores? i made it go to a file in appdrive, appdir ect ect, and made a group for spak invaders, but when it comes to saving the strings and score values, i'm stuck!, also do i load the scores from the ini at the start of the frame? surely loading them there will immediatley over-write any new scores with the default ones from the ini file?

And the custom board one...

1: Any examples? i imagine i could use an array combined with ini, strings and counters, but i have only used strings and counters before, not arrays or ini

 
A signature

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
16th January, 2005 at 07:01:27 -

You can also create a new frame, and choose 'application' as the frame type. Then you can select your other game file.

Another way is to use the External program extension (I forgot how it's really called), save your other games as ccn and then opening them in the extension (don't forget to set the extension's size to the entire screen).

 
Old member (~2004-2007).

Arjan Burggraaf [Eggy]



Registered
  04/01/2002
Points
  1248
28th February, 2005 at 06:21:25 -

I've made a highscore ini tutorial, a few years ago. It is still available in the downloads...

It's called something like multiple highscore list .

Hope it helps.


Eggy

 
n/a

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
28th February, 2005 at 10:21:39 -

1: If i make them all seperate games in a project, when i compile the project will they all be seperate .exe's, or all put in one but functioning as seperate

I *think* so. What you'd need to do is make them as separate exe's, but then build a 'project' in MMF. You can tell it to include these exe files so it will build them into one big one. When you run the game these mini-exe files are extracted to a temp directory, so hiscore *should* still treat them as separate games.

To refer to an file that's built into the game, you simply type its name with no directory (so if you wanted to open a file called bob.exe you'd just tell it to open "bob.exe"). Hope that's clear...


2: (already been answered)

And the ini one..

1: How do i save the hi scores? i made it go to a file in appdrive, appdir ect ect, and made a group for spak invaders, but when it comes to saving the strings and score values, i'm stuck!, also do i load the scores from the ini at the start of the frame? surely loading them there will immediatley over-write any new scores with the default ones from the ini file?

The loading is done at the start, but they're loaded into counters (or an array). Then you can check to see if the player's new score is higher than one of these saved ones. If so, you can insert it just above and shift all the others downwards.

Then you make it save the ini file again, which will save the changes.


And the custom board one...

1: Any examples? i imagine i could use an array combined with ini, strings and counters, but i have only used strings and counters before, not arrays or ini

I'll have a go for you.

 
191 / 9999 * 7 + 191 * 7
   

Post Reply



 



Advertisement

Worth A Click