Hello,
I am a brand new member here at JGO. I have recently been coding a 2D game using quads, triangles, and lines in OpenGL - and using Slick’s UnicodeFont for menus (so far, just the main menu.)
Everything is progressing well, but an issue I’ve come across is when reaching a gameover (i.e. dying) and returning to the main menu, the font is being displayed oddly with just the borders. Since the font displays just fine before loading the actual gameplay, it seems that I am changing something while drawing the shapes that would need to be changed back to draw the UnicodeFont correctly again when returning to the main menu.
I have tried many things over the last couple days including enabling and disabling various OpenGL options that are being changed in drawing shapes during gameplay, but so far nothing has worked.
Main menu at start:
Main menu after gameover and returning:
I am hoping that someone here has encountered something similar or could lead me toward the light. Thanks!