普段は特に問題はないのだが、スコア更新と同時に Game.stop を実行すると、最後のスコア更新が少ししか表示に反映されないという奇妙なバグになる。
表示のディレイが必要ないときは util.enchatn.js で定義されている enchant.util.ScoreLabel の
this.easing = 2.5;を
this.easing = 1;にすれば OK。
this.easing = 2.5;を
this.easing = 1;にすれば OK。
<div id="enchant-stage" style="position:fixed; top:100px; left:100px;">
</div>