Difference between revisions of "Team:Tec-Monterrey/sandbox"

m
m
Line 274: Line 274:
 
                 var bacteriaTop = map(scroll, 900, 2000, -100, 100);
 
                 var bacteriaTop = map(scroll, 900, 2000, -100, 100);
 
                 var bacteriaRotate = map(scroll, 0, 700, 50, 0);
 
                 var bacteriaRotate = map(scroll, 0, 700, 50, 0);
                 if (bacteriaPos > hidingPos) {
+
                 if (scroll > hidingPos) {
 
                   $('#bacteria-nadando ').css('opacity','0');
 
                   $('#bacteria-nadando ').css('opacity','0');
 
                 } else {
 
                 } else {

Revision as of 19:10, 13 October 2018

Skip

E. coding
Tec-Monterrey
Seccion Acevedo Interactive Entertainement System Co. S.A. de C.V. Ind.

Contact Us

Sponsors