Create games with Haxe
for the Nintendo Switch
An framework engine with 2D and 3D capabilities made for homebrew built on Haxe, OpenGL, and SDL2, fully open source!
An framework engine with 2D and 3D capabilities made for homebrew built on Haxe, OpenGL, and SDL2, fully open source!
package source; import vupx.VupxEngine; class Main { public static function main():Void { VupxEngine.init("MyProject", new MyFirstState(), false); } }
package source; import vupx.core.VpConstants; import vupx.objects.VpText; import vupx.states.VpState; class MyFirstState extends VpState { override public function create():Void { // Create a text object var spriteText = new VpText(0, 0, "Hello World!", VpConstants.VUPX_DEFAULT_FONT_PATH, 24); spriteText.center(); // Center the text on screen add(spriteText); // Add text to the current state } }
HaxeNXCompiler --compile