Git Product home page Git Product logo

Comments (6)

binderclip avatar binderclip commented on May 24, 2024

@qiushicai 方便上传一下失败的截图吗

from wechat_jump_game.

marph3 avatar marph3 commented on May 24, 2024

@binderclip 具体表现就是:块之间距离很近的时候会跳偏,会跳到下一个块的边缘。

from wechat_jump_game.

wangshub avatar wangshub commented on May 24, 2024

@binderclip 我把你加进Collaborators啦,希望多多支持维护 ~

from wechat_jump_game.

MrHwq avatar MrHwq commented on May 24, 2024

自动运行,还有手动运行都是有偏差的,看规律总是更近,我把auto.py增加了下距离
board_y += 30
if piece_x > board_x:
board_x -= 30
else:
board_x += 30
jump(math.sqrt(abs(board_x - piece_x) ** 2 + abs(board_y - piece_y) ** 2))
现在运行基本是在中间,可以自己一直跳

from wechat_jump_game.

binderclip avatar binderclip commented on May 24, 2024

准备去把计算出来的结果在图上画下来,好看实际效果

from wechat_jump_game.

binderclip avatar binderclip commented on May 24, 2024

@MrHwq 之前坐标取的似乎有点 bug,改了之后现在好一些了,就不用做修正了。另外现在也把测量的坐标在图上画线保存了,可以帮助 debug。

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.