Browse Source

Updated help pages

pull/2/head
Robert Chen 11 years ago
parent
commit
4dbd98a618
  1. 1
      js/main.js
  2. 7
      js/ui.js
  3. BIN
      res/screens/HelpCreditsScreen/HelpP1P2.png
  4. BIN
      res/screens/HelpCreditsScreen/HelpP3P4.png
  5. BIN
      res/screens/HelpCreditsScreen/HelpP5P6.png
  6. BIN
      res/screens/HelpCreditsScreen/HelpP7P8.png
  7. BIN
      res/screens/HelpCreditsScreen/HelpP9P10.png

1
js/main.js

@ -88,6 +88,7 @@ function GameState(){ @@ -88,6 +88,7 @@ function GameState(){
queue.loadFile( {id: "HelpP3P4", src:"res/screens/HelpCreditsScreen/HelpP3P4.png" } );
queue.loadFile( {id: "HelpP5P6", src:"res/screens/HelpCreditsScreen/HelpP5P6.png" } );
queue.loadFile( {id: "HelpP7P8", src:"res/screens/HelpCreditsScreen/HelpP7P8.png" } );
queue.loadFile( {id: "HelpP9P10", src:"res/screens/HelpCreditsScreen/HelpP9P10.png" } );
queue.loadFile( {id: "ScoreScreenFile", src:"res/screens/ScoreScreen/Score-Evaluation-1.png" } );

7
js/ui.js

@ -51,7 +51,8 @@ function HelpUI( stage, gameState ){ @@ -51,7 +51,8 @@ function HelpUI( stage, gameState ){
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP1P2.png"),
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP3P4.png"),
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP5P6.png"),
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP7P8.png")
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP7P8.png"),
new createjs.Bitmap("res/screens/HelpCreditsScreen/HelpP9P10.png")
];
var position = 0;
var helpImg = helpPages[0];
@ -60,7 +61,7 @@ function HelpUI( stage, gameState ){ @@ -60,7 +61,7 @@ function HelpUI( stage, gameState ){
if( helpImg ){
position++;
helpImg.visible = false;
helpImg = helpPages[ position % 4 ];
helpImg = helpPages[ position % 5 ];
helpImg.visible = true;
} else{
that.hideHelp();
@ -70,7 +71,7 @@ function HelpUI( stage, gameState ){ @@ -70,7 +71,7 @@ function HelpUI( stage, gameState ){
if( helpImg ){
position--;
helpImg.visible = false;
helpImg = helpPages[ Math.abs(position) % 4 ];
helpImg = helpPages[ Math.abs(position) % 5 ];
helpImg.visible = true;
} else {
that.hideHelp();

BIN
res/screens/HelpCreditsScreen/HelpP1P2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

After

Width:  |  Height:  |  Size: 278 KiB

BIN
res/screens/HelpCreditsScreen/HelpP3P4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

After

Width:  |  Height:  |  Size: 319 KiB

BIN
res/screens/HelpCreditsScreen/HelpP5P6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 KiB

After

Width:  |  Height:  |  Size: 323 KiB

BIN
res/screens/HelpCreditsScreen/HelpP7P8.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 308 KiB

BIN
res/screens/HelpCreditsScreen/HelpP9P10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Loading…
Cancel
Save