hello,
what i am trying to do is create a program that will allow me to have a setup screen appear when it runs for the first time and then not appear again afterwords. is this possible. very new to dephi still. many thanks
gisler
hello,
what i am trying to do is create a program that will allow me to have a setup screen appear when it runs for the first time and then not appear again afterwords. is this possible. very new to dephi still. many thanks
gisler
Hi and welcome to PGD!
This is easily done. You can do it a few ways too. You just need a simple variable that will read from where you will store this information.
Some Options:
:arrow: If you write to a data file to save all of your game's configuration settings, you can add this data there.
:arrow: If running on Windows you can take advantage of the Windows registry by writing a 'key' once it is ran and if the program can read it after that then you skip the config screen.
:arrow: You can use an .INI file which is sort of the same method as the data file, but the formatting is a bit different and you can edit it like a normal txt file too.
ok thanks very much for your help. will mostlikly try the 3rd option.
the program i am writing is not even a game. just a simple aplication. would like to learn about making games, but sticking with the basics first.
been using delphi for about 1 year, off an on, so still have alot to learn!
many thanks.
gisler
Bookmarks