How do I change a draggable sprites colour?

Get help using Construct 2

Post » Wed Apr 22, 2015 1:41 pm

Hey,

I have a draggable sprite, and i want to change its colour when its being dragged. Whats the most efficient way?

Thanks.
B
7
S
2
Posts: 110
Reputation: 927

Post » Wed Apr 22, 2015 1:55 pm

Give the sprite a second frame or second animation whith the other colour.

sprite is dragging
> set frame (or set animation)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Apr 22, 2015 2:05 pm

Thank you..:)

Hmm, as soon as i run the program the colour changes straight away, it should wait until i interact with it.
B
7
S
2
Posts: 110
Reputation: 927

Post » Wed Apr 22, 2015 2:58 pm

set animation speed to 0
Image
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Wed Apr 22, 2015 3:00 pm

Thanks korbaach..:)

I only want the colour to change while the object is being touched, and to revert back to its original colour when its not, how do i do that?
B
7
S
2
Posts: 110
Reputation: 927


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests