Skip to content

Instantly share code, notes, and snippets.

@MBoffin
MBoffin / pigsquad-ssj-logo.txt
Created July 26, 2020 21:05
PIGSquad Summer Slow Jams logo for PICO-8
[gfx]302a000000000000000000000001100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000111111000000000000000000000000000000000000000001111111100000000000000000000000000000000000000011111111110000000000000000000000000000000000000011111111110000000000000000000bbbbbbbbbbbbbbbbbbbbb111111bbbbbbbbbbbbbbbbbbbbbbb111111111111111111b111111b111111111111111111bb0b111111111111111111b111111b111111111111111111b00bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb00b111111111111111111bbbbbbbb111111111111111111b00b111111111111111111b111111b111111111111111111b00bbbbbbbbbbbbbbbbbbbb111111bbbbbbbbbbbbbbbbbbbb00b111111111111111111b111111b111111111111111111b00b111111111111111111b111111b111111111111111111b00bbbbbbbbbbbbbbbbbbbb111111bbbbbbbbbbbbbbbbbbbb00b111111111111111111b111111b111111111111111111b00b111111111111111111b111111b111111111111111111b00bbbbbbbbbbbbbbbbbbbb111111bbbbbbbbbbbbbbbbbbbb00000000
@MBoffin
MBoffin / sdl_controllers.txt
Created January 27, 2019 03:31
An SDL file for PICO-8 to use with Nintendo-style retro game controllers.
// add sdl game controller mappings to this file
79001100000000000000504944564944,SSJ Controller,a:b2,b:b1,back:b8,start:b9,leftx:a3,lefty:a4,platform:Windows,
@MBoffin
MBoffin / FlatUI.colors
Created November 7, 2018 19:54
The Flat UI Palette v1 from flatuicolors.com
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
@MBoffin
MBoffin / PICO-8.colors
Created November 7, 2018 19:48
PICO-8 Color Palette for Unity Projects
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
@MBoffin
MBoffin / Messenger.cs
Last active December 19, 2023 10:49
A very simple event management system for Unity.
/*
* Advanced C# messenger by Ilya Suzdalnitski. V1.0
*
* Based on Rod Hyde's "CSharpMessenger" and Magnus Wolffelt's "CSharpMessenger Extended".
* (Modified by Dylan Bennett to add Unity 2017+ Scene Management support and switch to enums
* instead of strings for names of events.)
*
* Features:
* Prevents a MissingReferenceException because of a reference to a destroyed message handler.
* Option to log all messages
@MBoffin
MBoffin / ggj-pico8.txt
Last active January 11, 2019 04:32
Global Game Jam PICO-8 Bumper
--to add this to your game, put
--this in your _init() function,
--like so:
function _init()
show_ggj_logo(34,4,10)
end
--the 3 parameters are how far
--down the screen to draw the

Keybase proof

I hereby claim:

  • I am MBoffin on github.
  • I am mboffin (https://keybase.io/mboffin) on keybase.
  • I have a public key whose fingerprint is DA2B E817 8F34 15A8 E8B7 4680 8660 3BA3 911C B453

To claim this, I am signing this object: