HOW CAN I RESOLVE THIS ISSUE ????

Get help using Construct 2

Post » Thu May 29, 2014 10:13 pm

Hello,
i have a game idea but i can't retrieve the solution.
i want: when i drag the sprite named "A" to the "F" area, the "X" and "Z" sprites will destroyed,
or all red sprites between blue sprites in general.

there is a plugin for chess from "rexrainbow" but it didn't work with r170 or i have a problem.
the Pick nearest is some helpful but i didn't get any result.
can anyone help?
:D

Thanks
You do not have the required permissions to view the files attached to this post.
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Fri May 30, 2014 5:41 am

You could do it easily using an array. Use the array to keep track of the position of all the sprites on the board. Then, when the piece is dropped into place, test the array values. See the attached example.
You do not have the required permissions to view the files attached to this post.
B
40
S
12
G
11
Posts: 331
Reputation: 7,752

Post » Fri May 30, 2014 10:01 am

Hi @FragFather
Thanks a lot, this is what i'm looking for !!
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 10 guests