大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...(); function nextStep() { if (guideStep == guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); interactionArea.graphics...
来源: Laya_示例 发布时间: 20241118
...tTestPoint(targetPosition.x, targetPosition.y)) { addSegment(); Laya.stage.removeChild(food); foods.splice(i, 1); } } } function produceFood() { // 最多五个食物同屏 if (foods.length == 5) return; var food = new Sprite(); Laya.stage.addChild(food); foods.push(food); const foodSize = 40; food....
来源: Laya_示例 发布时间: 20241118
...Y = laser.alpha; if (laser.alpha < 0.01) { lasers.splice(i, 1); Laya.stage.removeChild(laser); i--; } } } // increment the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }
来源: Laya_示例 发布时间: 20241118