This file contains 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
<map id="pizza"> | |
<area shape=rect coords=25,25,75,75 href="http://pizzaisawesome.com"> | |
<area shape=rect coords=125,125,175,175 href="http://pizzaissogreat.com"> | |
</map> | |
<img usemap="pizza" src=image.png> |
This file contains 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
var master = new (webkitAudioContext || AudioContext) | |
var jsynth = require('jsynth') | |
var tune = require('tune') | |
/* | |
* | |
* bass | |
* | |
*/ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<style> | |
body { margin:0; padding:0; } | |
#map { position:absolute; top:0; bottom:0; width:100%; } | |
.marker-properties { | |
border-collapse:collapse; |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var Player = require('crtrdg-player'); | |
var Keyboard = require('crtrdg-keyboard'); | |
var canvas = document.createElement('canvas'); | |
canvas.id = 'game'; | |
document.body.appendChild(canvas); | |
var game = new Game({ | |
canvasId: 'game', |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var game = new Game({ | |
width: window.innerWidth, | |
height: window.innerHeight, | |
backgroundColor: '#E187B8' | |
}); | |
var degrees = 0; | |
game.on('update', function(){ |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var canvas = document.createElement('canvas'); | |
canvas.id = 'game'; | |
document.body.appendChild(canvas); | |
var game = new Game({ | |
canvasId: 'game', | |
width: 1000, | |
height: 400, |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var game = new Game({ | |
width: window.innerWidth, | |
height: window.innerHeight, | |
backgroundColor: '#E187B8' | |
}); | |
var degrees = 0; | |
game.on('update', function(){ |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var game = new Game({ | |
width: window.innerWidth, | |
height: window.innerHeight, | |
backgroundColor: '#E187B8' | |
}); | |
var degrees = 0; | |
game.on('update', function(){ |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var Mouse = require('crtrdg-mouse'); | |
var canvas = document.createElement('canvas'); | |
canvas.id = 'game'; | |
document.body.appendChild(canvas); | |
var game = new Game({ | |
canvasId: 'game', | |
width: window.innerWidth, |
This file contains 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
var Game = require('crtrdg-gameloop'); | |
var Mouse = require('crtrdg-mouse'); | |
var canvas = document.createElement('canvas'); | |
canvas.id = 'game'; | |
document.body.appendChild(canvas); | |
var game = new Game({ | |
canvasId: 'game', | |
width: window.innerWidth, |