Hi everyone,
I'm kind of at a crossroads in my game and I'm looking for input from people who've been here before.
My game is a cross between RPG and RTS strategy and the main panel uses an lwjgl display for performance reasons. Ultimately, there will be several quite complicated windows required. For example: a window to manage the party's inventory or one to buy and sell items between a trading caravan and a city's marketplace. A good portion of this game will be heavily economy-based i.e. lots of data and I foresee the need to use sophisticated GUI elements including collapsible trees and tables.
To prevent myself from having to re-implement a full windowing system in OpenGL I've decided to use a mixture of Swing and an lwjgl display. Thus the game will have a MDI (multiple-document interface) i.e. multiple windows.
1 2 3 4 5 6 7 8 9 10 11 12
| +--------------------+ | main window | | (lwjgl) | | | +-----------+ | | | inventory | | | | (swing) | +--------------------+ | | | | +---------+ | | | status | | | | | | | +---------+ +-----------+ |
Now I'm wondering if I'll regret this later on. Would it be better to do everything in a single lwjgl frame? That is either use a pre-existing OpenGL windowing lib or create a custom one for my game. The graphical style is quite simple and I'd like to keep it that way.
What are your thoughts and/or experiences going down either path?