Display getting darker
BlitzMax Forums/BlitzMax Beginners Area/Display getting darker
| ||
Hello, I'm using BlitzMax 1.09 Demo under MacOS 10.4 and something weird happens with my game. I first display a start menu where the colours are bright, but when I choose the "play" option the game starts and the colours get all dark, as if the screen brightness was tuned down. And then it stays dark, even when I get back to the menu. (Both fullscreen and window mode) Any idea why this happens ? Thanks, Klaus |
| ||
make sure you are resetting the alpha, blend and color values to something like this: SetBlend(ALPHABLEND) SetColor(255,255,255) SetAlpha(1) remember that the ogl states affect all drawing commands that follow them. |
| ||
Thanks Scott for your quick answer. You've pointed me in the right direction and I've found what the problem was: I'm drawing the playfield with rectangles, lines and dots and the last color used is 128,128,128. Well, moving from Blitz2D to BlitzMax is no easy thing for sure... |