Dynamic shapes / pathfinding

For questions about using Classic.

Post » Mon May 07, 2012 9:20 pm

Let's say you have a character in a turn-based game that can move 75 pixels in one turn.



If there's an obstacle like water, he should walk around it... If the character were to do so to get to the bottom-most position, he'd have traveled over 75 pixels. What I'd like is for the movement circle to be dynamically drawn to account for obstacles:



The pathfinding I have an idea of how to do, but how do I alter the circle's graphics without using a million tiny objects?Biblefruit2012-05-07 21:21:01
B
2
Posts: 1
Reputation: 252

Post » Tue May 08, 2012 2:13 pm

You could try using shadow casters and use a transparent white shadow instead maybe.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests