チェンジセット 78: kuy/as2/sample/KeyIf
- コミット日時:
- 2007/09/15 18:24:49 (5 年前)
- ファイル:
-
- kuy/as2/sample/KeyIf/KeyIf.fla (更新) (変更前)
- kuy/as2/sample/KeyIf/KeyIf.swf (更新) (変更前)
- kuy/as2/sample/KeyIf/Main.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
kuy/as2/sample/KeyIf/Main.as
r77 r78 1 1 import net.endflow.util.KeyIf; 2 import net.endflow.util.Delay; 2 3 3 4 var ship:Ship = new Ship(_root); … … 8 9 LEFT: function(){ship.left()}, 9 10 RIGHT: function(){ship.right()}, 10 SPACE: {CONTROL: function(){ship.shot()}},11 SPACE: {CONTROL: {_90: function(){ship.shot()}}}, 11 12 PGUP: [function(){ship.up()}, function(){ship.shot()}], 12 13 PGDN: [function(){ship.down()}, function(){ship.shot()}], 13 HOME: function(){ship.reset()} 14 HOME: {_82: function(){ship.reset()}}, 15 _88: function(){ 16 ship.shot(); 17 Delay.f(function(){ 18 ship.shot(); 19 Delay.f(function(){ 20 ship.shot(); 21 }, 200); 22 }, 200); 23 } 14 24 });

