My game currently features gargantuan single-room levels but, simply put, they're too damn big and slow down the game.
That said, I'd like to take a Kirby approach and have small/medium sized rooms with doors that bring you to other rooms (not like Metroid, like Kirby!) These rooms combined would create a single level.
The problem is how to go about this..I could
A)
Have all the rooms in a single layout and create camera zones to restrict the camera to one room at a time. When the player enters a door, he's simply teleported to a different room & camera zone.
Problem with this is the levels will now be twice as big as they were in the first place, as every single room is crammed into a single layout, all running at the same time.
B)
Have each room in its own layout..but then we're talking 5-10 layouts for a single level, which could get very messy very fast. I'd like to avoid this at all costs.
C)
Create an array-based level editor and load the levels and rooms externally as you go, keeping the entire "game" in a single layout. Unfortunately, to my knowledge this isn't even remotely possible in C2 - arrays can't even be saved or loaded. My ignorance of web-based game development is really screwing me here.
So yeah..anyone have any ideas? I'd love to hear them!
(Sorry maybe I should've posted this in the "how do I" section)