Browse Source

made frame resizable, added fullScreen function (commented out)

master
Victor Giers 5 years ago
parent
commit
6d78c5fc61
2 changed files with 6 additions and 0 deletions
  1. 4
    0
      MouseAndKey.pde
  2. 2
    0
      gse.pde

+ 4
- 0
MouseAndKey.pde View File

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

+ 2
- 0
gse.pde View File

@@ -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");

Loading…
Cancel
Save