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
static function tryNormal() { | |
var r; | |
try { | |
r = 'normal'; | |
} catch (_:Dynamic) { | |
r = null; | |
} | |
return r; | |
} | |
static function tryCompact() { |
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
/* wpeditor.css, line 240: */ | |
.CodeMirror { | |
height:auto !important; | |
width:100%; | |
} | |
.wp-editor-container .CodeMirror { | |
width:100% !important; | |
} | |
.wp-editor-container .CodeMirror-scroll { | |
border:none; |
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 i; | |
i := 0; | |
while (i < 10) begin | |
show_message("o rly"); | |
i := i + 1; | |
end; |
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
/** | |
* Draws a "square" to given Graphics object. | |
* @param g Graphics object to draw in | |
* @param x X position of square (px) | |
* @param y Y position of square (px) | |
* @param z Size of square (px) | |
* @param a Top-left value (0..1) | |
* @param b Top-right value (0..1) | |
* @param c Bottom-left value (0..1) | |
* @param d Bottom-right value (0..1) |
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
/// draw_background_layer(index, x, y, bx, by, bw, bh) | |
/// draw_background_layer(index, x, y, view) | |
// Simulates built-in background drawing behaviour (for use-for-3d backgrounds). | |
var idx = argument[0], bi; | |
bi = background_index[idx] | |
if (bi == -1) return 0 | |
if (!background_visible[idx]) return 0 | |
if (!background_exists(bi)) return 0 | |
var ox = argument[1], oy = argument[2], | |
rx, ry, rw, rh; |
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
/// draw_background_layer(index, x, y, bx, by, bw, bh) | |
/// draw_background_layer(index, x, y, view) | |
// Simulates built-in background drawing behaviour (for non-use-for-3d backgrounds). | |
var idx = argument[0], bi; | |
bi = background_index[idx] | |
if (bi == -1) return 0 | |
if (!background_visible[idx]) return 0 | |
if (!background_exists(bi)) return 0 | |
var ox = argument[1], oy = argument[2], | |
rx, ry, rw, rh; |
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
using System; | |
using System.IO; | |
using System.Windows.Forms; | |
// ^ In a console application project you'll need to add a reference to this first. | |
namespace CSCoTest { | |
class Program { | |
static MemoryStream stringToMemoryStream(string value) { | |
return new MemoryStream(System.Text.Encoding.UTF8.GetBytes(value)); | |
} |
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
Stay within the confines of the giant beast's shadow to avoid its wrath | |
Only way to power-up is to die & be reborn as a more powerful creature but you have to keep finding secret 1-ups to kamikaze. | |
You are a piñata. find required amount hidden candy. inbetween levels, kids beat the shit out of you & the adults rebuild you. | |
A stealth game about a towering giant that wears the stealthiest footwear a giant can wear: skyscraper boots. | |
You are in a living, breathing dungeon where some doors have pulsing veins to be slit & other doors have grotesque hands to shake | |
Follow a trail of blood through a maze dungeon. defeat creatures. their blood splatter disorientates you. | |
Game title: alt-stab-delete. | |
You tire of your power. you decide to give 1 power-up to each of your friends. outcomes differ, depending what each friend gets. | |
Every enemy body part has an inventory of verbs to steal from, slowly providing each of your body parts with more freedom. | |
A game about finding your way out of small, enclosed spaces before your |
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
// ==ClosureCompiler== | |
// @compilation_level SIMPLE_OPTIMIZATIONS | |
// @output_file_name default.js | |
// @formatting pretty_print | |
// ==/ClosureCompiler== | |
// Before Closure: 0, 1, 3 | |
// After Closure: 0, 1, 3, 5, 6 | |
// Bug |
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
/********************************************* | |
* Tululoo Game Maker //TULULOO_VERSION | |
* | |
* Creators | |
* Zoltan Percsich | |
* Vadim "YellowAfterlife" Dyachenko | |
* | |
* (c) SilentWorks 2011 - 2014 | |
* All rights reserved. | |
* www.tululoo.com |