any idea about this

Get help using Construct 2

Post » Tue Apr 11, 2017 5:15 pm

how do i select 4 squares. for example

ina grid with 20 squares when i click square 1, square 2, square 3, and square 4 they are selected, not moved or something just selected. and later i click other squares for example like square 5 , sq 6 , sq 7 and sq 8. when i click sq 8 they swap positions. sq1 goes to sq 5 and sq 5 goes to sq 1's positions. and so with others.
B
6
S
3
Posts: 40
Reputation: 698

Post » Tue Apr 11, 2017 6:45 pm

idea... array & modulo index

swap4Squares.capx

Image
B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041

Post » Wed Apr 12, 2017 11:04 am

thank you (y)
B
6
S
3
Posts: 40
Reputation: 698


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 42 guests