Przeglądaj źródła

made frame resizable, added fullScreen function (commented out)

master
Victor Giers 6 lat temu
rodzic
commit
6d78c5fc61
2 zmienionych plików z 6 dodań i 0 usunięć
  1. 4
    0
      MouseAndKey.pde
  2. 2
    0
      gse.pde

+ 4
- 0
MouseAndKey.pde Wyświetl plik

@@ -82,4 +82,8 @@ void keyPressed() {
save_gse();
println("Saved");
}
if (key == ENTER){
//+ frame.setSize
// fullScreen();
}
}

+ 2
- 0
gse.pde Wyświetl plik

@@ -27,6 +27,8 @@ void setup() {
marker = new Marker[200];
frameRate(24);
size(960, 540);
//fullScreen;
frame.setResizable(true);
smooth();
drop = new SDrop(this);
backgroundImage = loadImage("assets/background.jpg");

Ładowanie…
Anuluj
Zapisz