[gameprogrammer] Re: How do i make save game?
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sun, 11 Nov 2007 15:25:59 -0600
On Sun, 2007-11-11 at 12:15 +0530, ®£$ǖ"v@M$Ħ ¢© $........... wrote:
> Thanks for your help but the way yu put it is quiet complex......As i
> am queit young.....So could you tell me how do i make the save what
> code should i write i need the whole thing "spoon-fed"............I am
> developing the game in Blitz3D if that helps............
I am afraid that you are asking for something you are not going to get.
There are two main reasons you are not going to get it.
1) People do not have time to do it for you.
2) You have not told us enough to be able to do it for you.
I would suggest that you work on these problems by your self for a
while. Until you can specify exactly what you want to put in a save
game, no one can tell you how to write it. OTOH, once you know exactly
what you need to save, figuring out how to write it to a file is pretty
simple.
The questions you have been asking indicate that you have not even done
a preliminary design of your game and that you have little to no
knowledge of how to develop a game. That means that you need to learn a
whole lot... Questions such as "how do I do AI in Blitz3D" do not
actually make sense until you know exactly what kind of AI problem you
are trying to solve. Then the answer to the question is that you do it
the same way you do it in any other language, except that you have to
start with what Blitz3D gives you to work instead of what some other
language gives you to work with.
Bob Pendleton
>
> On Nov 11, 2007 2:26 AM, Robbert de Groot <zekaric@xxxxxxxx> wrote:
> > --- "Â(R)£$Ç–\"v@M$Ħ ¢Â(c) $..........." <theamericansushi@xxxxxxxxx>
> > wrote:
> >
> > > How can I make a saved game?
> >
> > Simple answer:
> > - Open a file.
> > - Save what you need to save (position, health, ammo, etc.)
> > - Close file.
> >
> > Format of the file is entirely up to you. Seeing that you are a new
> > programmer, keep it simple. I would suggest a simple ASCII text
> > file. Store key-value pairs. This is so that when you change what
> > you need to save, when you read it back in you can read old and new
> > saved files without issue. It might be therapeutic to do it yourself
> > instead of using a lib (XML, INI or something).
> >
> >
> > > How do I create levels?
> >
> > We can't answer this mainly because this can vary wildly depending on
> > the game and how custom it is.
> >
> > If you are using some 3D engine, there should be some documentation
> > on how to make a level in some popular 3D programs and the method for
> > exporting them or converting them to a format that the 3D engine will
> > be able to read in. Quite often you may be on your own in getting
> > that information into the engine. If those 3D programs aren't
> > available to you because they are not free, then there should be
> > documentation that will allow you to generate a level more manually.
> > This will require you to handle the output formats of whatever tools
> > you use in the creation of the level and convert them to how the 3D
> > engine would require them.
> >
> > A lot of makers of 2D games have written their own level editors.
> > This is because the levels are so tailored to the game that there
> > isn't a level editor out there that satisfies the problem. So it's
> > quite possible you are on the hook for developing what a 'level'
> > should look like in memory and on disk. 2D level building is
> > actually pretty simple. It just boils down to a 2D array of values.
> > A simple ASCII text file is usually sufficient to get started with.
> >
> > In either case, whether there is a level editor or not, you will
> > still need to plan things out. How it will be represented in memory.
> > What features of a level are required and are not. Some engines are
> > very flexible but you many not need all that flexibility. So I would
> > suggest you take a step back and identify what is it you need for
> > your game.
> >
> > > --
> > > Reply,
> > > (R)(((???£ Ŝǖ"v@ˉ˘MśĦ ¢ ???)))(c)
> > > N‹§²æìr¸›z
> > > -¢ m§ÿàjg(c)(R)ˆ+jižÊ&þf¢–)à–+-†Ù¥
> >
> >
> > Robbert de Groot
> >
> >
> > ____________________________________________________
> > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
> > favourite sites. Download it now at
> > http://ca.toolbar.yahoo.com.
> >
> >
> > ---------------------
> > To unsubscribe go to http://gameprogrammer.com/mailinglist.html
> >
> >
> >
>
>
>
> --
> Reply,
> (R)(((???£ Ŝǖ"v@ˉ˘MśĦ ¢ ???)))(c)
> ��Nrz
> -mjg+ji&f)+-٥
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] How do i make save game?
- From: ®£$ǖ\"v@M$Ħ ¢© $...........
- [gameprogrammer] Re: How do i make save game?
- From: Robbert de Groot
- [gameprogrammer] Re: How do i make save game?
- From: ®£$ǖ\"v@M$Ħ ¢© $...........
Other related posts:
- » [gameprogrammer] How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- » [gameprogrammer] Re: How do i make save game?
- [gameprogrammer] How do i make save game?
- From: ®£$ǖ\"v@M$Ħ ¢© $...........
- [gameprogrammer] Re: How do i make save game?
- From: Robbert de Groot
- [gameprogrammer] Re: How do i make save game?
- From: ®£$ǖ\"v@M$Ħ ¢© $...........