1.0.1 • Published 5 months ago

xverse-components-game-avoid-obstacles v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

API

参数名类型说明默认值是否必填备注
onExit() => void退出游戏的回调-false-
onNext() => void完成游戏的回调-false-
onFail() => void游戏失败的回调-false-
targetDurationnumber目标达成时长-true单位:秒
backgroundImagestring背景图片-true-
controllerIObstacle[]被控制物体,设置一个即可-true-
obstaclesIObstacle[]障碍物-true-
noticeBackgroundImagestring提示背景图片-true-
noticeBackgroundStyleCSSProperties提示背景图片样式-false-
noticeTextstring提示文本-false-
noticeTextStyleCSSProperties提示文本样式-false-
collisionNoticeBackgroundImagestring碰撞提示背景图片-true-
collisionNoticeBackgroundStyleCSSProperties碰撞提示背景图片样式-false-
noticeBtnImagestring提示按钮图片-true-
noticeBtnStyleCSSProperties提示按钮图片样式-false-
1.0.1

5 months ago

1.0.0

5 months ago

0.1.0

6 months ago

0.1.1

6 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

9 months ago