Posted By
|
Message
|
![](http://tecbug.pl/owiec_mini.jpg) tecbug
Registered 05/02/2004
Points 312
|
19th February, 2007 at 03:57:03 -
What is the best way to save(load) multiple (more than 100) object infotmation to the file?
n/a
|
![](http://i9.photobucket.com/albums/a62/Peblo/peblo.png) Peblo Custom ratings must be 50 characters or less
Registered 05/07/2002
Points 185
![Game of the Week Winner Game of the Week Winner](tags/cup.gif) ![VIP Member VIP Member](tags/vipbadge.png) ![I'm on a Boat I'm on a Boat](tags/imonaboat.png) ![360 Owner 360 Owner](tags/360owner.png) ![Attention Getter Attention Getter](tags/attentiongetter.png) ![The Cake is a Lie The Cake is a Lie](tags/cakeisalie.png) ![Cardboard Box Cardboard Box](tags/cardboardbox.gif) ![Hero of Time Hero of Time](tags/HeroOfTime.png) ![PS3 Owner PS3 Owner](tags/PS3owner.png) ![It's-a me, Mario! It's-a me, Mario!](tags/mario.gif)
![I'm a Storm Trooper I'm a Storm Trooper](tags/imastormtrooper.png) ![Sonic Speed Sonic Speed](tags/sonic.png) ![Strawberry Strawberry](tags/strawberry.gif) ![I like Aliens! I like Aliens!](tags/greenalien.gif) ![Wii Owner Wii Owner](tags/Wiiowner.png) ![Mushroom Mushroom](tags/mushroom.gif)
|
19th February, 2007 at 04:00:31 -
Grow thumbs, you sheep.
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath
|
![](images/noav.png) Deleted User
|
19th February, 2007 at 04:15:38 -
You should look into Arrays, INI files could also work, it depends on exactly what you are going to save.
|
![](http://andyuk.tengudev.com/Games/Display.png) AndyUK Mascot Maniac
Registered 01/08/2002
Points 14586
![Game of the Week Winner Game of the Week Winner](tags/cup.gif) ![Second GOTW Award Second GOTW Award](tags/cup2.gif) ![Has Donated, Thank You! Has Donated, Thank You!](tags/coins.gif)
|
19th February, 2007 at 19:37:20 -
define 'best'
also say what information you are saving.
.
|
![](http://tecbug.pl/owiec_mini.jpg) tecbug
Registered 05/02/2004
Points 312
|
20th February, 2007 at 07:20:20 -
best = quickest, least work
saving: x, y position and alt.values of more than 100 objects
INI isn't good because of its work consumption.
n/a
|
![](http://i197.photobucket.com/albums/aa266/HernanZh/witch64.jpg) Hernan
Registered 04/03/2003
Points 707
|
20th February, 2007 at 12:20:22 -
Well, there is the Save Game object included in one of the MMF Bonus Packs, but I have no idea how it works though. Never used it. The object allowed the user to store all info from active objects.
This space is for rent
|
![](images/noav.png) Deleted User
|
20th February, 2007 at 13:57:19 -
An Array would work best in this case then. ^^
Warning, noobish explanation:
Make all objects that should be saved have the same qualifier, then spread a value in all those objects Alt. Value A(this will be the ID number of the object).
The Y cordinate in the array then is the ID number of the object, X1 is their x-position, X2 the y-position and X3 and so on will be their alt. values.
Save/load by using a fastloop, quick and simple.
Should work, ne? Tell me if you need an example... but Im sure you know how to do it x)
|
![](http://create-games.com/uploads/circy/circy_idiot.gif) The Chris Street Administrator
Unspeakably Lazy Admin
Registered 14/05/2002
Points 48487
![Game of the Week Winner Game of the Week Winner](tags/cup.gif) ![Clickzine Staff Clickzine Staff](tags/write.gif) ![Acoders Member Acoders Member](tags/acoders.gif) ![KlikCast Star KlikCast Star](tags/kcicon.png?) ![VIP Member VIP Member](tags/vipbadge.png) ![Picture Me This Round 35 Winner! Picture Me This Round 35 Winner!](tags/picturemethisbandit.gif) ![Second GOTW Award Second GOTW Award](tags/cup2.gif) ![You've Been Circy'd! You've Been Circy'd!](tags/circy.gif) ![Picture Me This Round 38 Winner! Picture Me This Round 38 Winner!](tags/picturemethisbandit.gif) ![GOTM December Third Place!! GOTM December Third Place!!](tags/GOTMB.png)
![I am an April Fool I am an April Fool](tags/fool.png)
|
20th February, 2007 at 17:59:22 -
I made an example for MMF1.5 - http://klikacademy.com/circy/examples.php
n/a
|
![](http://andyuk.tengudev.com/Games/Display.png) AndyUK Mascot Maniac
Registered 01/08/2002
Points 14586
![Game of the Week Winner Game of the Week Winner](tags/cup.gif) ![Second GOTW Award Second GOTW Award](tags/cup2.gif) ![Has Donated, Thank You! Has Donated, Thank You!](tags/coins.gif)
|
20th February, 2007 at 19:41:19 -
If you're making a game, being lazy is not good.
.
|
![](http://tecbug.pl/owiec_mini.jpg) tecbug
Registered 05/02/2004
Points 312
|
21st February, 2007 at 04:16:37 -
i'll try with arrays.
Thx Chris!
n/a
|
|
|