lzj500 il y a 1 an
Parent
commit
823f02b1b9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      hilo_html/index.html

+ 2 - 2
hilo_html/index.html

@@ -64,7 +64,7 @@
 
 
 
-            zidan = new Hilo.Sprite({
+            zidan[i] = new Hilo.Sprite({
                 frames: zidanImg[i].getSprite('zidanImg'),
                 x: 10 * (i + 1),
                 y: 100 + 10 * (i + 1),
@@ -120,7 +120,7 @@
             x: 0,
             y: 300,
             interval: 6,
-            timeBased: false,
+            timeBased: true,
             loop: true,
             onUpdate: function () {
                 if (manStart) {