Browse Source

Updated colors for loading title

final
Robert Chen 11 years ago
parent
commit
e2fe4cd664
  1. 4
      js/ui.js
  2. BIN
      res/screens/LoadingScreen/Loading-Title.png

4
js/ui.js

@ -472,6 +472,8 @@ function OvenUI( stage, gameState ){ @@ -472,6 +472,8 @@ function OvenUI( stage, gameState ){
if( gameState.turkeyBought ){
var state = gameState.ovenModel.getTurkeyState();
if(!evalSkin[turkeyState["skin"]["cond"][2]])
gameState.pubsub.publish("Death","");
gameState.pubsub.publish( "ShowDialog", {seq:"custom", autoAdvance:true, customText:evalSkin[turkeyState["skin"]["cond"][2]] + "." } );
gameState.pubsub.publish( "AddRecord", {type:"Open ", text:"The turkey looked " + turkeyState["skin"]["cond"][2]} );
//gameState.ovenModel.setRawTemp( (gameState.ovenModel.getRawTemp() - 25) < 150 ? 150 : gameState.ovenModel.getRawTemp() - 25 );
@ -504,6 +506,8 @@ function OvenUI( stage, gameState ){ @@ -504,6 +506,8 @@ function OvenUI( stage, gameState ){
handleBar.y = 48;
if( gameState.turkeyBought ){
var state = gameState.ovenModel.getTurkeyState();
if(!evalSkin[turkeyState["skin"]["cond"][2]])
gameState.pubsub.publish("Death","");
gameState.pubsub.publish( "ShowDialog", {seq:"custom", autoAdvance:true, customText:evalSkin[turkeyState["skin"]["cond"][2]] } );
gameState.pubsub.publish( "AddRecord", {type:"Peek ", text:"The turkey looked " +turkeyState["skin"]["cond"][2]} );
}

BIN
res/screens/LoadingScreen/Loading-Title.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 200 KiB

Loading…
Cancel
Save