Lode Runner version 2.11a, AI_VERSION=4
(1) Modified for AI VERSION = 4
(1.1) When guard failing in hole, will drop gold before guard failing into hole totally
(1.2) Shake time extension when guard in hole.
NOW the runner can dig three hold for three guards and pass through them. (MUST quickly)
==> The behavior almost same as original lode runner (APPLE-II version).
Modified files: LodeRunner/lodeRunner.guard.js
(2) New Demo Data all ai_version = 4
modified files: lodeRunner.demoData1.js
(3) Slow down play speed:
//slow normal fast
change from speedMode = [15, 20, 25, 30, 35];
to speedMode = [14, 18, 23, 29, 35];
Modified files: lodeRunner.main.js
(4) Keep ai version don't overflow:
Modified files: lodeRunner.preload.js
Cette révision appartient à :
@@ -289,6 +289,9 @@ function runnerMoveStep(action, stayCurrPos )
|
||||
}
|
||||
map[x][y].act = RUNNER_T;
|
||||
|
||||
//show trap tile if runner fall into the tile, 9/12/2015
|
||||
if(map[x][y].base == TRAP_T) map[x][y].bitmap.set({alpha:0.5}); //show trap tile
|
||||
|
||||
// Check runner to get gold (MAX MOVE MUST < H4 & W4)
|
||||
if( map[x][y].base == GOLD_T &&
|
||||
((!xOffset && yOffset >= 0 && yOffset < H4) ||
|
||||
@@ -321,9 +324,7 @@ function decGold()
|
||||
showHideLaddr();
|
||||
if(runner.pos.y > 0) {
|
||||
if(curTheme == "C64") soundPlay("goldFinish" + ((curLevel-1)%6+1)); //six sounds
|
||||
else if (playMode == PLAY_MODERN || playMode == PLAY_TEST || playMode == PLAY_DEMO_ONCE) {
|
||||
soundPlay("goldFinish"); //TIME MODE
|
||||
}
|
||||
else soundPlay("goldFinish"); //for all apple2 mode, 9/12/2015
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur