Skip to content

The size(); function being wierd #298

Closed
@NickHoehnen

Description

@NickHoehnen

I just upgraded my processing to the latest version(3.0b5), and when I try to run a sketch that used to work, I get an error message:
"size() cannot be used here, see https://processing.org/reference/size_.html"

The example in the link shows the size() in the setup(), like what I have.

Here is my setup() code:
void setup()
{
size(1000, 800);
background(200, 200, 200);
frameRate(60);
}
I tried to use fullScreen() instead of size, but it also said that it "cannot be used here"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions