view 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
line wrap: on
line source

//Game mode
const TITLE = 0;
const MENU = 1;
const MAIN = 2;
const PLAY = 3;
const READY = 4;

//Constituents of game
const WIDTH = 960;
const HEIGHT = 600;
const FPS = 50;
const Interval = 1000/FPS;
const ALPHA = 5; // influence speed of notes