Projeto

Geral

Perfil

Revisão 19

futureplaces beta

Ver diferenças:

processing/blacklight/blacklight.pde
31 31
//  frameRate (30);
32 32
  
33 33
  println ("the beat starts here.");
34
  /*_fs_ = new SoftFullScreen (this);
35
  _fs_.enter ();*/
34
  _fs_ = new SoftFullScreen (this);
35
  _fs_.enter ();
36 36

  
37 37
  Ess.start (this);
38 38
  _bold_    = loadFont ("Code-Bold-48.vlw");
......
54 54
void draw ()
55 55
  {
56 56
  _game_.draw ();
57
  }
57
  }
processing/blacklight/Level.pde
35 35
      return;
36 36
    }  
37 37

  
38
    this.timer = 1000;
38
    this.timer = 5000;
39 39
    
40 40
    this.battlefield = new Battlefield (1024, 768);
41 41
    this.lightlord = new Lightlord ();
......
91 91
    for (int j = 0; j < this.blacklord.blackmatter.size (); j++)
92 92
    {
93 93
      Blackmatter b = (Blackmatter) this.blacklord.blackmatter.get (j);      
94
      if (b.check ())
95
        continue;
96
        
94 97
      Cell cell = this.battlefield.getCell (b.x, b.y);
95 98
      cell.update(1);
96 99
    }
......
209 212
      _game_.lightWins ();*/
210 213
  }
211 214
}
212

  
215

  
processing/blacklight/Cell.pde
76 76

  
77 77
    // if is not between animation draw cell and circle color
78 78
    if ( this.animating == false ) {
79
      fill(lifeBar, this.opacity + 20 ) ;
79
      if (this.side == 0)
80
        fill (this.fillWhite, this.opacity + 70);
81
      else
82
        fill(lifeBar, this.opacity + 20 ) ;
83
      
80 84
      rect ( posX, posY, area, area );
81 85
      
82 86
    //  noStroke();
......
184 188
    animY += 5;
185 189
  };
186 190
  
187
}
191
}

Também disponível em: Unified diff