Skip to content

Instantly share code, notes, and snippets.

View thennothinghappened's full-sized avatar
🐬
whoa

orca thennothinghappened

🐬
whoa
View GitHub Profile
@thennothinghappened
thennothinghappened / Err.gml
Last active June 18, 2024 02:36
GameMaker somewhat useful error struct
/// Generic Error type as analogue of GM's `Struct.Exception`.
///
/// @param {String} msg The readable message for this error.
/// @param {Struct.Err|Struct.Exception|Undefined} [cause] The error which caused this one, if any.
/// @param {Array<String>|Undefined} [__stacktrace] The stacktrace of this error,
function Err(msg, cause = undefined, __stacktrace = undefined) constructor {
/// Create an instance of an `Err` from the given argument.
///
@thennothinghappened
thennothinghappened / Gamemaker Theme.md
Last active April 4, 2024 00:30
my GameMaker IDE theme

What is this?

This gist just includes my GameMaker IDE Code Editor theme. The theme was originally just throwing together some colours, but I thought it looked kinda alright! Storing this here firstly so I don't lose it, but if you like it for whatever reason, read below to set it up!

Installing it!

Code Editor 1