Quantcast
Channel: Questions in topic: "side-scrolling"
Viewing all articles
Browse latest Browse all 99

Entering 2D Buildings?

$
0
0
Hello, I'm trying my hand at a 2D side-scrolling/platformer action rpg in Unity2D (I know, I know), and I was wondering what's the best way to deal with buildings in 2D. I find entering buildings easy to envision in a 3D world, but when it comes to the camera being locked to stay mostly on the x and y axis, I can't quite wrap my mind around it. Here's an example of what I would like from Muramasa: The Demon Blade: https://www.youtube.com/watch?v=SAHME_7mizg#t=1920 ---------- I understand that triggers are needed but I'm confused about where the interior of the building would *be*, so to say. I'd like the characters to run in front of the facade of the building with a trigger over the front door allowing them to press whatever button to enter. The inside of the building would be a side-view too, like in the example I showed above. Should it be a new scene entirely? (I imagine that could make things way too complicated and slow for a lot of buildings). Or should I just build it separately somewhere in the current scene and have the trigger at the front door of the facade teleport them to inside the building, where a fixed camera would be enabled? I'm planning future indoor levels where there are several rooms (sort of like a hotel corridor), so having possibly so many separate rooms could make things difficult. I was also toying with the idea of having only a few different variations of the interior of buildings per level decoration-wise, and just randomizing what spawns inside of them. Thank You for the Help, Eva

Viewing all articles
Browse latest Browse all 99

Trending Articles