Test how far an object is from another?

Get help using Construct 2

Post » Wed Jul 10, 2013 11:42 am

Ah, i figured out a workaround. Just adding the wait 1.0 seconds as a condition instead of an action directly after the number was added to the variable(What i was trying to do before)
B
5
S
1
Posts: 47
Reputation: 542

Post » Wed Jul 10, 2013 12:04 pm

@pmurph, good to hear you got it working the way you wanted!
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Jul 10, 2013 12:06 pm

https://dl.dropboxusercontent.com/u/151998804/TowerDefense/index.html

Seem to be having a problem with this wee prototype where the pathfinding isn't working at all like i thought. The path is at the start of the layout set to Tower.X and Tower.Y ,
the enemys all move differently despite being symetrical and being the same object.

Not to mention they group to the left hand side of the tower instead of gathering around it, The image point in my tower is set perfectly in the middle of the square too. I feel like i'm missing something glaringly obvious here.

Paul
B
5
S
1
Posts: 47
Reputation: 542

Post » Wed Jul 10, 2013 12:08 pm

whoooops forgot the capx ,https://dl.dropboxusercontent.com/u/151998804/TowerDefense/RandomTowerDefense.capx , Thanks @Blacksmith! Couldn't have got it working without your help. :)
B
5
S
1
Posts: 47
Reputation: 542

Post » Wed Jul 10, 2013 12:21 pm

@pmurph,

No Problem, glad I could help out!

I haven't used pathfinder yet, so I'm sorry I can't be much help on this one (as mentioned, I still have loads to learn myself!).

But its a really friendly forum, and C2'er are a very helpful bunch. So I'm sure someone will be able to assist you.

Edit: as this is a separate issue it might benefit you to start a new thread about it. Otherwise people may not pick up on your pathfinder problem ;)Blacksmith2013-07-10 12:23:51
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Jul 10, 2013 12:39 pm

@Blacksmith , Probably a good call. I'll mess with it a little and see if i can coax it into working. If i can't be later on today i'll post it, wouldn't wan't to flood up the forums!

Paul.
B
5
S
1
Posts: 47
Reputation: 542

Previous

Return to How do I....?

Who is online

Users browsing this forum: Ajbael, ColombageEnPLS, Yahoo [Bot] and 10 guests

cron