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
//Adapted from http://haxe.org/doc/start/cpp | |
class Test { | |
static function main() { | |
//The following trace should reproduce the error regardless of haxe version 3+ | |
// trace(" | |
// Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! | |
// Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! |
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
package enhaxe.resource.impl; | |
import enhaxe.math.Aabb; | |
import enhaxe.math.DualQuat; | |
import enhaxe.math.Mat44; | |
import enhaxe.math.Quat; | |
import enhaxe.math.Vec3; | |
import enhaxe.rendering.IGeometry; | |
import enhaxe.resource.Resource.IResourceData; | |
import enhaxe.resource.Resource.ResourceContext; |
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
import phoenix.Texture; | |
import phoenix.Batcher; | |
import phoenix.Camera; | |
import phoenix.geometry.LineGeometry; | |
import phoenix.geometry.QuadGeometry; | |
import phoenix.geometry.Geometry; | |
import phoenix.geometry.Vertex; | |
import phoenix.geometry.TextureCoord; | |
import phoenix.Quaternion; |
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
import luxe.Component; | |
import luxe.Input.MouseButton; | |
import luxe.Input.MouseEvent; | |
import luxe.Vector; | |
/* | |
for : http://luxeengine.com | |
author : underscorediscovery |
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
import luxe.Input; | |
import luxe.Sprite; | |
import luxe.Color; | |
import luxe.Component; | |
import luxe.tween.Actuate; | |
class HoverAlpha extends Component { | |
public var amount : Float = 0.3; |
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
# python | |
import lx | |
import traceback | |
from math import atan2, sqrt, pi | |
# WIP, will tidy when it's done | |
# Modo Area light -> Polygon | |
# https://github.com/underscorediscovery | |
# To install, see the modo docs, but in short: |
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
//create the list view | |
list = new mint.List({ | |
parent: window, | |
name: 'list1', | |
bounds: new Rect(4,28,248,400-28-4) | |
}); | |
//populate it with children |
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
import luxe.collision.ShapeDrawerLuxe; | |
import luxe.collision.shapes.Shape; | |
import luxe.collision.Collision; | |
import luxe.collision.CollisionData; | |
import luxe.Entity; | |
import luxe.Color; | |
class CollisionManager { |
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
/* | |
notes : | |
- set to css for highlighting only, does not equate to css. | |
- wip, etc | |
---- | |
control markup | |
---- | |
*/ |
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
base width will expand, | |
because of the last rule, | |
and not clamp to 100 from the second | |
:base { | |
left: >= 100; | |
width: >= 100; | |
right: screen.right; | |
} |
OlderNewer