First post. I'm busy writing my own A* Pathfinding routine as the RTS one doesn't suit my needs. My problem is that I can't seem to get values to be entered into an array properly. Effectively I am trying to setup a 2 dimensional array and it won't write information to the Y co-ordinate. Nor will it seems add to the Y size either. Is this a known problem? I searched but couldn't find anything about it.
Develop games in your browser. Powerful, performant & highly capable.
Further down on that page you will find a cap, that accesses a 2D-array, writing and reading. Compare it with your array usage, maybe it helps.
Also, Verve! features its own sort algorithm, realized with 4 arrays, accessing them reading, writing and resizing.
Thanks for the help!