Mercurial > hg > Game > WebGL
diff dandy/resources/constKey.js @ 1:54589bb5e57d
add dandy
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 23 Feb 2012 14:51:33 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dandy/resources/constKey.js Thu Feb 23 14:51:33 2012 +0900 @@ -0,0 +1,34 @@ +pad = new Pad(); +//キーボード入力 +const LEFT_ARROW = 37; +const UP_ARROW = 38; +const RIGHT_ARROW = 39; +const DOWN_ARROW = 40; +const KEY_D = 68; +const KEY_A = 65; +const KEY_W = 87; +const KEY_E = 69; +const KEY_Q = 81; +const KEY_Z = 90; +const KEY_X = 88; +const KEY_R = 82; +const KEY_E = 69; +const KEY_W = 87; +const KEY_S = 83; +const ENTER = 13; + + + + +const MAXP = 4090; + +//弾の威力 +const TAMALV1P = 14; +const TAMALV2P = 50; +const TAMALV3P = 24; + +//レーザーの威力? +const LASERLV1P = 17; +const LASERLV2P = 154; +const LASERLV3P = 51; +