- Dvergar / BaconJam: 2D top-down bullet-hell collaboratory game for Reddits BaconJam.
- Eiyeron / SQUARE: Complete, but minimalistic, game.
- Rostiger / Luxe Projects: Different tests projects.
- NicoM1 / Collab: Shmup-like game collaboration between NicoM1 and Eiyeron.
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; | |
import entities.Player; | |
import flash.geom.Point; | |
import flash.geom.Rectangle; | |
import flixel.addons.plugin.control.FlxControl; | |
import flixel.addons.plugin.effects.FlxSpecialFX; | |
import flixel.addons.plugin.effects.fx.StarfieldFX; | |
import flixel.FlxG; | |
import flixel.FlxSprite; |
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; | |
import luxe.Color; | |
import luxe.Component; | |
import luxe.Sprite; | |
/** | |
* This will set the color of any Sprite to a gradient. | |
* | |
* @author Abel Toy |
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; | |
import luxe.Mesh; | |
import haxe.io.StringInput; | |
import luxe.options.MeshOptions; | |
import luxe.Vector; | |
import phoenix.Batcher; | |
import phoenix.geometry.Geometry; | |
import PlyParser; | |
import phoenix.geometry.Vertex; | |
/** |
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 snow.platform.native.audio.openal.SoundStream; | |
import snow.audio.Audio; | |
import snow.types.Types; | |
import snow.io.typedarray.Uint8Array; | |
import snow.io.typedarray.Float32Array; | |
import snow.Log; | |
import luxe.Input; | |
class Main extends luxe.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
override function onenter<T>( _value:T ) { | |
earth = new Sprite({ | |
texture : earth_texture, | |
pos : new Vector(Luxe.screen.w/2, Luxe.screen.h), | |
}); | |
transformGesture = new TransformGesture(); | |
transformGesture.events.listen(GestureEvent.GESTURE_BEGAN, onTransformGesture); | |
transformGesture.events.listen(GestureEvent.GESTURE_CHANGED, onTransformGesture); |
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
#if macro | |
import yaml.Yaml; | |
import yaml.Parser; | |
import yaml.Renderer; | |
import yaml.util.ObjectMap; | |
import haxe.macro.Context; | |
#end | |
class Main { |
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
#if macro | |
import haxe.macro.Context; | |
#end | |
class Main { | |
macro static function load_json(file :String) { | |
var data = sys.io.File.getContent(file); | |
var json = haxe.Json.parse(data); | |
return Context.makeExpr(json, Context.currentPos()); |
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
//You can use it like this: | |
System.root.add(new NapeDebugView()); |
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 ; | |
import luxe.Component; | |
import luxe.Rectangle; | |
import luxe.Vector; | |
class PhysBody { | |
public var rect:Rectangle; | |
public var vel:Vector; | |
public var acc:Vector; |
OlderNewer