Add your description here
Project description
qx-game-bot
Mac, Linux, Windows 跨平台桌面端游戏脚本框架
功能
- 键鼠模拟 ✅
- 键鼠录制 ✅
- 屏幕录制 ✅
- 图色匹配 ✅
- 文字OCR识别
- 怪物检测
- 目标跟踪
- 多线程任务
- 基于web的GUI、中控
(先画饼, 慢慢实现...)
使用
from qx_game_bot import QxGameBotFramework
bot = QxGameBotFramework()
def helloAndCopyPaste():
bot.delay(100).keyTap("enter").keyType("# Hello World")
bot.keyPress("cmd").keyPress("shift").keyPress("left")
bot.keyRelease("cmd").keyRelease("shift").keyRelease("left")
bot.keyTapAll("cmd", "c")
bot.keyTapAll("cmd", "enter")
bot.keyTapAll("cmd", "v")
bot.delay(1500)
def releaseAll():
bot.keyPress("enter").keyPress("backspace").keyReleaseAll()
bot.keyType("write some thing wrong").delay(500)
bot.keyPress("alt").keyPress("backspace").keyReleaseAll().keyTap("backspace")
def clickOnMatchedImg():
result = bot.matchImgOnScreen("example.png", 0.75, retryDuration=1000)
if not result:
print("No match")
bot.click(result, position="center")
helloAndCopyPaste()
releaseAll()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qx_game_bot-0.1.2.tar.gz
(2.6 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qx_game_bot-0.1.2.tar.gz.
File metadata
- Download URL: qx_game_bot-0.1.2.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8031272bf7f7a8adfec9fd682e7eccf1e92867008b9e7773216bb9821b33543
|
|
| MD5 |
606fd26ab051665c73b8ee397806bfa2
|
|
| BLAKE2b-256 |
5d6288f566576fad358f3b22fd7781d02f05d33b234349241f0349a1455c44c4
|
File details
Details for the file qx_game_bot-0.1.2-py3-none-any.whl.
File metadata
- Download URL: qx_game_bot-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9316736f59cc8740aad39acc6f542a45c57101188996e0f4188589a78626350
|
|
| MD5 |
e9c9c5bfd470604338567d20e2acaf57
|
|
| BLAKE2b-256 |
75da2b0d7e40a65874ebe85a42d59fe1b916d5bfc65d7b8b2eddf0f59609b670
|