Original Post
Ok, So I'm using C# and Managed Direct X. I've got a map loading and an animated sprite walking around. I want to incorporate a 'battle screen' into the game (think Final Fantasy). My question comes in about the program control. Currently there is a Main loop that is continually calling a render method. Let's say upon collision detection, I want the change from the currently loaded tile map into the battle screen, what's the best way to handle that? I'm thinkng right now that I start from the TestCollisons method. Do I set the battle screen up as another form? Hide the current 'map' form, show the 'battle' form, and then once the battle is over hide it and show the 'map' form? I've still got the sit down and write this up on paper, but I figured I would get some input from the forum first. TIA, Dave