Present Mode - can't get a black BG

edited October 2013 in Using Processing

Hey there!

I'm pretty new to processing and I encountered a problem I just cannot solve alone. I'm simply trying to make the background in processings "present-mode" black instead of a light grey. Of course I started googling the topic and found these two solutions:

changing: FULL SCREEN (PRESENT MODE) run.present.bgcolor = #666666run.present.stop.color = #cccccc# in the preferences.txt

and including the following line of code in the setup area frame.setBackground(new java.awt.Color(0, 0, 0));

Neither of these two solutions did help, the background stays grey.

I'm encountering this problem both on my Desktop(Windows7) and my Laptop(Windows8) The version of processing is 2.0.3 32bit.

Would be awesome if you could help!

Answers

  • You could just use background(), you know...

    If you didn't know about background(), I suggest you look at the processing's learning page.

  • and for the fullscreen you can use

     void setup()
     {
        size(displayWidth, displayHeight) ;
     }
    boolean sketchFullScreen() {
          return true ;
     }
    
  • edited November 2013

    open the prefs

    close processing

    change

    FULL SCREEN (PRESENT MODE) run.present.bgcolor = #666666

    to

    FULL SCREEN (PRESENT MODE) run.present.bgcolor = #000000

    and save

    start processing again

    voila

Sign In or Register to comment.