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.3.tar.gz
(2.7 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.3.tar.gz.
File metadata
- Download URL: qx_game_bot-0.1.3.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6494bdffd40e2586d6684b58fbad64b163dddd79827fa0e1183913200a590f63
|
|
| MD5 |
53b7612a5ef0da500725bd644c193e18
|
|
| BLAKE2b-256 |
3b9e81d3f11cefe96454a86449194dde69f0789b02d9813235bb7f56f7cdcae1
|
File details
Details for the file qx_game_bot-0.1.3-py3-none-any.whl.
File metadata
- Download URL: qx_game_bot-0.1.3-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
753e72f194f289f2c7aed39541c137122119e714f73bb79083cf7997b33c9e58
|
|
| MD5 |
342687816e5bfd6758ea452a1af5b69e
|
|
| BLAKE2b-256 |
4307843a54b6bc66b97402748800150331e6546bb5c6d57f617416fe3f637a5f
|