• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Data types...

GMWolf

aka fel666
Or, you could take on the challenge and get past the barriers like the ones that are determined. A* is not the only kind of pathfinding. Think outside the box, what do you have on your arsenal and what do you need.
A* and Dijkstra is about as good as it gets.
I had the exact same problem: my pathfinding algorithm would cause the game to hang everytime it was called. It was manageable under YYC, but ridiculously slow with the runner.

The solutuso is to reduce the number of nodes.
One nice system is to use quad trees rather than a grid.
If you split your nodes and edges, it should be a simple thing to implement.
 

rytan451

Member
Back onto the topic of data types.

Much like how JSDoc allows us to declare the type an argument should be, would it be possible to declare that a script returns a certain type?
 
Top