Changeset 116 for pycodeshooter
- Timestamp:
- 01/21/12 05:42:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodeshooter/trunk/shooter/system.js
r114 r116 238 238 var idx = (enemyData.skillpoint + i * (enemyData.skills.length + 1)) % EnemyBarrages.length; 239 239 var brrgCls = EnemyBarrages[idx]; 240 var frameColor; 241 242 switch(idx % 3) { 243 case 0: 244 frameColor = "rgba(128,32,32,0.7)"; 245 break; 246 case 1: 247 frameColor = "rgba(32,128,32,0.7)"; 248 break; 249 default: 250 frameColor = "rgba(32,32,128,0.7)"; 251 } 240 252 241 253 for (var k = 0; k < numBlt; k++) { … … 246 258 bulletSize, 247 259 "#FF3", 248 {"style": "rect", "color": "rgba(128,32,32,0.5)",260 {"style": "rect", "color": frameColor, 249 261 "width": bulletFrameWidth, "height": bulletFrameHeight}, 250 262 bulletInterval,
Note: See TracChangeset
for help on using the changeset viewer.