Giter VIP home page Giter VIP logo

Comments (6)

YuMingC233 avatar YuMingC233 commented on June 2, 2024 1

"要一次性喂很多东西"这个功能,可以在购买的按钮旁整一个 number input 作为可选的购买数量,默认为1。
还可以根据物品的数量对物品的贴图做一些修改(比如2瓶水可以是2张水帖图叠加,也可以重绘成套装水的样式)
一个不错的小细节😋😋

from vpet.

YuMingC233 avatar YuMingC233 commented on June 2, 2024

Loris购买后动画的时间应该大部分都是一致的,可以将“购买”按钮加个时间长于购买后动画的时间防抖事件,就能临时解决这个问题 😂

from vpet.

LorisYounger avatar LorisYounger commented on June 2, 2024

UIBUG, 一般管不了, 不过视频里的这个感觉可以处理下,我研究研究看看

from vpet.

LorisYounger avatar LorisYounger commented on June 2, 2024

Loris购买后动画的时间应该大部分都是一致的,可以将“购买”按钮加个时间长于购买后动画的时间防抖事件,就能临时解决这个问题 😂

之前有加过禁止短时间多次喂食,不过反响不好(如果要一次性喂很多东西对玩家来说好麻烦) 后面改成多次喂食不显示动画

视频里的bug应该是夹层动画没有完全停止的原因, 我回头加个等待应该就能解决

from vpet.

Bluemangoo avatar Bluemangoo commented on June 2, 2024

"要一次性喂很多东西"这个功能,可以在购买的按钮旁整一个 number input 作为可选的购买数量,默认为1。 还可以根据物品的数量对物品的贴图做一些修改(比如2瓶水可以是2张水帖图叠加,也可以重绘成套装水的样式) 一个不错的小细节😋😋

其实买多了有效度会下降所以也不会同一个东西买很多的吧。

from vpet.

Bluemangoo avatar Bluemangoo commented on June 2, 2024

另外一段视频。

2023-12-28_14-10-52.mp4

from vpet.

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.