大约有 45,000 项符合查询结果(耗时:0.0482秒) [XML]
App Inventor 2 绘图之画布画弧(DrawArc)函数的用法 · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
游戏中的算法与计算思维 01:画布坐标映射到卡片 · App Inventor 2 中文网
...宽,(行 + 0.5) * 高)
}
}
when 画布1.Touched(x, y, touchedAnySprite) {
if x >= 0 and y >= 0 and x < 画布1.Width and y < 画布1.Height {
var i = floor(y / 高) * 4 + floor(x / 宽) + 1
if i
游戏中的算法与计算思维 04:第一张、第二张与匹配状态 · App Inventor 2 中文网
...宽,(行 + 0.5) * 高)
}
}
when 画布1.Touched(x, y, touchedAnySprite) {
if x >= 0 and y >= 0 and x < 画布1.Width and y < 画布1.Height {
var i = floor(y / 高) * 4 + floor(x / 宽) + 1
if i
游戏中的算法与计算思维 07:按难度保存最佳成绩 · App Inventor 2 中文网
...宽,(行 + 0.5) * 高)
}
}
when 画布1.Touched(x, y, touchedAnySprite) {
if x >= 0 and y >= 0 and x < 画布1.Width and y < 画布1.Height {
var i = floor(y / 高) * 4 + floor(x / 宽) + 1
if i
编程基础与事件状态 03:计时器刷新,截止时刻计时 · App Inventor 2 中文网
...lobal 状态 = "待开始"
global 任务 = ""
when 计时器1.Timer() {
if 状态 = "运行" {
剩余 = max(0, ceil((截止 - 计时器1.SystemTime()) / 1000))
if 剩余 = 0 {
状态 = "完成"
计时器1.TimerEnabled = false
}
标签_剩余.Text = join(剩余, " 秒")
标签_状态.Text = join(...
知识系列课程:24 课逐步实战,附阶段 .aia · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
活动报名签到:综合应用案例 · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
环境采集与告警:综合应用案例 · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
器材借还台:综合应用案例 · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
售后工单簿:综合应用案例 · App Inventor 2 中文网
...鼠标移动时拖动元素 document.onmousemove = function(e) { if (!isDragging) return; element.style.left = (e.clientX - offsetX) + 'px'; element.style.top = (e.clientY - offsetY) + 'px'; }; // 鼠标释放时停止拖动 document.onmouseup = function(...
