@next2d/builder
v0.3.1
Published
Multi-platform builder for Next2d Framework, supporting export to various platforms such as macOS, Windows, iOS, Android and 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ネイティブホストの試作・開発段階 |
プラットフォーム別ガイド
設定、依存ツール、書き出し・配布手順の詳細は、以下のドキュメントにまとめています。
| ガイド | 内容 | |---|---| | Electron / Steam | デスクトップ書き出し、アイコン、CPU、署名、Steam Depot、アップロード、ベータテスト | | ネイティブ機能の拡張 | OS API・任意SDKとの連携、設定、プロトコル、実装例(OS情報取得・EOS) | | iOS / Android(Capacitor) | ネイティブ設定、SDK、プラグイン、ビルドコマンド、移行、Xcodeの設定 | | Xbox(試作) | 開発状況、ホスト生成、ビルド環境、検証範囲 |
今後の対応予定
| プラットフォーム | |---| | Nintendo Switch |
ビルド例
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 |
Platform guides
These guides cover platform-specific configuration, dependencies, builds and distribution.
| Guide | Contents | |---|---| | Electron / Steam | Desktop exports, icons, architectures, 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 |
Planned support
| Platform | |---| | Nintendo Switch |
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.
