How do I trigger a mouseover behavior just once?

Get help using Construct 2

Post » Sat Jun 15, 2013 5:04 pm

Hey folks,

what I mean is:

- a sprite has a behavior, e.g. a custom movement
- a mouse event, Cursor is over this sprite, triggers an action:
- accellerate toward positon x,y

Now I want, that the movement stops, when the sprite reaches its position.

To make it more clear: I try to create a smooth, fly out menu like effect.
If the cursor is over a sprite, it becomes visible and flies out and when the cursor moves out, it becomes invisible again and flies back.

Thanks for help!
B
3
Posts: 6
Reputation: 185

Post » Sat Jun 15, 2013 5:43 pm

PullOutMenu

Here's the pullout menu code. You can add the invisibility.
ImageImageImage
B
71
S
21
G
204
Posts: 3,586
Reputation: 115,576

Post » Sat Jun 15, 2013 6:03 pm

Thanks a lot! Unfortunately I can't open because its from a newer version of construct 2 (release 134 or newer) I have release 132, the free version.
B
3
Posts: 6
Reputation: 185

Post » Sat Jun 15, 2013 6:11 pm

PullOutMenu

Try now.
ImageImageImage
B
71
S
21
G
204
Posts: 3,586
Reputation: 115,576

Post » Sat Jun 15, 2013 7:06 pm

Yeah, thanks!
B
3
Posts: 6
Reputation: 185


Return to How do I....?

Who is online

Users browsing this forum: BlueGuy3, ColombageEnPLS, FlyingRam, pynam and 6 guests