Git Product home page Git Product logo

Comments (13)

mjzcyhp avatar mjzcyhp commented on May 27, 2024

大神怎么弄啊,

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

是很慢的,可以考虑像 #17 里调小 sleep 的值,或者不知道 adb 截图那边还有没有优化的空间。

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

我已经调小了 休眠时间,但是还是很慢,后来我调高了我的CPU速度,稍微快了一些,我觉得是 图形处理那块执行效率有点慢。。

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

@bordf 可能需要测试一下 pil 的图片操作消耗的时间,那块儿好像也很慢,直接用了没有细测

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

@binderclip 建议每次都打印下耗时。我这几乎要十秒钟才能跳一下,有点蒙,我承认我电脑用了八年了。

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

@bordf 等今天白天了可能去做一下优化吧。

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

@binderclip 差不多一个小时了,刷到了八百多分,我还录了个小视频,哈哈

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

@bordf 赞!

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

@binderclip 其实看到你的代码挺巧合的,我今天正好心血来潮研究了下adb来模拟点击,打算刷点火山小视频的互动和点赞呢,晚上刷脉脉就看到了你的代码,我其实都没玩过这个游戏,只是知道小程序出了这个demo,本来都要准备睡觉了,快十二点了洗个脚又回来玩了下你的代码,哈哈,不错

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

1001分了~

from wechat_jump_game.

bordf avatar bordf commented on May 27, 2024

(1514569492, 793, 1110, 336, 1374)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 735
25
2925 KB/s (289407 bytes in 0.096s)
(1514569515, 719, 1067, 401, 1250)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 511
21
3075 KB/s (370312 bytes in 0.117s)
(1514569541, 477, 1024, 645, 1121)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 270
25
2336 KB/s (335913 bytes in 0.140s)
(1514569567, 810, 1122, 315, 1408)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 796
25
2000 KB/s (191758 bytes in 0.093s)
(1514569594, 710, 1063, 400, 1242)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 498
25
2946 KB/s (192500 bytes in 0.063s)
(1514569619, 828, 1131, 300, 1436)
D:\adt\platform-tools\adb shell input swipe 500 1600 500 1601 849
24
3129 KB/s (199973 bytes in 0.062s)

from wechat_jump_game.

binderclip avatar binderclip commented on May 27, 2024

@bordf 不不,我是 Contributor 不是 Owner,Owner 是 @wangshub
我是在原有的基础上加了一个简单版本的自动识别。

from wechat_jump_game.

gunten avatar gunten commented on May 27, 2024

主要是计算下一步坐标慢啊 兄弟 @bordf

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.