How do I use array to memorize position?

Get help using Construct 2

Post » Thu May 21, 2015 2:21 pm

Hello all,

i need to undestand how use array or other memorizing system to create and destroy instances of sprite in the same position

Important : Every sprite (letters) had a variable : ON - OFF (or numeric 0, 1, 2 etc)

i had some pages, for examples 2 pages. Every pages had some instances sprite, for example, page 1 had 4 instances of A, B, C, D and in pages 2 i had E, F, G, H (only for example! I had much pages and much sprites)

Image

Image

well, i want to memorizing the position of X and Y in a sort of Array or better a external TXT or CSV (i see CSV Plugin) AND memorizing the variable of the letter : ON/OFF
so, when i click on page 2, i destroy all instances of page 1 and created instances of pages 2
and when i go back to page 1 i destroy all instance of page 2 and created new instance of page 1
but need to remember the variable :geek:

any idea?
B
8
S
1
Posts: 17
Reputation: 503


Post » Thu May 21, 2015 10:21 pm

Image
B
63
S
23
G
7
Posts: 1,479
Reputation: 10,794


Return to How do I....?

Who is online

Users browsing this forum: mrkaio, Zav and 1 guest