Mercurial > hg > Members > e105711
comparison webGL/src/const.js @ 7:c5455ae6cd70 draft
8th,change a way of update to notes,support ogg and wav sound
author | e105711 <yomitan.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 05 May 2012 23:57:18 +0900 |
parents | 55702e139f69 |
children | 040c922bd7ff |
comparison
equal
deleted
inserted
replaced
6:8c25fd3f9866 | 7:c5455ae6cd70 |
---|---|
1 //Game mode | |
1 const TITLE = 0; | 2 const TITLE = 0; |
2 const MENU = 1; | 3 const MENU = 1; |
3 const MAIN = 2; | 4 const MAIN = 2; |
4 const PLAY = 3; | 5 const PLAY = 3; |
5 const READY = 4; | 6 const READY = 4; |
7 | |
8 //Constituents of game | |
9 const WIDTH = 960; | |
10 const HEIGHT = 600; | |
11 const FPS = 50; | |
12 const Interval = 1000/FPS; | |
13 const ALPHA = 5; // influence speed of notes |