Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Posts
    12

    Huh? High Score Table

    Hi,

    I'm fairly new to Autoplay (I've used it in a basic way for some time, but just getting my feet wet with variables etc). I've managed to cobble together a basic quiz type application, and would like to build in some kind of high score table, or stats section, for example so a user can see how they've done on previous tests and try to beat old scores.

    My questions are 1) what functions do I need to use to allow a user to enter their name and store this as a variable (sorry if these are basic questions), and 2) how can I get autoplay to store/access players' results when the app. is running from a CD, and what are the basic commands I'll need to master in order to do this?

    Many thanks, I look forward to enlightenment!

    TzK.

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Hi tzkennedy,

    You can use Dialog.Input for the user to enter their name. You can find out more about this in the examples given in the online help. This help file is also available by pressing F1 from the AMS5 GUI

    As for storing the info for a 'high scores' table - there are couple ways you can do that. You could write the data to a text file and store this on the users HDD, then just recall the data from the file at runtime with TextFile.ReadToTable etc. but the most obvious way is by storing the info in the registry. You could store the info in HKEY_USERS by making a key under the name of the user and store all their scores/dates etc:
    Registry.SetValue(HKEY_USERS, "My Application", "UserName", "My Data", REG_SZ);

    You can find out more about this, again, in the online help.

    Hope this helps
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  3. #3
    Join Date
    Feb 2005
    Posts
    12

    Smile High Score Table

    Derek,

    Thanks for your amazingly fast reply!

    Can I check, does your advice hold for AMS v4 (which I'm using)? I can't find a Dialog.Input option. If not, is there a way around this?

    Thanks,

    TzK.

Similar Threads

  1. string / table compare
    By gabrielfenwich in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 01-29-2005, 11:30 PM
  2. Email Input Text ??
    By octane6228 in forum AutoPlay Media Studio 5.0
    Replies: 25
    Last Post: 02-21-2004, 03:59 PM
  3. Incrementing a table name
    By arnaud in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 01-13-2004, 05:36 PM
  4. Creating a Table of Contents
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 11:35 AM

Posting Permissions

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