YellowTail on Android uses screen width and height, added sketch properties so it starts in Android mode

This commit is contained in:
codeanticode
2011-06-02 07:00:01 +00:00
parent 48fb8eca61
commit 2fe1b6d121
2 changed files with 2 additions and 1 deletions
@@ -20,7 +20,7 @@ int tmpXp[];
int tmpYp[];
void setup() {
size(480, 800, A3D);
size(screenWidth, screenHeight, A3D);
orientation(PORTRAIT);
background(0, 0, 0);
@@ -0,0 +1 @@
mode=Android