Things I learnt today (or in the last couple of days)
Programming:
- Gamemaker arrays are sort of like references, but exhibit copy-on-write behaviour when a secondary reference modifies the array using the normal [n] accessor. To modify the original, use the [@n] accessor. (https://www.reddit.com/r/gamemaker/comments/6xoe5d/are_arrays_copied_or_referenced/)