Skip to content

Instantly share code, notes, and snippets.

View schonstal's full-sized avatar

Josh Schonstal schonstal

View GitHub Profile
@schonstal
schonstal / gist:6189985
Last active December 20, 2015 20:19
how to pause
var pauseGroup:PauseGroup;
var paused:Boolean = false;
public override function create():void {
//your normal create
pauseGroup = new PauseGroup();
}
public override function update():void {
if(FlxG.keys.justPressed(MY_PAUSE_BUTTON)) {
@schonstal
schonstal / BBB.md
Last active December 23, 2015 20:59
BLACK BEAN BOIGAS

Ingredients

  • Panko, ~1c
  • Flour, ~1/4c
  • Black Beans, 2 cans
  • Red Onion, 1 medium
  • Egg, 1 large
  • Fresh Crushed Garlic, ~1t
  • Cumin, ~1T
  • Secret Aardvark Sauce, 1 shitload
@schonstal
schonstal / gist:7360492
Created November 7, 2013 19:28
I beat candy box 2! Yay!
bool candiesThrownGotChocolateBar=false, bool candyBoxBoxOpened=true, bool castleBigRoomHovenHappy=true, bool castleRoom2LitFire=true, bool castleRoom2TookObject=true, bool castleTowerFirstVisitDone=true, bool castleTowerPStoneDone=true, bool castleTowerLStoneDone=true, bool castleTowerAStoneDone=true, bool castleTowerYStoneDone=true, bool castleTowerTookTalkingCandy=true, bool castleKilledNougatMonster=true, bool cellarDone=true, bool dragonDone=true, bool dragonUnlockedCyclops=true, bool forgeFoundLollipop=true, bool forgeBoughtWoodenSword=true, bool forgeBoughtIronAxe=true, bool forgeBoughtPolishedSilverSword=true, bool forgeBoughtLightweightBodyArmour=false, bool forgeBoughtScythe=false, bool fortressRoom1ChestFound=true, bool fortressRoom3ChestFound=false, bool fourthHouseFoundLollipopOnCupboard=true, bool gameDebug=false, bool gameInvertedColors=false, bool lighthousePuzzleDone=false, bool lollipopFarmPlant1LollipopButtonUnlocked=true, bool lollipopFarmPlant10LollipopsButtonUnlocked=true, bool lollipopF
Once a nameless being, I always yearned for an identity.
One fateful morning I approached my father and said "I'm hungry".
"Hi Hungry, I'm dad." he replied.
"But daaaaad!" I responded.
And he looked at me with a smile and said "I'm just Joshing you"
And at that moment, joy washed over me.
I was a real boy.
I had a name.
I had been Joshed.
@schonstal
schonstal / waverino.shader
Last active August 29, 2015 14:22
Waverino
Shader "Shaderinos/Waverino" {
Properties {
_Wavelength ("Wavelength", Range(0.0, 3.0)) = 1.0
_Amplitude ("Amplitude", Range(0.0, 10.0)) = 1.0
_Offset ("Offset", Range(0, 6.28318530718)) = 0
}
SubShader {
Pass
{
shine.animation.callback = function(name:String, frameIndex:Int, frame:Int) {
FlxSpriteUtil.alphaMask(shineOutput, shine.framePixels, alphaMask.framePixels);
shineOutput.replaceColor(0xff000000, 0);
}

Global Game Jam 2011

  • Platform: Xbox 360
  • IndieCade 2011 finalist
  • Coverage on Destructoid, G4TV, IFC, etc.

Ludum Dare 21

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Equal Example -- Check Console',
});
let Hamster = Ember.Object.extend({
satisfied: Ember.computed.equal('percentCarrotsEaten', 100)
});
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'https://www.kongregatedev.com',
contentType: 'text/json'
});