How do I move the player by moving the mouse?

Get help using Construct 2

Post » Fri Jun 13, 2014 11:56 am

Hi guys, I need to know how can I move the player by moving the mouse.
I need your support! Shape Swapper isn't complete without Bitcoin donations. Donate --->1QETAa8Z2swZ1sHZRbSk4mv5MvpUTi1wEi
B
9
S
3
Posts: 40
Reputation: 868

Post » Fri Jun 13, 2014 12:04 pm

you need to give more information for a better answer

There are so many types of games, with all kinds of controls, platformers, top down rpgs, drag and drop physics games

can you at least tell us what kind of player you are trying to move? is it a platform player or a 8 dir topdown player
or something else

you could drag and drop if you just want to move the the player around..
or you could using the path finding behaviour ...but you would need to know how that works before you can use it properly
so many other ways ..
but need more information before can give you a correct answer
:)
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685

Post » Fri Jun 13, 2014 6:24 pm

set sprite.x = mouse.x (i think this is what you want)
B
6
S
1
Posts: 51
Reputation: 502

Post » Fri Jun 13, 2014 6:41 pm

Check this example :
You do not have the required permissions to view the files attached to this post.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests