I would like to implement in GameMaker exactly the same thing as in this article: http://www.redblobgames.com/articles/visibility/.
The code for it is available there in different languages, but I can't figure out how to effectively port it to GML. Every raycasting solution I tried leads to fps completely dying.
Could someone with more knowledge than me help ?