Making a game for Klik Basestation 1.0
Author: | Keatontech!
|
Submitted: | 4th October, 2005
|
Views: | 5056
| Rated: |
|
|
Intoduction
Klik Basestation (KBS)is a program that I made is like an arcade where you can add your own games. KBS has a money system so that your game can give money for doing well, or take money for doing badly or for buying somthing like a weapon from a store. This article is about getting your game to recieve and change users money, getting other user info, and using the AutoSave feature in KBS.
Getting and Saving Money
Ok, so first, you'll want to be sure that your game has been installed in the same folder as KBS. You can do that by searching for the file Appdrive$ + Appdir$ + \Money.txt using the file object. If it finds somthing, have an edit object load the text file Appdrive$ + Appdir$ + \Money.txt. If it doesn't, bring up a message boxasking the user to move the file using one of the extensions that does that type of thing (I prefer the Message box an Asker object). Once you have the Money text file loaded, you can change the file, then save it. I WILL find out if you change the Money.txt file by editing it yourself or using an uncertified game or application.
Getting other user info
In some cases, you may need other user info. Password, Username, Downloads, Email, and visits to KBS are in the following text files:
Password|Appdrive$ + Appdir$ + \Password.txt
Username|Appdrive$ + Appdir$ + \Username.txt
Downloads|Appdrive$ + Appdir$ + \Downloads.txt
Email|Appdrive$ + Appdir$ + \Email.txt
Visits|Appdrive$ + Appdir$ + \Number.txt
AutoSave
AutoSave keeps users from simply not saving their money when they lose money. This feature is an important safety feature and it is highly reccomended that all games use it. All you have to do is open the file Appdrive$ + Appdir$ + \Exited.txt and set it to 1. It was named Exited.txt because it was originally intended to tell KBS when a game exits so it could save it then. You could do that, but it would be better if you set it whenever the users money changed.
Outro
Klik Basestation is a cool program, it just needs games. PLEASE submit your games, it's not that hard to turn them in to KBS Compatible games, and it gives them an extra boost. If you find any problems with this article, post them below along with any ideas for future versions of KBS. Download KBS at http://www.create-games.com/download.asp?id=5748. Thanks for reading
PS. Klik Basestation has been having some major bugs, if your password isn't working please email me with your Username, Password, and the email address that KBS thinks you have (you can find that by clicking your username and then clicking more info).
|
|
Keatontech!Possibly Insane
Registered 10/07/2005
Points 2720
|