Projeto

Geral

Perfil

Estatísticas
| Revisão:

root / processing / blacklight / blacklight.pde @ 16

Histórico | Ver | Anotar | Download (1018 Bytes)

1
/*
2
BLACKLIGHT v1.0
3
Project made for Mestrado de Comunicação Multimédia, Ramo Multimédia Interactivo at Departamento de Comunicação e Arte at Universidade de Aveiro.
4

    
5
Author: Nuno Simaria - nsimaria@ua.pt - #23652
6
Other workgroup members: Ana Filipa Lacerda, Daniela Rei, Renato Costa, Julien Cuenin
7
*/
8

    
9

    
10

    
11

    
12
import krister.Ess.*;
13
import fullscreen.*;
14
import processing.opengl.*;
15

    
16

    
17
Game _game_;
18
PApplet _root_;
19
SoftFullScreen _fs_;  
20
PFont _bold_;
21
PFont _regular_;
22
Detector _detector_ = null;
23

    
24
void setup ()
25
  {
26
  size (1024, 768, OPENGL);
27
  _root_ = this;
28

    
29
  
30
  println ("the beat starts here.");
31
 /* _fs_ = new SoftFullScreen (this);
32
  _fs_.enter ();*/
33

    
34
  Ess.start (this);
35
  _bold_    = loadFont ("Code-Bold-48.vlw");
36
  _regular_ = loadFont ("Code-Light-48.vlw");
37

    
38
  _detector_ = new Detector ();
39
  _detector_.setup ();
40

    
41
  _game_ = new Game ();
42
  _game_.setup ();
43
  
44

    
45
  //Ess.start (_root_);
46
  //AudioChannel ost = new AudioChannel ("ost.mp3");
47
//  ost.play ();
48
  
49
  }
50
  
51
void draw ()
52
  {
53
  _game_.draw ();
54
  }