@next2d/builder
v0.5.26
Published
A multiplatform builder for the Next2d Framework. It supports exporting to a variety of platforms, including Steam, macOS, Windows, Linux, iOS, Android, Xbox, Nintendo Switch, and the web (HTML).
Maintainers
Readme
Multi-platform Builder
日本語
Next2D Frameworkの1つのプロジェクトから、複数のプラットフォーム向けにアプリケーションを書き出すビルダーです。 Steamおよびデスクトップ向けのWindows / macOS / Linux、スマートフォン向けのiOS / Android、Web(HTML)に対応しています。 Xbox対応は試作・開発段階です。
対応プラットフォーム
| プラットフォーム | 出力・対応状況 | |---|---| | Steam:Windows | 実行ファイル(.exe)と必要なリソース | | Steam:macOS | アプリケーションバンドル(.app) | | Steam:Linux | 実行ファイルと必要なリソース | | Web | 最適化されたJavaScriptとWebアセット | | iOS | Xcodeプロジェクトを開く、IPAを書き出す | | Android | Android Studioプロジェクトを開く、APKを書き出す | | Xbox | GDKネイティブホストの試作・開発段階 | | Nintendo Switch | 対応済み(NDAのため実装は非公開。下記参照) |
プラットフォーム別ガイド
設定、依存ツール、書き出し・配布手順の詳細は、以下のドキュメントにまとめています。
| ガイド | 内容 | |---|---| | Electron / Steam | デスクトップ書き出し、アイコン、CPU、オーバーレイウィンドウ、署名、Steam Depot、アップロード、ベータテスト | | ネイティブ機能の拡張 | OS API・任意SDKとの連携、設定、プロトコル、実装例(OS情報取得・EOS) | | iOS / Android(Capacitor) | ネイティブ設定、SDK、プラグイン、ビルドコマンド、移行、Xcodeの設定 | | Xbox(試作) | 開発状況、ホスト生成、ビルド環境、検証範囲 |
Nintendo Switch
Nintendo Switch向けの書き出しに対応しています。 ただし、NintendoSDKに依存する実装は秘密保持契約(NDA)の対象のため、このリポジトリには含まれていません。公開しているのは、SDKに依存しない共通部分のみです。
Nintendo Developer PortalでNDAを締結済みの方は、Discordでお声がけください。適宜対応します。
ビルド例
npx @next2d/builder --platform web --env prdプレビュー例
npx @next2d/builder --preview --platform web --env prdライセンス
このプロジェクトはMIT Licenseで公開しています。詳細はLICENSEを参照してください。
English
Build applications for multiple platforms from a single Next2D Framework project. The builder supports Windows / macOS / Linux for Steam and desktop distribution, iOS / Android for mobile devices, and Web (HTML). Xbox support is a prototype under development.
Supported platforms
| Platform | Output / status | |---|---| | Steam:Windows | Executable (.exe) and required resources | | Steam:macOS | Application bundle (.app) | | Steam:Linux | Executable and required resources | | Web | Optimized JavaScript and web assets | | iOS | Open the Xcode project and export an IPA | | Android | Open the Android Studio project and export an APK | | Xbox | Prototype GDK native host; under development | | Nintendo Switch | Supported (implementation is not public due to the NDA; see below) |
Platform guides
These guides cover platform-specific configuration, dependencies, builds and distribution.
| Guide | Contents | |---|---| | Electron / Steam | Desktop exports, icons, architectures, overlay windows, signing, Steam depots, uploads and beta testing | | Native extensions (Japanese) | OS APIs and SDK integration, configuration, protocol, and examples (system information / EOS) | | iOS / Android (Capacitor) | Native configuration, SDKs, plugins, build commands, migration and Xcode setup | | Xbox (prototype) | Development status, host generation, build environment and validation scope |
Nintendo Switch
Exporting to Nintendo Switch is supported. However, the implementation that depends on NintendoSDK is covered by a non-disclosure agreement (NDA) and is not included in this repository. Only the SDK-independent common parts are public.
If you have signed the NDA on the Nintendo Developer Portal, please reach out on Discord and we will help you as needed.
Build example
npx @next2d/builder --platform web --env prdPreview example
npx @next2d/builder --preview --platform web --env prdLicense
This project is licensed under the MIT License. See LICENSE for details.
