How do I chose 1 frame for 1 sprite?

Get help using Construct 2

Post » Fri Feb 10, 2017 12:07 am

Hey! I'm making a tower defense game and I have bases where i can put the towers. When the cursor's over the base sprite, it goes to the second frame. But when two bases are near eachother and i hover from one to the other quickly, both of them go to the second frame. I'd like to make it so that only the one which the mouse hover above goes to the second frame. Thanks!
B
13
S
1
Posts: 16
Reputation: 563

Post » Fri Feb 10, 2017 2:34 am

Use a global variable to identify which base you want effected when you hover.

Mouse over object Set animation frame 2
BASE =1

Should work.
Banned User
B
23
S
6
G
58
Posts: 1,229
Reputation: 34,540


Return to How do I....?

Who is online

Users browsing this forum: plinkie, Syazanie Amirin and 3 guests