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
| for f in *.m4a; do sox "$f" -C 56 "${f%.m4a}.mp3"; done |
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
| import java.awt.Color; | |
| import java.awt.event.KeyEvent; | |
| import java.util.*; | |
| public class ShooterGame extends GamePanel { | |
| public static void main(String[] args) { | |
| new ShooterGame(500,500); | |
| } | |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>HTML5 Canvas</title> | |
| <script> | |
| function get_canvas_cursor_position(canvas, evt) { | |
| var rect = canvas.getBoundingClientRect(); | |
| return { | |
| x: evt.clientX - rect.left, | |
| y: evt.clientY - rect.top |
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
| >>>Please provide a brief description of your game that is as specific as possible about the game mechanic, aesthetics, narrative (if applicable) and experience of playing the game. (max. 150 words). This gives an overview of your goals with the game, and who the game’s audience may be. It will guide the assignment of judges to your game, and be those judge’s first impression. | |
| SpeedyPups is an iOS platformer-runner game designed to capture the speed and fluidity of Sonic, with depth and creative level designs not elsewhere seen in the genre. You'll be running, jumping, dashing, breaking stuff, bouncing off robots and doing all sorts of gravity-defying tricks! | |
| And while we're at it, there are multiple different worlds each with their own deviously tricky boss. The robots have captured the baby pups, are you a bad enough mutt to save them all? Don't let the cute graphics and seemingly simple controls fool you - this game's designed to be a fast, fluid action platformer with enough challenge to satisfy even th |
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
| package { | |
| import flash.geom.Vector3D; | |
| import org.flixel.FlxGroup; | |
| import org.flixel.FlxSprite; | |
| import org.flixel.FlxState; | |
| import org.flixel.FlxG; | |
| import org.flixel.FlxCamera; | |
| import org.flixel.FlxRect; | |
| import org.flixel.system.input.Keyboard; |
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
| rtv = ActiveRecord::Base.connection.execute(" | |
| (SELECT pending_participant.first_name AS first_name, pending_participant.last_name AS last_name, pending_participant.email AS email, 'Pending' as status | |
| FROM sdo_pending_participants AS pending_participant | |
| WHERE pending_participant.sdo_turnkey_project_id = 2443) | |
| UNION | |
| (SELECT DISTINCT participant.first_name AS first_name, participant.last_name AS last_name, participant_email_address.email_address AS email, participant_project.status as status | |
| FROM participants AS participant |
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
| app.preferences.rulerUnits = Units.PIXELS; | |
| var srcDoc = app.activeDocument; | |
| var numOfLayers = srcDoc.layers.length; | |
| var results = ""; | |
| for (var i = 0; i < numOfLayers; i++) | |
| { | |
| var theLayer = srcDoc.layers[i]; | |
| results += "["+(numOfLayers-i-1)+"]"+theLayer.name+"\n"; | |
| } |
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
| // Save this file in Program Files\Adobe\Photoshop\Presets\Scripts\ | |
| // In PhotoShop CS5, run it by going menu File > SCripts > Browse > layersToSprite.js | |
| if (documents.length > 0) { | |
| // Adjust this to the number of columns you want | |
| //leave -1 if you want it to calculate an optimal column value. | |
| var cols = -1; | |
| var docRef = activeDocument; |
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
| /* | |
| ELM (Eased Linear Motion) Value | |
| Matches the start-end time of a linear motion curve with constant velocity, | |
| but has motion easing and constant acceleration. | |
| Can set target once, or every update. | |
| */ | |
| public struct ELMVal { | |
| private float _target_vel; //target velocity | |
| private float _t; //time in current curve |
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
| {"type":"dialogue","text":"I come back to an empty classroom. Everyone's still out for lunch.","xpos":0,"ypos":0}, | |
| {"type":"dialogue","text":"As I head inside, I notice a familiar figure in the back.","xpos":0,"ypos":0}, | |
| {"type":"showcharacter","character":"Raichi","image":"char_raichi_normal","xpos":300,"xscale":1}, | |
| {"type":"dialogue","text":"It's Raichi. He's alone at his desk reading a book.","xpos":0,"ypos":0}, | |
| {"type":"dialogue","text":"He looks up as I walk in.","xpos":0,"ypos":0}, | |
| {"type":"showcharacter","character":"Kurumi","image":"char_kurumi_normal","xpos":-300,"xscale":1}, | |
| {"type":"dialogue","character":"Raichi","text":"Ah, Kurumi. What brings you back so early?","xpos":22,"ypos":53}, |