Changeset 131
- Timestamp:
- 05/04/12 18:14:13 (13 years ago)
- Location:
- pycodeshooter/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodeshooter/trunk/index.html
r130 r131 137 137 <p> 138 138 åå: <input type="text" value="PLAYER" size="8" id="name" /> 139 èä¹140 æ§: <input type="text" value="5" size="3" id="hitpoint" />141 ãã æ°: <input type="text" value="2" size="3" id="numbombs" />142 139 é³: <input type="checkbox" checked="checked" id="sound" /> 143 140 <br /> 144 141 <canvas id="screen" width="320" height="480"></canvas> 142 <input type="hidden" value="5" id="hitpoint" /> 143 <input type="hidden" value="2" id="numbombs" /> 145 144 <input type="hidden" value="20" id="size" /> 146 145 <input type="hidden" value="1" id="hitsize" /> … … 166 165 <audio src="sounds/se_breakout_2.ogg", id="se_item_score" preload="auto" /> 167 166 <audio src="sounds/se_coinget_1.ogg", id="se_item_shot" preload="auto" /> 167 <audio src="sounds/se_coinget_1.ogg", id="se_item_wide" preload="auto" /> 168 168 <audio src="sounds/se_coinget_1.ogg", id="se_item_bomb" preload="auto" /> 169 169 <audio src="sounds/se_byuin.ogg", id="se_item_life" preload="auto" /> … … 225 225 </dl> 226 226 227 <p>ã¢ã€ãã </p> 228 <dl style="font-size: small;"> 229 <dt>â S</dt> 230 <dd>ã¹ã³ã¢</dd> 231 <dt>â P</dt> 232 <dd>匟æ°</dd> 233 <dt>â W</dt> 234 <dd>匟倧</dd> 235 <dt>â B</dt> 236 <dd>ãã </dd> 237 <dt>â L</dt> 238 <dd>1UP</dd> 239 </dl> 240 227 241 <p>ã·ã¹ãã ã¡ãã»ãŒãž</p> 228 242 <span id="message" style="font-size: small;">Now loading...</span> -
pycodeshooter/trunk/shooter/system.js
r130 r131 141 141 for (var k = 0; k < trooper.barrages.length; k++) { 142 142 trooper.barrages[k].way += item.attrs.quantity; 143 if (trooper.barrages[k].way >= 10) 144 trooper.barrages[k].way = 10; 143 if (trooper.barrages[k].way >= 5) 144 trooper.barrages[k].way = 5; 145 } 146 break; 147 case "wide": 148 playSound("se_item_wide"); 149 for (var k = 0; k < trooper.barrages.length; k++) { 150 trooper.barrages[k].size += item.attrs.quantity; 151 if (trooper.barrages[k].size >= 12) 152 trooper.barrages[k].size = 12; 145 153 } 146 154 break; … … 430 438 // nothing 431 439 } 432 else if (itemRand < 7 5) {440 else if (itemRand < 70) { 433 441 itemAttr = {"color": "#AAF", "symbol": "S", "type": "score", "quantity": enemy.maxLife * 200}; 434 442 } 443 else if (itemRand < 85) { 444 itemAttr = {"color": "#FAA", "symbol": "P", "type": "shot", "quantity": 1}; 445 } 435 446 else if (itemRand < 95) { 436 itemAttr = {"color": "# FAA", "symbol": "P", "type": "shot", "quantity": 1};447 itemAttr = {"color": "#A5F", "symbol": "W", "type": "wide", "quantity": 1}; 437 448 } 438 449 else if (itemRand < 98) { … … 621 632 [new LinerBarrage(YExtendBullet, 622 633 playerData.shotsize, 623 "rgba(64,64,128,0. 7)",634 "rgba(64,64,128,0.4)", 624 635 null, 625 636 playerData.shotinterval, … … 629 640 new LinerBarrage(LinerBullet, 630 641 playerData.shotsize, 631 "rgba(64,64,128,0. 7)",642 "rgba(64,64,128,0.4)", 632 643 null, 633 644 playerData.shotinterval, … … 655 666 new LinerBarrage(YExtendBullet, 656 667 playerData.shotsize, 657 "rgba(64,64,128,0. 7)",668 "rgba(64,64,128,0.4)", 658 669 null, 659 670 playerData.shotinterval, … … 663 674 new LinerBarrage(LinerBullet, 664 675 playerData.shotsize, 665 "rgba(64,64,128,0. 7)",676 "rgba(64,64,128,0.4)", 666 677 null, 667 678 playerData.shotinterval,
Note: See TracChangeset
for help on using the changeset viewer.