How do I make a shop with array?

Get help using Construct 2

Post » Fri Jul 24, 2015 7:23 am

Hi guys, i make a clicker-game and i dont know hot to make a shop with array, can you help me?
P.S. sorry for my English, im from Belarus.
B
14
S
3
Posts: 29
Reputation: 882

Post » Fri Jul 24, 2015 9:53 pm

You create an array like:

["item1","item2","item3","item4","item5","item6","item7","item8","item9"]

then,

for "index" 0 to 8
TextObject: append text "array.At(loopindex) & newline"
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: David181 and 16 guests