The Daily Click ::. Forums ::. Klik Coding Help ::. Custom hi-score object tutorials?
 

Post Reply  Post Oekaki 
 

Posted By Message

Chrisbo



Registered
  02/01/2002
Points
  794
21st July, 2009 at 01:27:38 -

Hey, I seem to remember a while back seeing some hi-score tutorials that don't use the hi-score object. I'm starting to get to the stage in my game where the actual game portion is finished, and now I'm rounding out all the non-game screens. I had planned on using the standard hi-score object, but it's not going to work the way I need it to. (Mainly I need it to be visible on top of an active object.) I've also considered creating an online hi score, but that's just a thought. I'd really like to mainly just get a standard one going.

Does anybody know of a tutorial, or have any examples already done?

Thanks!

 
hay

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
21st July, 2009 at 01:41:45 -

Why not just use an array?
Make a loop that checks if the new score is higher than the saved scores, starting by the last one.

 
...

Chrisbo



Registered
  02/01/2002
Points
  794
21st July, 2009 at 03:35:25 -

Hey thanks for the suggestion. I began messing around with that but ended up just using some strings that can be viewed in front of actives. I didn't realize I could set those to the specific score entry. Looks like I'll be set for now!

 
hay

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
21st July, 2009 at 03:39:17 -

Perhaps jou could use layers, and set the high-score object in the top-most layer?

 

  		
  		

Chrisbo



Registered
  02/01/2002
Points
  794
21st July, 2009 at 05:56:16 -

I bet that'd work too. I didn't even think of that. Oh well. By using the string and counters, I can precicely space each item where I need it, rather than having it in a set list.

 
hay
   

Post Reply



 



Advertisement

Worth A Click