Browse Source

Fixed skybug

pull/4/head
Robert Chen 11 years ago
parent
commit
9efe75e0ce
  1. 3
      js/ui.js

3
js/ui.js

@ -747,7 +747,8 @@ function WindowUI( stage, gameState ){ @@ -747,7 +747,8 @@ function WindowUI( stage, gameState ){
dayNight.y=30;
var secondCounter = 0;
mood.x = dayNight.x = -(new Date( gameState.currentTime ).getHours()*682.625);
var newpos = -(new Date( gameState.currentTime ).getHours()*682.625);
mood.x = dayNight.x = newpos < -15583 ? 0 : newpos;
var ground = new createjs.Bitmap( "res/screens/Window/Ground.png" );
var houses = new createjs.Bitmap( "res/screens/Window/Housefar.png" );

Loading…
Cancel
Save