I have a JavaScript server for my Game.
Right now Players simply move around with X,Y coordinates and Velocity.
Collision is detected if a players X,Y is = to an objects X,Y.
I would rather work with a grid.
Like:
Grid = [
[0,0],[0,1],
[etc..],
]
But right now I have no real Idea how to work on grids :-/ In my head I am only able to run Left and Right on an Array...
Any good tutorials?
I need to learn how to use a grid, and collision detection. Path-finding I understand mostly.






