Skip to content

Instantly share code, notes, and snippets.

Dennis Klein den-kle

Block or report user

Report or block den-kle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@den-kle
den-kle / gamepad.js
Created Jan 20, 2018
Gamepad Plugin for Impact. With Analogue Sticks
View gamepad.js
ig.module(
'plugins.gamepad'
)
.requires(
'impact.input',
'impact.game'
)
.defines(function(){
// Assign some values to the Gamepad buttons. We use an offset of 256
@den-kle
den-kle / analog-stick.js
Last active Jan 16, 2018 — forked from phoboslab/gist:3939020
AnalogStick Plugin for Impact. With fix for scaled Canvas
View analog-stick.js
ig.module(
'plugins.analog-stick'
)
.requires(
'impact.system'
)
.defines(function(){
ig.AnalogStick = ig.Class.extend({
stickSize: 30,
@den-kle
den-kle / touch-button.js
Last active Jan 16, 2018 — forked from phoboslab/touch-button.js
TouchButton Plugin for Impact. With fix for scaled Canvas
View touch-button.js
ig.module(
'plugins.touch-button'
)
.requires(
'impact.system',
'impact.input',
'impact.image'
)
.defines(function(){ "use strict";
You can’t perform that action at this time.