Skip to content

Proof of concept of a Phaser 3 template built for nx.js runtime

License

Notifications You must be signed in to change notification settings

lulzsun/nxjs-phaser-poc

Repository files navigation

nxjs-phaser-poc

This is a Phaser 3 template that has been modified to be able build and run on the Nintendo Switch using the nx.js runtime

nx.js is a framework that enables the development of Nintendo Switch homebrew applications using JavaScript. Powered by the QuickJS engine, nx.js provides a streamlined environment for writing homebrew applications for the Nintendo Switch console.

Versions

This template has been updated for:

Features

At the moment, this template is only able to draw primitive scenes. The following work still needs to be done to have a functional game:

  • 🟡 Image loading
    • 🟢 Basic image support (png/jpeg/webp)
    • 🔴 Spritesheets & Atlas
      • ❗untested
  • 🟡 Text rendering
    • ❗requires implementing missing nx.js font metrics stuff
  • 🟡 Input handling
    • 🟡 Touch support
    • 🔴 Gamepad support
  • 🔴 Audio playback

Resources

nx.js

Visit: The nx.js website
Learn: API Docs
Code: Examples
Discord: Join us on Discord

Phaser

Visit: The Phaser website and follow on Phaser Twitter
Play: Some of the amazing games #madewithphaser
Learn: API Docs, Support Forum and StackOverflow
Discord: Join us on Discord
Code: 2000+ Examples
Read: The Phaser World Newsletter

Original template created by Phaser Studio. Powered by coffee, anime, pixels and love.

License

nx.js is released under the MIT License. Please see the LICENSE file for more details.

The Phaser logo and characters are © 2011 - 2024 Phaser Studio Inc.

About

Proof of concept of a Phaser 3 template built for nx.js runtime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published