diff --git a/src/main/java/hype/HSprite.java b/src/main/java/hype/HSprite.java index ff515027..fb59e9a8 100755 --- a/src/main/java/hype/HSprite.java +++ b/src/main/java/hype/HSprite.java @@ -48,7 +48,8 @@ public void draw( PGraphics g, boolean usesZ, ) { g.textureMode(PConstants.NORMAL); g.noStroke(); - g.tint(fill); + //g.tint(fill); + g.tint(fill,alphaPc*100) //enable alpha g.pushMatrix(); g.translate(drawX, drawY); @@ -64,4 +65,4 @@ public void draw( PGraphics g, boolean usesZ, g.popMatrix(); } -} \ No newline at end of file +}