Closed Skeletonxf closed 7 years ago
I don't think that the alpha value should persist past the draw call (see line 108). Instead of alpha
it should be 255.
That is a very good point, I'll make the graphics stay as it is from before the draw call. I figure it would be less confusing if the rgb values also stay as before the draw call.
This commit adds an optional alpha value to world:draw() so it can be drawn with transparency, and defaults to 255 if given no arguments drawing completely opaque as it did before this commit.