diff webGL/src/mainfunc.js @ 9:52045eb7a220 draft

Add judgement function
author e105711 <yomitan.ie.u-ryukyu.ac.jp>
date Tue, 15 May 2012 01:30:47 +0900
parents 040c922bd7ff
children 98a90bc478b3
line wrap: on
line diff
--- a/webGL/src/mainfunc.js	Mon May 14 16:19:40 2012 +0900
+++ b/webGL/src/mainfunc.js	Tue May 15 01:30:47 2012 +0900
@@ -33,7 +33,7 @@
     MODE = PLAY;
     objsArray.length = 0;
     objsArray.push(new Obj(100,7.8125,1,2));
-    objsArray.push(new Obj(100,105,1,3));
+//    objsArray.push(new Obj(100,105,1,3));
 }
 
 
@@ -47,8 +47,10 @@
     }
     if(MODE==PLAY){
 	drawNote(ctx);
+	PutSpriteF(ctx,100,105,1,imgs[3]); //line
     }
     PutSpriteF(ctx,100,70,1,imgs[6]); // background
+    
     ctx.flush();
 }