Code Monkey home page Code Monkey logo

Comments (4)

MegaSteelX avatar MegaSteelX commented on July 18, 2024

该问题可能(但并非必定)与模型库版本有关,目前出现问题的是44版本,其他版本由于难以回退并未测试。

from ark-pets.

dnyyfb avatar dnyyfb commented on July 18, 2024

版本2.3.0,同样有此问题,且十分频繁(只要有动作改变就会跳起)。旧版本的主程序在同主机上确认无此情况。(首次测试时未更新模型库(为42版),仅更新主程序到2.3.0,就开始出现此情况。后测试更新模型库到44版后还是会这样。应该和模型库没啥关系)
录屏:https://github.com/isHarryh/Ark-Pets/assets/63101620/acb0d1e1-4d78-490a-bbe9-9d7fd5453c2c

from ark-pets.

isHarryh avatar isHarryh commented on July 18, 2024

已证实该问题存在:桌宠播放行走动作时,y坐标被错误地增加了2倍的窗口高度。该问题属于作者在调试时未测试桌宠行走动作导致。问题代码位于:

private void walkWindow(float len) {
float expectedLen = len * WD_SCALE * (30f / APP_FPS);
int realLen = randomRound(expectedLen);
float newPlaneX = windowPosition.end().x + realLen;
float newPlaneY = -(windowPosition.end().y - WD_H);
plane.changePosition(Gdx.graphics.getDeltaTime(), newPlaneX, newPlaneY);
}

其中L395第二个减号(-)应为加号(+)。将于下一个补丁版本修复。

from ark-pets.

isHarryh avatar isHarryh commented on July 18, 2024

已发布 v2.3.1

from ark-pets.

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.