[Sie-announce] SIEコード [1478] 実験として24fpsから8fpsに切り替えた

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 12月 18日 (金) 23:35:20 JST


Revision: 1478
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1478
Author:   dhrname
Date:     2009-12-18 23:35:19 +0900 (Fri, 18 Dec 2009)

Log Message:
-----------
実験として24fpsから8fpsに切り替えた

Modified Paths:
--------------
    branches/05x/056/sie.js

Modified: branches/05x/056/sie.js
===================================================================
--- branches/05x/056/sie.js	2009-12-17 12:51:26 UTC (rev 1477)
+++ branches/05x/056/sie.js	2009-12-18 14:35:19 UTC (rev 1478)
@@ -2059,7 +2059,6 @@
     }
   }
   NAIBU._fontSearchURI(document);
-
 };
 //font-face-uri要素に書かれたuriを手がかりに、Ajaxを使ってファイルを読み込む
 NAIBU._fontSearchURI = function(doc){
@@ -2191,7 +2190,7 @@
             clearInterval(NAIBU.stop);
           }
         }),
-        41
+        125
       );
     }
   }
@@ -2380,10 +2379,12 @@
   return;
 };
 STSetElement.prototype.beginElementAt = function(offset) {
-  this._begin = Math.ceil(offset * 0.8 / 24 + NAIBU.Time.currentFrame);  //フレーム数に変換(軽量化のために、1s = 800msで計算)
+  var ntc = NAIBU.Time.currentFrame;
+  this._begin = Math.ceil(offset * 0.8 / 125 + ntc);  //フレーム数に変換(軽量化のために、1s = 800msで計算)
+  this._frame(ntc);
 };
 STSetElement.prototype.endElementAt = function(offset) {
-  this._end = Math.ceil(offset * 0.8 / 24 + NAIBU.Time.currentFrame);
+  this._end = Math.ceil(offset * 0.8 / 125 + NAIBU.Time.currentFrame);
 };
 
 function _noie_STSetElement(/*Element*/ ele) {




Sie-announce メーリングリストの案内
Back to archive index