This supports mobile Up / Hold to move forward Down to move backward They always look at the mouse / where you last tapped There are no collisions (for the player). Cell Types: 0 or Empty cells means there is nothing there. -1 or Opaque cells means there is something there. 1 or "T" cells are transparent, which means they're acknowledged, but they don't stop the ray. Versions: 1.2.1 - You can now set the size of all textures Jul 3 1.2 - Added features that allow for textures - Jun 29 1.1 - Rays that go off-grid are now tracked - Jun 29 1.0 - Release - Jun 28 Lists and Variables: The "found" lists are the properties of every occupied cell ordered by distance. The "Grid: mouse x/y" variables are self explanatory. The "Raycaster: off grid?" variable is used when the ray leaves the area. Useful for adding "skyboxes" in 3D. Credits: This was made with the help of this paper: http://www.cse.yorku.ca/~amana/research/grid.pdf