|
Post by Xenith on Sept 13, 2004 15:14:42 GMT -5
Hi, i've had this idea of a 4-player split screen arcade style rpg, where you enter your name and password and it saves your player and if it is not played for at least 1 month it is deleted, what i need help with is saving each players stats to a txt file, and when it is loaded up he has them again thanks,
so my main concerns are
1)saving and loading stats from txt file, 2)Name and password system 3)deletion after 30 days of no use
|
|
|
Post by IsmAvatar on Sept 13, 2004 17:32:36 GMT -5
you don't want a text file. You want an ini file.
This way you can record a number of things 1) Name 2) All statistics 3) Last log-off date (using current date, and use same method to detect if 30 days later)
read up on the ini file stuff. It's a piece of cake, really. Look into encryption, so the user doesn't modify the file.
Also, if you mean 4 players on 1 keyboard... it's not gonna work. Unless each player only has to press a single key, and nothing else... Keyboards normally only have support for up to 3 keys at any given time (if even).
|
|
|
Post by Xenith on Sept 13, 2004 19:42:57 GMT -5
i have 4 joysticks and i could also use the joy to key thingy, this thing is going to be used in my arcade when i return to the philippines so i don't have to worry about encrypting them, thanks for the info again
|
|
|
Post by Xenith on Sept 21, 2004 17:46:12 GMT -5
ok i have a problem i want to make it a multiplayer online game where you could have 4 players on one computer if you want but i can't make it so they could go to different rooms like one in a house the other in a forest so i was thinking maybe to open up 4 game maker games one for each player but would i be able to make it so they could see eachother?
|
|
|
Post by IsmAvatar on Sept 21, 2004 19:24:32 GMT -5
What's wrong with the different rooms? One of the messages just has to be what room they are in. Don't show them if they're not in the current room.
Having different games won't make anything better - you'd still have the same issue, in addition to the compatability issue now.
|
|
|
Post by Xenith on Sept 21, 2004 20:47:11 GMT -5
i'm not sure if you quite got what i was saying, i heard that if you have a split screen 4 player game, each of the views has to be in the same room, what i want to do is make it so i could have player 1 in a different room from the others,
once i get that i'll try the online thingy
|
|
|
Post by IsmAvatar on Sept 22, 2004 13:54:51 GMT -5
oh, lol. I was thinking mplay again. soz.
I can only suggest you compile all the rooms into one room. Make each area inaccessable, but when the player uses a door or whatever, jump to that inaccessable area.
I suggest you look into saving object location and info to files (preferrably binary), or de-activating instances, so they don't slow down the game.
|
|