Skip to content

Classes

GlobalDescription
ScreenSprite

ScreenSprite

Functions

GlobalDescription
initialize()

初始化屏幕精灵。 Initializes the screen sprite.

setBlack()

将屏幕精灵的颜色设置为黑色。 Sets black to the color of the screen sprite.

setWhite()

将屏幕精灵的颜色设置为白色。 Sets white to the color of the screen sprite.

setColor(r, g, b)

通过数值设置屏幕精灵的颜色。 Sets the color of the screen sprite by values.

ScreenSprite

ScreenSprite

Kind: global class


new ScreenSprite()

覆盖整个游戏屏幕的精灵。
The sprite which covers the entire game screen.


initialize()

初始化屏幕精灵。
Initializes the screen sprite.

Kind: global function


setBlack()

将屏幕精灵的颜色设置为黑色。
Sets black to the color of the screen sprite.

Kind: global function


setWhite()

将屏幕精灵的颜色设置为白色。
Sets white to the color of the screen sprite.

Kind: global function


setColor(r, g, b)

通过数值设置屏幕精灵的颜色。
Sets the color of the screen sprite by values.

Kind: global function

ParamTypeDescription
rNumber红色值(范围 0-255) The red value in the range (0, 255)
gNumber绿色值(范围 0-255) The green value in the range (0, 255)
bNumber蓝色值(范围 0-255) The blue value in the range (0, 255)

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史
最近更新