hi every one!! 8)
i´m trying to implement a door on my game where the player can get in and enter in a new map, i thought about changing the stage at the same screen with something like the state pattern but i´m not sure is that is good idea does anyone has a suggestion about how would be a good way to do it?
A door where you can enter a new map like Battleblock Theatre? Click here to see what I mean.
Yeah, you could change the map at the same screen, or you could have a class that holds a level, and you switch to a different screen with a different level. For example, a LevelSelectScreen where it’s only a level where you can pick a level, and a GameScreen where you play the game, but both screens still have a level instance.