Skip to content

Instantly share code, notes, and snippets.

View triptych's full-sized avatar
💭
Making web things

Andrew Wooldridge triptych

💭
Making web things
View GitHub Profile

Game Engines

Name Latest Release Size (KB) License Type Unit Tests Docs Notes
The Render Engine 1.5.3 MIT Cross-browser; extensive API; open-source. 2
gameQuery 0.5.1 CC BY-SA 2.5 Designed to be used with jQuery
gTile 0.0.1 (2008-07-21) Tile based
Akihabara 1.3 GPL2/MIT Classic Repro Intended for making classic arcade-style games in JS+HTML5 3
The Javascript 2D Game Engine GPL Emphasis on gravity/physics/collision detection; uses HTML5 Canvas and ExplorerCanvas for IE support. Focus on limiting CPU usage. 4
The GMP Javascript Game Engine
/**
* Provides requestAnimationFrame in a cross browser way.
* @author greggman / http://greggman.com/
*/
if ( !window.requestAnimationFrame ) {
window.requestAnimationFrame = ( function() {
return window.webkitRequestAnimationFrame ||
npm install yui-repl;
yui3;
YUI@3.3.0> .load http://yuilibrary.com/
Resetting Y to the default state [done]
Fetching URL: http://yuilibrary.com/ [done]
YUI@3.3.0> .debug
Setting debug on the Y instance to: true
<#-- This is a FreeMarker template -->
<#-- You can change the contents of the license inserted into
# each template by opening Tools | Templates and editing
# Licenses | Default License -->
<#assign licenseFirst = "/* ">
<#assign licensePrefix = " * ">
<#assign licenseLast = " */">
<#include "../Licenses/license-${project.license}.txt">
/**
@triptych
triptych / draggable-background.js
Created April 28, 2011 09:06 — forked from eculver/draggable-background.js
draggable-background.js YUI widget
/**
* Draggable Background Widget
*
* A widget that will use a specified image and dimensions to
* produce a draggable, window-like view of an image.
*
* Example usage:
*
* YUI.use('widget-draggable-background', function(Y) {
* var widget = new Y.WD.Widget.DraggableBackground({
@triptych
triptych / jquery-yui-widget.md
Created April 28, 2011 09:07
A comparison of the jQuery UI Widget Factory and the YUI 3 Widget class.

jQuery

Widget foo.js

(function($, undefined){
    
    $.widget('ui.foo', {
        
@triptych
triptych / jquery-yui-widget.md
Created April 29, 2011 17:58 — forked from apipkin/jquery-yui-widget.md
A comparison of the jQuery UI Widget Factory and the YUI 3 Widget class.

jQuery

Widget foo.js

(function($, undefined){
    
    $.widget('ui.foo', {
        
        options: {
@triptych
triptych / gist:954411
Created May 3, 2011 22:32 — forked from brettstimmerman/gist:943498
Load a YUI Gallery module locally for testing.
/**
* Load a YUI Gallery module locally for testing.
*
* Assumes you've built your module with ant and have a local copy of the
* yui3-gallery repo.
*
* This will override Loader's Gallery configuration. Existing Gallery modules
* will load locally, and your new module should load locally as well.
*
* Props to Caridy for helping piece this together.
@triptych
triptych / lipsum.html
Created May 5, 2011 18:25 — forked from apipkin/lipsum.html
Generic HTML layout for quick starts to development.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lorem Ipsum Dolor Sit</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css">
</head>
<body>
<div id="pageWrapper"><div id="page">
@triptych
triptych / gist:1017598
Created June 9, 2011 20:10 — forked from derek/gist:1017507
Beautified Google Doodle for 06/09/11 - Les Paul
(function() {
var g = null,
h;
try {
if (!google.doodle) google.doodle = {};
var j,
m,
o,
p,
r,