-
pathfinding object
hello there
i tried to copy the example for the pathfinding object, but i have problems with detecting obscales. the object recognises the obscales, but it does not remember it. let me show you what i got:
http://borgi.extra.hu/path.mfa
the path can be on the obscales too.
i need some help with it.
thanks!
-
Re: pathfinding object
no1 has used this object yet? :C
-
Re: pathfinding object
People have, this is just an issue too complicated for others to just go and fix your problems ;)
-
Re: pathfinding object
It's an action order problem. You start the read loop before you initialize the map. Double click the action to change the order.
And for some reason there is an empty action. I think I might have an old version of the object...
-
Re: pathfinding object
Okay, I tried to look into it, but MMF2 crashes to desktop when I point at the actions in the second event. Nice..
-
Re: pathfinding object
dont use that object
use advanced path finding... its muuch better!
and in general: dont just copy events from the examples... u wont understand it this way
-
Re: pathfinding object
Well I recommend to not use the advanced pathfinding object until you have fully understood this one.
-
Re: pathfinding object
I recommend not using it at all.
It's unrealistic to ask people to make large system changes just to use an object.
-
Re: pathfinding object
With MMF that is not the case. In fact you should design the entire game -around- the object your using. Which means, once you switch to advanced pathfinding, you probably have to start over.
That's usually a good thing, cause the second time your code is most of the time much more efficient and better thought through.
A programming teacher (not MMF related) once told me, that during the course of a normal project he "statistically" rewrites every line of code 2-4 times.
Now you might say "ooh that's bad planning", but no, most of the time it's nescessary to keep the code clean, fast and simple, which often is not possible the first time (despite being not the best idea anyway, considering the approach "make it run; make it right; make it fast").
Dang. Did I just get really really offtopic?
-
Re: pathfinding object
Werbad, thank you very much. Really, that was the actual problem ;>