Hey all
Currently I’m a little stuck on how to create my game the right way. I been searching a solution for most of today, and not really finding anything I want.
So currently I have a game that uses a JFrame which I use for the Gui (buttons, chat window, etc) then I have a JPanel for the game window itself. Problem though using a JPanel I don’t have BufferStrategy, I created my own basic one but it uses twice the cpu and full screen mode isn’t working well, instead of using canvas. I was using canvas at first but that’s heavy weight and my internal frames weren’t showing on top(which are private message windows). Oh and the reason I don’t render the game on the JFrame is because of deadlocks with the textboxes.
I would like some suggests on the better way of building this. Because I couldn’t find anything on google with a example that could help me.
If you want to have a look at my code and improve it that way, I’ll post what ever is needed.
Edit: Moved post to here.