|
-
Feb 15th, 2002, 03:12 PM
#1
Thread Starter
Junior Member
game?
elo,
I'de like too ad some sound too my game, How do I do that, aren't there any tutorials for this out there?
I know how to save text, but how do I save the progress you've made in a game?
How can you open it again?
tx :-)
ps: I know this doesn't belongs here, when a save(in save as) a text file it opens a new textbox, and I want it to use the current textbox, How? I know where the problem is, but not how to fix it:
Code:
Dim frmDoc As New Mdic2
There it is, with New Mdic2, How do I fix it...?
The world would be better without
!!!!!!!!!!!YOU!!!!!!!!!
-
Feb 16th, 2002, 08:33 AM
#2
Frenzied Member
well saving the progress is really easy just save the values of all your game variables
to open the file just load it and fill the variables back up with those values
for sound just use DirectSound
www.vbexplorer.com/directx4vb should explain it all
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 16th, 2002, 10:47 AM
#3
Thread Starter
Junior Member
Tx,
But you lost me in the midle of the saving part, please explain (easy!!!!!!!!!!!!!!!!!!)
The world would be better without
!!!!!!!!!!!YOU!!!!!!!!!
-
Feb 16th, 2002, 02:03 PM
#4
Frenzied Member
well I am sure your game has a lot of variables
if you think about it the values of the game represent the games actual state.
So all you need to do is save those variables to a file. It works the same as saving text.
now you can open the file again and read the values back into the variables and continue from where you saved.
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 16th, 2002, 02:09 PM
#5
Addicted Member
make sure ya use binary files instead of text, so no one can change it around~!
To understand recursion, one must first understand the concept of recursion.
-
Feb 19th, 2002, 01:48 PM
#6
Thread Starter
Junior Member
Never mind the text-saving prob.,
found it myself
tx for the other stuff :-)
The world would be better without
!!!!!!!!!!!YOU!!!!!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|