Based on Bresenham's line algorithm, these 4 scripts will allow you to check for lines in your ds_grids, just like you use ds_grid_get_****.
Version 1.0.0. Published July 4, 2014
Created with GameMaker: Studio v1.99.166
You can only review assets you've bought.
Did what you said it would :/ one problem
Did what you said it would :/ one problem though, there's no set function. I wish there was cause that's what I need it for!
Works properly, needs a ds_grid_set_line function
I rewrote a piece of one of the scripts to create a ds_grid_set_line function. This is not too hard but is very useful in some cases.