Browse Source

Score tweaks, bug fixes

pull/2/head
Robert Chen 11 years ago
parent
commit
58e5b35364
  1. 13
      js/screens.js
  2. 5
      js/ui.js
  3. BIN
      res/screens/HelpCreditsScreen/HelpP5P6.png
  4. BIN
      res/screens/HelpCreditsScreen/HelpP7P8.png
  5. BIN
      res/screens/HelpCreditsScreen/HelpP9P10.png

13
js/screens.js

@ -417,9 +417,9 @@ function ScoreScreen( stage, gameState ){ @@ -417,9 +417,9 @@ function ScoreScreen( stage, gameState ){
var coreScoreChart = {
"raw": 0,
"undercooked": 125,
"slightly cooked": 750,
"slightly cooked": 600,
"cooked": 1000,
"overcooked": 600,
"overcooked": 750,
"dry": 400,
"burnt": 0
};
@ -452,18 +452,17 @@ function ScoreScreen( stage, gameState ){ @@ -452,18 +452,17 @@ function ScoreScreen( stage, gameState ){
totalScore += parseInt(outerTempScore.toFixed(0));
totalScore += parseInt(coreTempScore.toFixed(0));
resultsDialogue = [];
if (totalScore>=4000) {
if (totalScore>=1800) {
randomDiag = perfect;
}
else if (totalScore>=2500) {
else if (totalScore>=1400) {
randomDiag = great;
}
else if (totalScore>=800) {
else if (totalScore>=1000) {
randomDiag = average;
}
else if (totalScore>=300) {
else if (totalScore>=400) {
randomDiag = subPar;
}
else {

5
js/ui.js

@ -602,7 +602,9 @@ function OvenUI( stage, gameState ){ @@ -602,7 +602,9 @@ function OvenUI( stage, gameState ){
gameState.ovenModel.secondTick();
gameState.currentTime += diff;
gameState.turkeyCookCounter++;
if( gameState.turkeyBought ){
gameState.turkeyCookCounter++;
}
}
gameState.pubsub.subscribe( "SkipTime", function(){
@ -624,7 +626,6 @@ function OvenUI( stage, gameState ){ @@ -624,7 +626,6 @@ function OvenUI( stage, gameState ){
that.secondTick( diff );
if( gameState.turkeyBought ){
gameState.turkeyCookCounter++;
// what's the state of the turkey
turkeyState = gameState.ovenModel.getTurkeyState();
gameState.turkeyStates[0].alpha = 1;

BIN
res/screens/HelpCreditsScreen/HelpP5P6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 KiB

After

Width:  |  Height:  |  Size: 327 KiB

BIN
res/screens/HelpCreditsScreen/HelpP7P8.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 304 KiB

BIN
res/screens/HelpCreditsScreen/HelpP9P10.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 KiB

After

Width:  |  Height:  |  Size: 295 KiB

Loading…
Cancel
Save