okay the simple question first... is there a maximum of active objects i can use in a game? i wanted to make trees in a isomeric view...
the second question, are there alternatives to "pathfinding object" and the "advanced path movement" object?
the pathfinding object works good, but it crashes the game sometimes... and sometimes is a bit too often for me :/
with the advanced path movement object it is hard to create a stable grid (on a 10000 x 7500 frame)... it crashes too
Many people ask this question. It is dependent on the product you are using. If it is TGF, the max is 256 active objects. For TGF2/MMF2/MMF2Dev, the limit is specific to each frame, and you can set it by editing the properties. The default for each frame is 500. I don't know what it is in MMF.
jeah, i made a full path finding engine with waypoints with advanced path movement object
i hope its stable... but it seems! (i can click 1000 times and on obstacle objects and it doesnt crash), i hope it will work with more waypoints (could become a perfomance problem... lets see)
it does the follow:
it calculates the connections between the waypoints which are created out of active objects which destroy themself and create a node at beginning
it calculates the connections between waypoints and unit (on click)
it calculates the connections between waypoints and target (on click)
everytime you click it removes the last path and nodes which were created, so there is no kinda "node-rush"
if everyone interested i can post my testgame... but i wont write a tutorial its not that hard to understand i think