Skip to content

这其中有一个隐藏bug,小球在一定数量的积累下,标识球会消失了 #2

Description

在小球数多的情况下:

groundSprite.js 先发生了碰撞 this.game.isFirstBoll = true;

             this.schedule(function(){
                 this.indexBoll.enabled = false;
                 this.isFirstBoll = false;
             }.bind(this), 0.08 * (this.allBolls - 1), 1); // 延时比碰撞晚

临时办法:发生碰撞时 unschedule 这个函数就可以了。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions