Projeto

Geral

Perfil

Estatísticas
| Revisão:

root / first_draft / Splash.pde @ 4

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

1
class Splash
2
  {
3
  PImage bg;
4
    
5
  void draw ()
6
    {
7
    bg = loadImage("img/splash.jpg");
8
    image(bg, 0, 0, _width_, _height_);
9

    
10

    
11
    fill (255);
12

    
13
    translate (0, 0, 100);
14

    
15
    rotateY (PI/16);
16

    
17
    //text ("cooperative", 100, _height_/2 - 100);
18
    //text ("versus",      100, _height_/2 + 100);
19

    
20
    text ("click to start",      100, _height_/2 + 100);
21
    
22
    textFont (_font_, _font_size_ * 2);
23
    
24
    rotateY (-PI/16);
25
    
26
    text ("blight", _width_/2, (_height_/2) + (_font_size_/2));
27
    
28
    noLoop ();
29
    }
30
  }