Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 9th, 2025, 11:29 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: HighScore Table
PostPosted: December 9th, 2008, 2:24 pm 
Offline

Joined: May 17th, 2007, 9:26 am
Posts: 35
Hi, I'm having trouble getting my head round this.

I have a task takes a certain amount of time and I have managed to express this time as a variable. Each time this task is complete I want to judge this time against previous times and tell the participant how they have done.

I think that to just store the best time of the day, and report each time someone beat it, would be quite simple, but to store say the top 10, and then make each one of those move down a place as a new top score is gained, is much harder. Is there a way to do this? I have not yet tried any scripting and wouldn't know where to start. Would I need to use a data base?

Cheers

RB

_________________
Opus Professional v8.03;
Windows 7 64-Bit Home Premium; CPU: Intel i5 750; 12GB RAM; ATI Radeon HD 5800 running triple monitor setup


For this message R. Bullets has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: December 9th, 2008, 4:41 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Yes a database is a simple (relatively speaking & excuse the pun) way of achieving this.

You'd simply write the game score to the corresponding fields (such as player name, score, date) and then read back the information into your table which would be an array(s).

By reading back the information from a query not a table you can run filters and sorts from the DB before the data gets to Opus.

See the tutorials section for the beginners guide to databases.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 13th, 2008, 9:56 pm 
Offline

Joined: May 17th, 2007, 9:26 am
Posts: 35
Thanks Mack,

I've never ventured into databases before, but I guess when needs must...

many thanks for the answer.

RB

_________________
Opus Professional v8.03;
Windows 7 64-Bit Home Premium; CPU: Intel i5 750; 12GB RAM; ATI Radeon HD 5800 running triple monitor setup


For this message R. Bullets has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group