1.0.1 • Published 2 years ago

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

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago