Next2D Playerは、JavaScript FlashPlayer「swf2js」から派生したプロジェクトで
あらゆるデバイスで動作する2D最速エンジンを提供することを目的としてます。
WebGL、WebGL2を完全にサポートしており、ブラウザやデバイスの互換性に対処したりすることなく
リッチでインタラクティブなグラフィック、クロスプラットフォーム アプリケーション、およびゲームを作成できるライブラリです。
2Dエンターテインメント開発を簡単に!快速に!快適に!
Next2D Player is a project derived from the JavaScript FlashPlayer "swf2js".
The goal is to provide the fastest 2D engine that works on any device.
It fully supports WebGL and WebGL2, and can be used to create rich, interactive graphics and cross-platform applications without having to deal with browser or device compatibility.
It is a library that allows you to create rich, interactive graphics, cross-platform applications and games without having to deal with browser or device compatibility.
2D entertainment development made easy! Fast! Comfortable!
next2d.load("JSON Path...");
const {Loader} = next2d.display;
const {URLRequest} = next2d.net;
const {Event} = next2d.events;
// create root MovieClip
const root = next2d.createRootMovieClip();
const request = new URLRequest("JSON or Image");
const loader = new Loader(request);
loader
.contentLoaderInfo
.addEventListener(Event.COMPLETE, function (event)
{
const loaderInfo = event.currentTarget;
root.addChild(loaderInfo.content);
});
loader.load(request);
@see API Documentation
- Website
- Player API Documentation
- Tips
- Examples
- Tutorial
- Next2D Tool(α version to be released in December 2021.)
- Next2D Framework(α version)
- Chat Community(Discord)
This project is licensed under the MIT License - see the LICENSE file for details.