willg101: I don't know why, but I just can't get the 'menu.zip' file opened
I have a 'little' menu problem that I really wish to solve, but I'm totally helpless.
I will describe my situation:
I have a menu screen in one activation region and I have my game level in another activation regions (each level is divided into more than one regions to increase performance).
I have my VIEW actor over the menu when the game starts. Than, when I press 'New game' button, the VIEW's 'x' and 'y' are changed to the start of the first level (view.x = 160; view.y = -120;). Then I need to show the HUD which consist of 5 actors - SCORE, LIVES, HEALTH, GUN_TEMPERATURE and VIRTUAL_FIRE_BUTTON. I thought that if I set all these actors as VIEW's children at the game start and simply set their visibilty state to 'Disable' while in the menu, they would move along with the VIEW actor when it is moved. Then I would just set their visibility state to ENABLE. But since the view actor leaves the activation region in which the HUD actors are created, they just disappear, or eventually only the HEALTH actor is moved with the VIEW (I don't understand why, because all HUD actors have the same settings
).
Do I really have to create all HUD actors manually at each level's start, then destroy them when the VIEW moves to the menu and then create them again when it moves back to the game? If yes, then GE starts to really piss me off
Dividing the game into more GEDs seems to be the best way to go now, but I wouldn't like to do it, because if I wanted to change something on the game's behaviour, I would need to change it in all of the GEDs. That really sux... I would really appreciate the 'rooms' system as seen in GM.