diff --git a/src/Green/Actor.java b/src/Green/Actor.java index d26de2e..1ba0f34 100644 --- a/src/Green/Actor.java +++ b/src/Green/Actor.java @@ -30,6 +30,8 @@ public abstract class Actor private int _height; private float _opacity = 255; private int _resizeFormat = Green.NEAREST_NEIGHBOR; + + private static final int GREEN_COLOUR = 0xFF4D975B; //Constructors /** @@ -788,7 +790,7 @@ public void draw() //Overridable } else { - app.fill(-11692197); //color(77, 151, 91) + app.fill(GREEN_COLOUR); app.rect(-_width / 2f, -_height / 2f, _width, _height); } } diff --git a/src/Green/World.java b/src/Green/World.java index 5703521..3955c2f 100644 --- a/src/Green/World.java +++ b/src/Green/World.java @@ -18,8 +18,8 @@ public abstract class World private int _width; private int _height; - private int _backgroundColour = -1; //app.color(255, 255, 255); - private int _outOfBoundsColour = -16777216; + private int _backgroundColour = 0xFFFFFFFF; + private int _outOfBoundsColour = 0xFF000000; private PImage _sourceBackgroundImage = null; private PImage _backgroundImage = null; private boolean _unbounded = false; @@ -751,7 +751,7 @@ else if((_width > app.width || _height > app.height) && _camFollowActor != null) { app.background(_backgroundColour); } - app.fill(-16777216); //app.color(0, 0, 0) + app.fill(0xFF000000); app.tint(255, 255); if(_backgroundImage != null) app.image(_backgroundImage, 0, 0, _width, _height);