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!

Get Started View Source
source/Main.hx Entry Point
package source;

import vupx.VupxEngine;

class Main {
    public static function main():Void {
        VupxEngine.init("MyProject", new MyFirstState(), false);
    }
}
source/MyFirstState.hx Game State
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
    }
}
Terminal
Build Project
$ HaxeNXCompiler --compile