ds_grid_create(w, h);
| Argument | Description |
|---|---|
| w | The width of the grid to be created. |
| h | The height of the grid to be created. |
Returns: Real.
With this function you can create a new ds_grid data structure
of the specified cell width and height. This function returns an id
which must be used in all further functions that deal with this
ds_grid.
mygrid = ds_grid_create(10, 10);
This creates a grid 10 cells high and 10 cells wide.