Make
Constructors
new Make()
new Make():
Make
Returns
Properties
spine()
static
spine: (settings
) =>Spine
Parameters
• settings: SpineSettings
Returns
Spine
Source
Methods
animatedSprite()
static
animatedSprite(settings
):AnimatedSprite
Parameters
• settings: AnimatedSpriteSettings
Returns
Source
bitmapText()
bitmapText(settings)
static
bitmapText(settings
?):BitmapText
Parameters
• settings?: BitmapTextSettings
Returns
BitmapText
Source
bitmapText(value, style, alpha, position, anchor, scale)
static
bitmapText(value
?,style
?,alpha
?,position
?,anchor
?,scale
?):BitmapText
Parameters
• value?: string
• style?: Partial
<IBitmapTextStyle
>
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
BitmapText
Source
coloredSprite()
coloredSprite(settings)
static
coloredSprite(settings
):Sprite
<Application
<any
>>
Parameters
• settings: ColoredSpriteSettings
Returns
Sprite
<Application
<any
>>
Source
coloredSprite(color, size, shape, opts, alpha, position, anchor, scale)
static
coloredSprite(color
?,size
?,shape
?,opts
?,alpha
?,position
?,anchor
?,scale
?):Sprite
<Application
<any
>>
Parameters
• color?: number
• size?: PointLike
• shape?: "rectangle"
| "circle"
| "rounded_rectangle"
• opts?
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
Sprite
<Application
<any
>>
Source
container()
container(settings)
static
container(settings
?):Container
<Application
<any
>>
Parameters
• settings?: ContainerSettings
Returns
Container
<Application
<any
>>
Source
container(alpha, position, scale)
static
container(alpha
?,position
?,scale
?):Container
<Application
<any
>>
Parameters
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
Container
<Application
<any
>>
Source
flexContainer()
flexContainer(settings)
static
flexContainer(settings
):FlexContainer
Parameters
• settings: Partial
<FlexContainerCreationSettings
>
Returns
Source
flexContainer(alpha, position, settings, scale)
static
flexContainer(alpha
?,position
?,settings
?,scale
?):FlexContainer
Parameters
• alpha?: number
• position?: PointLike
• settings?: Partial
<FlexContainerSettings
>
• scale?: PointLike
Returns
Source
graphics()
graphics(settings)
static
graphics(settings
):Graphics
Parameters
• settings: GraphicsSettings
Returns
Graphics
Source
graphics(alpha, position, scale)
static
graphics(alpha
?,position
?,scale
?):Graphics
Parameters
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
Graphics
Source
htmlText()
htmlText(settings)
static
htmlText(settings
?):HTMLText
Parameters
• settings?: HTMLTextSettings
Returns
HTMLText
Source
htmlText(value, style, alpha, position, anchor, scale)
static
htmlText(value
?,style
?,alpha
?,position
?,anchor
?,scale
?):HTMLText
Parameters
• value?: string
• style?: Partial
<HTMLTextStyle
| TextStyle
| ITextStyle
>
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
HTMLText
Source
mesh()
mesh(settings)
static
mesh(settings
):Mesh
<Shader
>
Parameters
• settings: MeshSettings
Returns
Mesh
<Shader
>
Source
mesh(geometry, shader, state, drawMode)
static
mesh(geometry
,shader
,state
?,drawMode
?):Mesh
<Shader
>
Parameters
• geometry: Geometry
• shader: Shader
• state?: State
• drawMode?: DRAW_MODES
Returns
Mesh
<Shader
>
Source
nineSlice()
nineSlice(settings)
static
nineSlice(settings
):NineSlicePlane
Parameters
• settings: NineSliceSettings
Returns
NineSlicePlane
Source
nineSlice(asset, sheet, leftWidth, topHeight, rightWidth, bottomHeight, alpha, position, scale)
static
nineSlice(asset
,sheet
?,leftWidth
?,topHeight
?,rightWidth
?,bottomHeight
?,alpha
?,position
?,scale
?):NineSlicePlane
Parameters
• asset: string
| Texture
<Resource
>
• sheet?: SpritesheetLike
• leftWidth?: number
• topHeight?: number
• rightWidth?: number
• bottomHeight?: number
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
NineSlicePlane
Source
simpleMesh()
simpleMesh(settings)
static
simpleMesh(settings
):SimpleMesh
Parameters
• settings: SimpleMeshSettings
Returns
SimpleMesh
Source
simpleMesh(asset, sheet, vertices, uvs, indices, drawMode, alpha, position, scale)
static
simpleMesh(asset
,sheet
,vertices
?,uvs
?,indices
?,drawMode
?,alpha
?,position
?,scale
?):SimpleMesh
Parameters
• asset: string
| Texture
<Resource
>
• sheet: SpritesheetLike
• vertices?: Float32Array
• uvs?: Float32Array
• indices?: Uint16Array
• drawMode?: number
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
SimpleMesh
Source
simplePlane()
simplePlane(settings)
static
simplePlane(settings
):SimplePlane
Parameters
• settings: SimplePlaneSettings
Returns
SimplePlane
Source
simplePlane(asset, sheet, vertsWidth, vertsHeight, alpha, position, scale)
static
simplePlane(asset
?,sheet
?,vertsWidth
?,vertsHeight
?,alpha
?,position
?,scale
?):SimplePlane
Parameters
• asset?: string
| Texture
<Resource
>
• sheet?: SpritesheetLike
• vertsWidth?: number
• vertsHeight?: number
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
SimplePlane
Source
simpleRope()
simpleRope(settings)
static
simpleRope(settings
):object
Parameters
• settings: SimpleRopeSettings
Returns
object
points
points:
Point
[]
rope
rope:
SimpleRope
Source
simpleRope(asset, sheet, numPoints, segmentLength, autoUpdate, alpha, position, scale)
static
simpleRope(asset
,sheet
?,numPoints
?,segmentLength
?,autoUpdate
?,alpha
?,position
?,scale
?):object
Parameters
• asset: string
| Texture
<Resource
>
• sheet?: SpritesheetLike
• numPoints?: number
• segmentLength?: number
• autoUpdate?: boolean
• alpha?: number
• position?: PointLike
• scale?: PointLike
Returns
object
points
points:
Point
[]
rope
rope:
SimpleRope
Source
sprite()
sprite(settings)
static
sprite(settings
):Sprite
<Application
<any
>>
Parameters
• settings: SpriteSettings
Returns
Sprite
<Application
<any
>>
Source
sprite(asset, sheet, alpha, position, anchor, scale)
static
sprite(asset
,sheet
?,alpha
?,position
?,anchor
?,scale
?):Sprite
<Application
<any
>>
Parameters
• asset: string
| Texture
<Resource
>
• sheet?: SpritesheetLike
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
Sprite
<Application
<any
>>
Source
spriteAnimation()
static
spriteAnimation(props
):SpriteAnimation
Parameters
• props: SpriteAnimationProps
Returns
Source
text()
text(value, style, alpha, position, anchor, scale)
static
text(value
?,style
?,alpha
?,position
?,anchor
?,scale
?):Text
Parameters
• value?: string
• style?: Partial
<TextStyle
| ITextStyle
>
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
Text
Source
text(settings)
static
text(settings
):Text
Parameters
• settings: TextSettings
Returns
Text
Source
texture()
texture(settings)
static
texture(settings
):Texture
<Resource
>
Parameters
• settings: TextureSettings
Returns
Texture
<Resource
>
Source
texture(asset, sheet)
static
texture(asset
,sheet
?):Texture
<Resource
>
Parameters
• asset: string
• sheet?: SpritesheetLike
Returns
Texture
<Resource
>
Source
tilingSprite()
tilingSprite(settings)
static
tilingSprite(settings
):TilingSprite
Parameters
• settings: TilingSpriteSettings
Returns
TilingSprite
Source
tilingSprite(asset, sheet, width, height, tilePosition, alpha, position, anchor, scale)
static
tilingSprite(asset
,sheet
,width
,height
,tilePosition
?,alpha
?,position
?,anchor
?,scale
?):TilingSprite
Parameters
• asset: string
| Texture
<Resource
>
• sheet: SpritesheetLike
• width: number
• height: number
• tilePosition?: PointLike
• alpha?: number
• position?: PointLike
• anchor?: PointLike
• scale?: PointLike
Returns
TilingSprite
Source
uiCanvas()
static
uiCanvas(settings
):UICanvas
Parameters
• settings: UICanvasMakeSettings