RPG Project Movement

Get help using Construct 2

Post » Wed Jul 17, 2013 8:51 pm

Hello everybody,im new in using C2 and i'm wondering if any of you can help me with few ideeas by making a RPG.
The game i want to create need to have mouse click movement,and dynamic viewport,by that i mean the player always remains in the middle of the screen when he is moving by using mouse.

Thank you.
B
2
Posts: 5
Reputation: 160

Post » Wed Jul 17, 2013 9:32 pm

every tick - system scroll to object "player"

Hope this wil help.
B
39
S
16
G
6
Posts: 238
Reputation: 7,915

Post » Wed Jul 17, 2013 11:57 pm

You can set the scrollTo behavior on the player which will dot he scrolling automatically without doing a manual every tick check. You then pin an invisible sprite to the mouse, and when they click you pin that sprite to the spot they clicked on (set objects.x/.y to the mouse.x/.y on click) and then use pathfinding or move to have the player sprite move to that point.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583


Return to How do I....?

Who is online

Users browsing this forum: Apollo14, ChoosyZerk and 61 guests