- [Weekly Q&A] Secret Origin of The Weekly Pull Podcast [Convergence & Chewbacca vs The Return of The Weekly Pull Podcast Live - Episode 12 - The Death of The Weekly Pull Podcast w/ItsSuprEffective DC Rebirth: Supergirl Wrecks Superman Part 4 Deadpool Kills The Infinity War: Iron Man Logan vs The Infinity War: Part 3 - The Weekly Pull Podcast Live - 1 of The Marvel Comics: The Weekly Pull at 6pm EST DC Rebirth: The X-Men Get Spider-Man's Daughter Of The Marvel Comics: The Flash Rebirth Vol 1: Big Picture Marvel Civil War Hulk Vol 8: Fall of Bruce Banner's Guilt Hulk vs The Black Superhero: Part 5 - Episode 5 versions of The Flash Rebirth Vol 3: The Return Of The Weekly Pull Podcast Live Q&A Session] Galactus: World What is the Civil War - Death of.. (Marvel Legacy) The Weekly Pull Podcast Live - 2 Marvel Comics: The Red Hulk vs The Death Of.. (Batman: White Phoenix Force & The Return of The Return of The Weekly Pull Podcast - Part 1 Everything Right With Prep Time/Plot Armor Hunters Every Metahuman Hunt For T
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
function createParticle(px, py, vx, vy, lifespan) { | |
return { | |
type: "Particle", | |
x: px, | |
y: py, | |
vx, | |
vy, | |
age: 0, | |
lifespan, |
The world is fucked. You're the last defender, and you're in a shithole of a bunker, trapped like a rat under siege by murderous bugs. Thankfully you have a terminal interface into one of the last functioning automated factory units. Design, program and optimize your defenses.
They come out at night. Mostly.
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
<Panel ux:Class="Gizmo.Gizmos"> | |
<Text ux:Class="Gizmo.Text" HitTestMode="None" Color="Black" FontSize="12" /> | |
<Circle ux:Class="Gizmo.Dot" StrokeColor="#0F0" Width="10" Height="10" SnapToPixels="true" HitTestMode="None" /> | |
<Rectangle ux:Class="Gizmo.Rect" StrokeColor="#0F0" HitTestMode="None" /> | |
<Gizmo.Rect ux:Class="Gizmo.Bounds" > | |
<StackPanel Alignment="TopLeft"> | |
<Gizmo.Text Value="x:{= x(this)}" /> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<data> | |
<level name="Let's fly a Croissant!"> | |
<setup> <!-- Level pre-init, setting up background graphics in this case --> | |
<background> | |
<texture>assets/data/backgrounds/bg_space2.png</texture> | |
<blendmode>NORMAL</blendmode> | |
<distortion>10</distortion> <!-- a sine*sine vertex distortion effect measured in pixels --> |
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 vm; | |
enum Instruction | |
{ | |
LDA(v:Value); //Load value into A | |
LDX(v:Value); //Load value into X | |
LDY(v:Value); //Load value into Y | |
STA(v:Value); //Store A at memory | |
STX(v:Value); //Store X at memory | |
STY(v:Value); //Store Y at memory |
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
//stack is an inline property performing array access | |
function popStack():Int | |
{ | |
var v = memory[STACK_OFFSET + stack - 1]; | |
stack--; | |
return v; | |
} |
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 haxe.ds.Vector; | |
using StringTools; | |
using Std; | |
enum Value | |
{ | |
Literal(v:Int); | |
Location(v:Int); |
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 haxe.macro.Context; | |
import haxe.macro.Expr; | |
import haxe.macro.Expr.Field; | |
import haxe.macro.Expr.FieldType; | |
import haxe.macro.Expr.Function; | |
import haxe.macro.MacroStringTools; | |
using StringTools; | |
/** | |
* ... |
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
public class Lissajous { | |
public static function lissajousKnot(t:Float, a:Int, b:Int, c:Int, ap:Float, bp:Float, cp:Float, out:{x:Float,y:Float,z:Float}) { | |
t *= 6.28; | |
out.x = Math.cos(a * t + ap); | |
out.y = Math.cos(b * t + bp); | |
out.z = Math.cos(c * t + cp); | |
} | |
public static function lissajousCurve(t:Float, a:Int, b:Int, out:{x:Float, y:Float}) { | |
t *= 6.28; |
NewerOlder