Mercurial > hg > Members > e085711
view webGL/dandy/resources/schedule.js~ @ 11:680b5b0cd1e4
upload
author | NOBUYASU Oshiro |
---|---|
date | Mon, 12 Jul 2010 08:01:12 +0900 |
parents | 1d76f5717ba7 |
children | 61febc94fa62 |
line wrap: on
line source
const FRAME_RATE = 32; filpcount = 0; function schedule() { switch (filpcount) { case 1: break; case FRAME_RATE * 2: // Putenemy(0, 30, -10, 0, 0.3, chara_state0); Putenemy(0, 30, -10, 0, 0.3, chara_state3); break; case FRAME_RATE * 10: Putenemy(1, 60, -10, 0, -0.3, chara_state1); Putenemy(0, 40, -10, 0, 0.3, chara_state0); break; case FRAME_RATE * 15: Putenemy(2, 40, -10, 0, -0.5, chara_state1); Putenemy(0, 30, -10, 0, 0.3, chara_state0); break; case FRAME_RATE * 20: Putenemy(3, 30, -10, 0, -30.4, chara_state1); break; case FRAME_RATE * 45: for(var i = 0; Boolean(active_chara_list.enemy[i]) ; i++) { var p = active_chara_list.enemy[i]; p.f = false; p.state = delete_chara; p.collision = noaction; } PutBoss(1, 0, 80, 0, 0.5, chara_state8); // 1面ボスをPutenemy break; } }