Accelerate toward mouse using custom behaviour.

Get help using Construct 2

Post » Tue Oct 25, 2011 3:01 am

I'd like to accelerate a sprite towards the X (only) position of the mouse using the Custom Movement behaviour, like this:



But when I try it says:

Not an object - 'Mouse' is not an object name

Can you only accelerate towards an object using the custom movement behaviour?
B
72
S
25
G
9
Posts: 382
Reputation: 10,649

Post » Tue Oct 25, 2011 3:12 am

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Oct 25, 2011 3:29 am

Doh! I assumed mouse coords were automatically there, I've been using to many game makers! lol!

Glad you're here Kyatric. :)
B
72
S
25
G
9
Posts: 382
Reputation: 10,649


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, mystazsea and 18 guests