RTS select and move problem

Get help using Construct 2

Post » Mon Mar 10, 2014 3:36 am

So i was kicking around the idea for a simple rts style item selector for a demo i am making. you select the car and it moves where you want it to go and then stop where the mouse clicked.

i though all i had to do was to (right click_objcar) Movement toward Mouse X/Y

but i can't get it to stop at the X/Y area where i clicked


I am good with Construct but I have never done some thing like this.

is is possible to have the mouse spawn a item at X/Y area clicked and then have the car move to it and then when item and car collide the item is destroyed.

again this is my first time playing with a rts style thing (just one car to move around)
B
9
S
1
Posts: 39
Reputation: 553

Post » Mon Mar 10, 2014 6:08 am

There's an RTS template that comes with Construct. It shows you how to do what you want, and a whole lot more.
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Mon Mar 10, 2014 1:51 pm

worked on this last night

datafilehost.com/get.php?file=c04c11a5

here is the .capx
B
9
S
1
Posts: 39
Reputation: 553


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests