Class: Next2D

Next2D

new Next2D ()

TODO

Methods

createRootMovieClip (width, height, fps, options)Sprite

TODO

NameTypeDefaultDescription
widthnumber240optional
heightnumber240optional
fpsnumber24optional
optionsobjectnulloptional
Returns:
TypeDescription
Sprite

load (url, options)void

TODO

NameTypeDefaultDescription
urlstring

JSONファイルのURL
URL of the JSON file

optionsobjectnulloptional

{number} width = Stageの幅 | Stage width
{number} height = Stageの高さ | Stage height
{string} [tagId=null] canvasを追加対象のDOMのID | ID of the DOM to which the canvas is added
{string} [base="/"] Loaderが読み込む際の絶対パス | Absolute path for Loader to load.
{number|string|boolean} [bgColor=null] 背景色 | background color

Returns:
TypeDescription
void