steverichey / HaxeFlixelGlitchRender

A simple example of JPEG glitching a HaxeFlixel game.
MIT License
29 stars 2 forks source link

HaxeFlixel Glitch Render Example

Just an example of using JPEG compression glitching to mess with a HaxeFlixel game.

The RenderLayer class handles all of the logic. The Encode class is mostly just a wrapper for various ways of handling BitmapData and ByteArray objects.

None of this is supported in Flash, largely because the BitmapData.loadFromBytes() function is not available there.

License

Shared under an MIT license. See license.md for details.