The Daily Click ::. Forums ::. Klik Coding Help ::. Problem with Level Loading with Array and "CSV"
 

Post Reply  Post Oekaki 
 

Posted By Message

Logiq



Registered
  09/04/2007
Points
  120
26th June, 2013 at 26/06/2013 17:20:38 -

I am trying to build a frame that loads it's level based on CSV that I created. I add all the values of the CSV into an Array and then using the values of the Array create the actives necessary.

The problem I am having is that other than the first row of tiles, my loop is not getting the value of the first index of X.

I've been working on it for 2 days now and can't seem to find out why this is happening.

I have attached my MFA and the CSV so that anyone can look at it to help.

Thanks a million.

Files: http://d.pr/f/fTvh

- L

 
Hello guys! I'm New! -- I've been new for a year now...haha

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
27th June, 2013 at 27/06/2013 00:29:49 -

Ignore this post, absolute twaddle

Edited by lembi2001

 
n/a

nim



Registered
  17/05/2002
Points
  7233
27th June, 2013 at 27/06/2013 02:12:50 -

Check the order of your actions. It could be incrementing the X value before reading the value.
Or it could be a 1-index thing (arrays are not 0-index by default - check the object properties)

 
//
   

Post Reply



 



Advertisement

Worth A Click