why doesnt this work?

Get help using Construct 2

Post » Thu Apr 10, 2014 3:47 am

hi , im making an inventory but for some reason i cant get the items to like position themselves on the image points following the array dropbox.com/s/u9t738qahmg0ghh/inv.capx theres the example i cant post links so i deleted the htt...
B
7
S
1
Posts: 18
Reputation: 447

Post » Thu Apr 10, 2014 4:04 am

Your array starts at a Width of 10. Pushing puts it at the end, so 10, 11, etc. Your ImagePoints start at index 1, so you need to set the size of the array to Width 0, and add 1 to the IndexOf() calculation, then it works.
ImageImageImage
B
71
S
22
G
248
Posts: 3,760
Reputation: 138,071

Post » Thu Apr 10, 2014 4:16 am

ooh man thanks thanks thanks a looooot !!!
B
7
S
1
Posts: 18
Reputation: 447


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], YoHoho and 18 guests