Written by me (Anixias). Warning: This does not work well, and you should instead look up squirrel3 or see the GDC video on YouTube on noise to replace RNGs. Usage Call this function on a position (integer coordinates) to get a seemingly random number from 0 – 1 (never equals 1). You can use this […]
Written by me (Anixias). Usage Simply replace surface_set_target and surface_reset_target throughout your code with surface_set and surface_reset, respectively. This allows you to nest surface rendering. I wrote it because I needed a global UI surface, but I use surfaces throughout the UI. This allows me to use surface rendering wherever I need it without worrying […]
Credit to u/galitork on reddit.com.