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
--local object = display.newImage("image.png") | |
--object.fill.effect = "filter.custom.pixeloutline" | |
--object.fill.effect.intensity = 0.0 to 10.0 -- how thick is it | |
--object.fill.effect.r, g, b = 4 to 50 -- color | |
local kernel = {} | |
kernel.language = "glsl" | |
kernel.category = "filter" |
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
-- Project: Spine Wrapper 0.4 | |
-- | |
-- Date: Mar 20, 2015 | |
-- Updated: Apr 18, 2018 | |
local spine = require "com.spine-corona.spine" | |
local json = require "json" | |
--local print = function(...) end -- uncomment me to get rid of prints | |
local M = {} |
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
-- pixel-like coin glint | |
-- USAGE: | |
-- require ("glint') | |
--local object = display.newImage("image.png") | |
--object.fill.effect = "filter.custom.glint" | |
--object.fill.effect.intensity = 1.0 -- how bright the glint is | |
--object.fill.effect.size = 0.1 -- how wide the glint is as a percent of the object |
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
-- 4 color pixel swapping | |
-- USAGE: | |
-- require ("multiswap') | |
--local object = display.newImage("image.png") | |
--object.fill.effect = "filter.custom.multiswap" | |
--object.fill.effect.keys = { | |
-- 213/255, 95/255, 96/255, 1, |
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
-- Frame Buffer attempt via Snapshot | |
-- USAGE | |
-- require("render") | |
-- This module adds everything from the stage to a | |
-- "render" snapshot that updates at 60FPS, think of | |
-- it as a fake "frame buffer" | |
-- Touches don't work. ContentBounds, localToContent are |
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
-- sfxr.lua | |
-- original by Tomas Pettersson, ported to Lua by nucular | |
-- ported to Solar2D by ponywolf | |
--[[ | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |