Git Product home page Git Product logo

Comments (5)

blendzlq avatar blendzlq commented on May 27, 2024 1

小米4C 参数
{
"under_game_score_y": 320,
"press_coefficient": 1.524,
"piece_base_height_1_2": 25,
"piece_body_width": 80,
"swipe" : {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
}
}

同时 在 wechat_jump_auto.py 中 在main ()中 的jump之前插入

distance = math.sqrt((board_x - piece_x) ** 2 + (board_y - piece_y) ** 2)
print("start-------- distance --------start: ", distance)
tmp = 0
if distance < 220:
tmp = 38
print("200-------- distance --------200:",tmp)
elif distance < 380:
tmp = 30
print("350-------- distance --------350:",tmp)
elif distance < 480 :
tmp = 25
print("465-------- distance --------465:",tmp)
elif distance < 515 :
tmp = 14
print("500-------- distance --------500:",tmp)
elif distance < 580 :
tmp = 12
print("540-------- distance --------540:",tmp)
elif distance < 635 :
tmp = 5
print("630-------- distance --------630:",tmp)
distance = distance + tmp
print("end-------- distance --------end: ", distance)
jump(distance)
把jump注释了。。就ok。。亲测3000+。。

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024
  1. 更新最新的代码
  2. 提供具体分辨率,以及最后一次使用的参数
  3. 上传一张 screenshot_backups 目录下的 _d.png 结尾画了线的图

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

改发在那里吧 参数没设置好的发这里 · Issue #62 · wangshub/wechat_jump_game

from wechat_jump_game.

BinLu-leo avatar BinLu-leo commented on May 27, 2024

“同时 在 wechat_jump_auto.py 中 在main ()中 的jump之前插入”,请问这个代码在哪里呢,在源代码中没有找到位置,还请赐教

from wechat_jump_game.

blendzlq avatar blendzlq commented on May 27, 2024

就在wechat_jump_auto.py中的main()中 没法截图 在代码中的后面 大概应该268行是main(). 在
set_button_position(im) 之后插入。屏蔽作者的jump()函数。。ok

from wechat_jump_game.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.