@@ -7,6 +7,7 @@ var GetFrames = function (textureManager, frames)
77 // { key: textureKey, frame: textureFrame },
88 // { key: textureKey, frame: textureFrame, duration: float },
99 // { key: textureKey, frame: textureFrame, onUpdate: function }
10+ // { key: textureKey, frame: textureFrame, visible: boolean }
1011 // ],
1112
1213 // console.table(frames);
@@ -31,7 +32,6 @@ var GetFrames = function (textureManager, frames)
3132 var frame = GetObjectValue ( item , 'frame' , 0 ) ;
3233 var duration = GetObjectValue ( item , 'duration' , 0 ) ;
3334 var onUpdate = GetObjectValue ( item , 'onUpdate' , null ) ;
34- var alpha = GetObjectValue ( item , 'alpha' , null ) ;
3535 var visible = GetObjectValue ( item , 'visible' , null ) ;
3636
3737 var textureFrame = textureManager . getFrame ( key , frame ) ;
@@ -41,12 +41,6 @@ var GetFrames = function (textureManager, frames)
4141 animationFrame . duration = duration ;
4242 animationFrame . onUpdate = onUpdate ;
4343
44- if ( alpha !== null )
45- {
46- animationFrame . setAlpha = true ;
47- animationFrame . alpha = alpha ;
48- }
49-
5044 if ( visible !== null )
5145 {
5246 animationFrame . setVisible = true ;
0 commit comments