The Daily Click ::. Forums ::. Klik Coding Help ::. Save clothes?
 

Post Reply  Post Oekaki 
 

Posted By Message

-Messiah-



Registered
  26/06/2003
Points
  220
14th April, 2004 at 11:10:02 -

Hey guys, Im gonna do this game when ur gonna choose your clothes, but... i dont know how to save what clothes you have chosen!, Please.. Help me out here..!

 
What!?, a what!?.. Omg.. They'r' WASTED!

Zane



Registered
  09/09/2003
Points
  1183
14th April, 2004 at 11:28:05 -

you could set the clothes acording to a value.
eg - if value=1 then wear red jackit
if value=2 wear red hat
etc

this volue should be a global value so that it transfers accros levels
then if you wanted to save the cloths between two sessions of playing the game (ie - player turns the game off and comes back to it later) you could save this value in an ini file.

 
www.klikforever.co.uk
GO THERE!!!

-Messiah-



Registered
  26/06/2003
Points
  220
14th April, 2004 at 11:44:21 -

k, thanks, but ive been trying to save it in a ini file, but it dont work, HOW!?

 
What!?, a what!?.. Omg.. They'r' WASTED!

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
14th April, 2004 at 11:51:18 -

Set file to appdrive$ + appdir$ + "clothing.ini" <=== example
Then set group to [Clothing] <=== another example
and then use the values. When loading you need to set the file and the group to the exact same thingy.

Image Edited by the Author.

 
a/n

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
14th April, 2004 at 12:38:58 -

http://www.create-games.com/cs_search.asp?q=%22ini%22&sar=on

few ini turorials there, and there are more as well.

 
www.thenatflap.co.uk

Kaine



Registered
  12/01/2003
Points
  458
14th April, 2004 at 17:28:28 -

theres a couple of ini tuts on CT Sly also has a very good one at http://slipstream.cjb.net

 
n/a
   

Post Reply



 



Advertisement

Worth A Click