Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: rigidLoop.cpp
- Revision:
- 35:35af5086ab4f
- Parent:
- 34:1244fa3f2559
- Child:
- 44:46e25fa1669b
--- a/rigidLoop.cpp Wed Nov 07 14:41:55 2012 +0000 +++ b/rigidLoop.cpp Tue Nov 13 04:40:08 2012 +0000 @@ -78,7 +78,7 @@ //setColor(0x07);//0x04+0x02>>i); setColor(0x04); - saccadeRadius=50;//+rand()%20; + saccadeRadius=45;//+rand()%20; // default (initial) shape (the scafold belongs to the base class): bluePrint.buildCircularScafold(saccadeRadius, vector2Dd(0,0), 18); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints); @@ -104,7 +104,7 @@ //setColor(0x07);//0x04+0x02>>i); setColor(0x04); - saccadeRadius=60;//+rand()%20; + saccadeRadius=45;//+rand()%20; // default (initial) shape (the scafold belongs to the base class): bluePrint.buildCircularScafold(saccadeRadius, vector2Dd(0,0), 20); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints); @@ -129,7 +129,7 @@ sprintf(spotName,"rigid_following"); //setColor(0x07);//0x04+0x02>>i); - setColor(0x04); + setColor(0x04); //only R // default (initial) shape (the scafold belongs to the base class): saccadeRadius=23; @@ -161,7 +161,7 @@ // Name of this kind of spot: sprintf(spotName,"rigid_bouncing"); - setColor(0x05); + setColor(0x05);// R+B saccadeRadius=30;//+rand()%20; // default (initial) shape (the scafold belongs to the base class): @@ -220,7 +220,7 @@ sprintf(spotName,"pacman"); //setColor(0x07);//0x04+0x02>>i); - setColor(0x06); // make it green + setColor(0x06); // red+green = yellowish saccadeRadius=35;//+rand()%20; // default (initial) shape (the scafold belongs to the base class): @@ -254,8 +254,9 @@ sprintf(spotName,"ghost"); + // Make it blueish by default: //setColor(0x07);//0x04+0x02>>i); - setColor(0x05); + setColor(0x05); // red + blue massCenter=1.0; dampMotionCenterMass=0; // no motion damp (but there will be no forces: only constant uniform motion)