Setting player waypoints

Get help using Construct 2

Post » Wed Aug 22, 2012 3:43 am

Hi guys

Fairly new to C2. I'm hoping to make a turn based game where you set waypoints for the player to follow. Unfortunatly I'm having a bit of trouble going about this.

I've been looking around at the plugins and they seem to be more based around setting waypoints in the editor (eg. enemy paths) rather than at run time. The closest I found was this one from Kyatric, but am I correct in thinking it only supports one source and destination?

I noticed a lot of people talking about the RTS behavior, but is only for an older version of Constructor?

Does anyone have any resources they could point out? Tutorials or samples that might be around? Are setting waypoints a lot more complex than it seems on the surface? :)
B
24
S
4
G
1
Posts: 244
Reputation: 3,462

Post » Wed Aug 22, 2012 7:35 am

To my knowledge there is no "easy" way to do this at the moment.

I am making a RTS hybrid style of game at the moment and can tell you I am having success with using bullet behaviour for movement and simply putting down a marker where I click the mouse, the unit will then move towards that marker and stop when it hits it (no pathfinding involved though). However this could be expanded to allow you to put down as many waypoints as you would like.

I would start with a platformer if this is your first game, by the end of that you will be better equiped to solve the problems you will face.

Im sure at some point in the future we will have the RTS behaviour that is availabe in Construct Classic.GenkiGenga2012-08-22 07:40:47
ImageImage
B
74
S
17
G
6
Posts: 1,039
Reputation: 10,605

Post » Thu Sep 27, 2012 9:44 am

@boolean - you can try and look for a thread from R0j0Hound. He has a really cool but simple example using the lerp function.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692


Return to How do I....?

Who is online

Users browsing this forum: Justin1967, qaisarehman and 33 guests