Help with GUI and T2D Game Design
by Chris "Hyena" Vogel · in Game Design and Creative Issues · 09/07/2009 (1:39 am) · 0 replies
Ok, I've been working on a game for a few weeks, and I'm having some trouble... I'm hoping the community can help me get back on track.
I'm making a turn-based, menu-based RPG, kinda like the old-school 2d Final fantasy's. The game is made up of many different screens. Character switches between these screens with mouse button-clicks.
As is, I'm using a new level for each screen. player clicks a button, and I load up the appropriate level. That's all working fine. But, my problem is there are some screens and screen elements that I want to show at the same time. or some screens that I'll need to go back to after one is finished.
Right now in my design I can only have 1 screen loaded at once.
What I need is to be able to do multiple screens. For example..
if I have a "Visiting the Blacksmith" screen, and the character clicks a button to open the character screen, instead of unloading the Blacksmith screen and loading the character screen, I want to just draw the character screen over the blacksmith screen and when the character screen is closed it's back to where the player was.
I've tried using multiple screnegraphs, but if I draw a partial scenegraph over top of another, it seems I can no longer click the buttons on the lower one...
Can anyone advise how they might approach this situation or give me some design pointers to make this work in T2d better?
I'm making a turn-based, menu-based RPG, kinda like the old-school 2d Final fantasy's. The game is made up of many different screens. Character switches between these screens with mouse button-clicks.
As is, I'm using a new level for each screen. player clicks a button, and I load up the appropriate level. That's all working fine. But, my problem is there are some screens and screen elements that I want to show at the same time. or some screens that I'll need to go back to after one is finished.
Right now in my design I can only have 1 screen loaded at once.
What I need is to be able to do multiple screens. For example..
if I have a "Visiting the Blacksmith" screen, and the character clicks a button to open the character screen, instead of unloading the Blacksmith screen and loading the character screen, I want to just draw the character screen over the blacksmith screen and when the character screen is closed it's back to where the player was.
I've tried using multiple screnegraphs, but if I draw a partial scenegraph over top of another, it seems I can no longer click the buttons on the lower one...
Can anyone advise how they might approach this situation or give me some design pointers to make this work in T2d better?