JS脚本归档 (#599)

This commit is contained in:
起个名字好难的喵
2025-04-18 23:22:20 +08:00
committed by GitHub
parent 16cbcfc011
commit 9873074579
177 changed files with 1346 additions and 1346 deletions

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向左走5s
keyDown("A");
await sleep(5000);
keyUp("A");
log.info("已进入向右左走5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向左行走5秒",
"version": "1.0",
"description": "向左行走5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}