Browse Source

Replace SVGs with PNGs

pull/2/head
Robert Chen 11 years ago
parent
commit
77ca3dbc59
  1. 22
      js/main.js
  2. 4
      js/ui.js
  3. BIN
      res/screens/KitchenScreen/TurkeyState1Small.png
  4. BIN
      res/screens/KitchenScreen/TurkeyState2Small.png
  5. BIN
      res/screens/KitchenScreen/TurkeyState3Small.png
  6. BIN
      res/screens/KitchenScreen/TurkeyState4Small.png
  7. BIN
      res/screens/KitchenScreen/TurkeyState5Small.png
  8. BIN
      res/screens/Window/Test4-217.png
  9. BIN
      res/screens/Window/Test4TransparencyFull.png

22
js/main.js

@ -107,11 +107,11 @@ function GameState(){
// Kitchen Items // Kitchen Items
queue.loadFile( {id: "res/screens/KitchenScreen/KitchenScreen.png", src:"res/screens/KitchenScreen/KitchenScreen.png"}); queue.loadFile( {id: "res/screens/KitchenScreen/KitchenScreen.png", src:"res/screens/KitchenScreen/KitchenScreen.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/FinalConfirmation.png", src:"res/screens/KitchenScreen/FinalConfirmation.png"}); queue.loadFile( {id: "res/screens/KitchenScreen/FinalConfirmation.png", src:"res/screens/KitchenScreen/FinalConfirmation.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState1Small.svg", src:"res/screens/KitchenScreen/TurkeyState1Small.svg"}); queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState1Small.png", src:"res/screens/KitchenScreen/TurkeyState1Small.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState2Small.svg", src:"res/screens/KitchenScreen/TurkeyState2Small.svg"}); queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState2Small.png", src:"res/screens/KitchenScreen/TurkeyState2Small.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState3Small.svg", src:"res/screens/KitchenScreen/TurkeyState3Small.svg"}); queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState3Small.png", src:"res/screens/KitchenScreen/TurkeyState3Small.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState4Small.svg", src:"res/screens/KitchenScreen/TurkeyState4Small.svg"}); queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState4Small.png", src:"res/screens/KitchenScreen/TurkeyState4Small.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState5Small.svg", src:"res/screens/KitchenScreen/TurkeyState5Small.svg"}); queue.loadFile( {id: "res/screens/KitchenScreen/TurkeyState5Small.png", src:"res/screens/KitchenScreen/TurkeyState5Small.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/CookbookKitchenGlow.png", src:"res/screens/KitchenScreen/CookbookKitchenGlow.png"}); queue.loadFile( {id: "res/screens/KitchenScreen/CookbookKitchenGlow.png", src:"res/screens/KitchenScreen/CookbookKitchenGlow.png"});
queue.loadFile( {id: "res/screens/KitchenScreen/CookbookKitchen.png", src:"res/screens/KitchenScreen/CookbookKitchen.png"}); queue.loadFile( {id: "res/screens/KitchenScreen/CookbookKitchen.png", src:"res/screens/KitchenScreen/CookbookKitchen.png"});
@ -245,7 +245,7 @@ function GameState(){
queue.loadFile( {id: "res/screens/Window/Win10.png", src:"res/screens/Window/Win10.png"}); queue.loadFile( {id: "res/screens/Window/Win10.png", src:"res/screens/Window/Win10.png"});
queue.loadFile( {id: "res/screens/Window/Win11.png", src:"res/screens/Window/Win11.png"}); queue.loadFile( {id: "res/screens/Window/Win11.png", src:"res/screens/Window/Win11.png"});
queue.loadFile( {id: "res/screens/Window/Tree_Animation.png", src:"res/screens/Window/Tree_Animation.png"}); queue.loadFile( {id: "res/screens/Window/Tree_Animation.png", src:"res/screens/Window/Tree_Animation.png"});
queue.loadFile( {id: "res/screens/Window/Test4TransparencyFull.svg", src:"res/screens/Window/Test4TransparencyFull.svg"}); queue.loadFile( {id: "res/screens/Window/Test4TransparencyFull.png", src:"res/screens/Window/Test4TransparencyFull.png"});
@ -282,11 +282,11 @@ function GameState(){
/* all turkeys */ /* all turkeys */
this.turkeyStates = [ this.turkeyStates = [
new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState1Small.svg" ), new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState1Small.png" ),
new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState2Small.svg" ), new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState2Small.png" ),
new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState3Small.svg" ), new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState3Small.png" ),
new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState4Small.svg" ), new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState4Small.png" ),
new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState5Small.svg" ) new createjs.Bitmap( "res/screens/KitchenScreen/TurkeyState5Small.png" )
]; ];
this.purchasedItems = []; this.purchasedItems = [];

4
js/ui.js

@ -662,8 +662,8 @@ function OvenUI( stage, gameState ){
function WindowUI( stage, gameState ){ function WindowUI( stage, gameState ){
var dayNight = new createjs.Bitmap("res/screens/Window/Test4-217.svg"); var dayNight = new createjs.Bitmap("res/screens/Window/Test4-217.png");
var mood = new createjs.Bitmap("res/screens/Window/Test4TransparencyFull.svg"); var mood = new createjs.Bitmap("res/screens/Window/Test4TransparencyFull.png");
mood.y=30; mood.y=30;
dayNight.y=30; dayNight.y=30;

BIN
res/screens/KitchenScreen/TurkeyState1Small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
res/screens/KitchenScreen/TurkeyState2Small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
res/screens/KitchenScreen/TurkeyState3Small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
res/screens/KitchenScreen/TurkeyState4Small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
res/screens/KitchenScreen/TurkeyState5Small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
res/screens/Window/Test4-217.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
res/screens/Window/Test4TransparencyFull.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save