Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

processing full screen #2

Open
cakeking7878 opened this issue Aug 27, 2018 · 1 comment
Open

processing full screen #2

cakeking7878 opened this issue Aug 27, 2018 · 1 comment

Comments

@cakeking7878
Copy link

When you put the code into processing and run it, there is a error with full screen. please make a quick fix for this

@mediash
Copy link

mediash commented Sep 6, 2018

Moving fullScreen(); to a settings() block fixed it for me:

Enigma enigma;
void settings() {
fullScreen();
}
void setup() {
frameRate(30);
blackground = loadImage("blacktexture.jpg");
for (int i = 0; i< letters.length; i++) {
letters[i] = new Light(letterOrder.charAt(i), i);
}
lightOnSprite = loadImage("light.png");

enigma = new Enigma();
enigma.randomRotors();
enigma.randomPositions();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants