Changeset 126 for pycodeshooter/trunk/index.html
- Timestamp:
- 01/22/12 21:00:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodeshooter/trunk/index.html
r122 r126 67 67 drawString( 68 68 ctx, "source-over", 69 "C lick screen to start game",70 1 5, 20, "#ACF", "9pt monospace", "left"69 "CLICK SCREEN TO START GAME", 70 10, 20, "#ACF", "9pt monospace", "left" 71 71 ); 72 72 }, 20); … … 119 119 // auto enemy encounter 120 120 var enemyIntervalId = setInterval(function() { 121 if ( numEnemies() < parseInt(document.getElementById("numenemies").value)) {121 if (getEnemiesOnScreen() < getStageNumber()) { 122 122 var ids = Object.keys(enemyList); 123 123 var id = ids[Math.floor(Math.random() * ids.length)]; … … 148 148 <h3><span class="sanchor">â </span> ææŠãã!</h3> 149 149 <p> 150 åå: <input type="text" value="P layer" size="8" id="name" />150 åå: <input type="text" value="PLAYER" size="8" id="name" /> 151 151 èä¹ 152 152 æ§: <input type="text" value="5" size="3" id="hitpoint" /> 153 153 ãã æ°: <input type="text" value="2" size="3" id="numbombs" /> 154 é³ æ¥œ: <input type="checkbox" checked="checked" id="sound" />154 é³: <input type="checkbox" checked="checked" id="sound" /> 155 155 <br /> 156 156 <canvas id="screen" width="320" height="480"></canvas> … … 162 162 <input type="hidden" value="5" id="shotinterval" /> 163 163 <input type="hidden" value="3" id="shotlevel" /> 164 <input type="hidden" value="3" id="numenemies" />165 164 <input type="hidden" value="/etc/pycodebattler/?mode=json" id="api" /> 166 165 <img src="images/logo.png" style="visibility: hidden;" id="logoimg" />
Note: See TracChangeset
for help on using the changeset viewer.