This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The purpose of this plugin is to disable certain procedures that are intended to be | |
developer-only secret code that you don't want to end up in the final release build | |
of your program. | |
To use this plugin, compile your program with `jai main.jai -plug Developer_Only` | |
and then mark certain procedures with the `@Developer` note. These procedures will | |
have their body deleted when in developer builds. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Text; | |
// This .ase parser is taken from Noel Berry, one of the developers of Celeste. | |
// https://gist.github.com/NoelFB/778d190e5d17f1b86ebf39325346fcc5 | |
// A little bit of research reveals that he used it as part of their asset | |
// pipeline: parsing .ase files into sliced regions & pivots, building |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Text; | |
// File Format: | |
// https://github.com/aseprite/aseprite/blob/master/docs/ase-file-specs.md | |
// Note: I didn't test with with Indexed or Grayscale colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
HotSwap shader sytem for MonoGame | |
HotSwap code only exists for debug builds | |
Edit paths to match your project | |
Construct in your Initialize method | |
Add shaders in LoadContent (or whenever) | |
Call CheckForChanges in Update() or periodically however you like | |
mgcb.exe usually located in C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools | |
*/ |