Skip to content

haxegon/plugin_filters

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Filters (version 0.1.1 (2018-03-02))

A plugin for Haxegon: http://www.haxegon.com

Filters lets you use fullscreen post-processing shaders in Haxegon!

The current list of available filters are:

  • Bloom
  • Blur
  • Hue shift
  • Saturation adjustment/Grayscale
  • Lightness/Gamma adjustment
  • Colour tinting
  • Contrast adjustment
  • Chromatic Aberation
  • Invert
  • Vignette
  • Pixelation/Mosaic
  • VCR/Static Effect

More effects are coming!

Filters is a work in progress, and there are several open issues with it. Stay tuned for more updates as Haxegon approaches 1.0!

Setup

To install the Filters plugin, download this Filter.hx file, and copy it into your own project's plugins folder.

Usage

Here is a simple example:

import haxegon.*;

class Main {
  function update(){
    Gfx.drawimage("sky");
    Filter.bloom = 1.0;
    Filter.hue = Filter.hue + 1;
  }
}

See the examples folder for more examples.

Documentation

Not available yet. Check back later! For now, refer to the examples.

Changelog

0.1.1

  • Fixed a crash bug with Neko. Updated for Haxegon 0.12.1.

0.1.0

  • Initial release.

About Filters

version: 0.1.1

dependancies: Haxegon 0.12.0 or newer.

Targets: Filters works on all current Haxegon targets - Native, HTML5 and Flash.

Author: @terrycavanagh

About Haxegon

Filters is a plugin for Haxegon. For more plugins, see http://www.haxegon.com/plugins/

About

A fullscreen post-processing shader plugin for Haxegon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages