The Daily Click ::. Forums ::. Klik Coding Help ::. How to make an alterable list
 

Post Reply  Post Oekaki 
 

Posted By Message

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
1st November, 2014 at 01/11/2014 22:01:56 -

ok so im wanting to make it so when you unlock parts it adds them to your list of obtained parts, and then have it when building your character you can cycle through them. how would you go about doing this? right now all parts are unlocked and im using a string object to cycle through them, how would i do this when the number of paragraphs would be constantly changing?

 
[Game design makes my brain feel like its gonna explode.]

Pan-tosser



Registered
  24/10/2008
Points
  520

Has Donated, Thank You!
2nd November, 2014 at 02/11/2014 01:52:00 -

you can read all different parts of a string. front middle and end. so i'd read the first letter. example paragraph one is "1big gun"
paragraph two is "0small gun". Well indexing threw the stings. if the front letter of the paragraph equals 1. Then the item is locked and the program moves on to look at paragraph two.

There are also a lot of different string objects out their to use. Some of them make doing stuff like this easier. But if using the standard string object. I think this is the way to go.

 
https://www.facebook.com/nathon.brown.7

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
2nd November, 2014 at 02/11/2014 16:51:44 -

Genius! lol thanks pan tosser. that will work perfectly. didnt think about it that way

 
[Game design makes my brain feel like its gonna explode.]
   

Post Reply



 



Advertisement

Worth A Click