Help with creating areas?
ReMasteredGames
Member Posts: 101
Hi, so is there a way to create small areas WITHIN other areas in one scene? For instance, in an RPG such as Zelda, you can enter a house, then exit the house and the outside will be as it was before you entered the house (EG, destroyed enemies will stay gone). Is there a way to do this in the SAME scene?
Comments
Sure. You could locate the 'inside of the house' area in a totally different part of the scene, that you can't see from the main play area. When your player touches the area/trigger to enter the house change it's X/Y coordinates to the 'inside of the house' area. You'll need a Control Camera Behavior on the player, but I assume you'd have that anyway. Then when they leave the house change their X/Y coordinates back to the main play area.
Hope that makes sense...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Fantastic, thank you!
I'm not sure where to put it though, because it's a very large top down level, and there's not really any space left in the level:L
Just make the level/scene bigger...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Okay, do you know if there's any way to force the camera to stop at a certain point? i have the camera follow the player from the center of the screen, so is there a way to have the camera stop moving when the player reaches the Wall actor (border) so that the player can't actually see the extended scene?
i would say just have barriers in place and have the scene extend beyond the walkable zone. Thats simpler than any code (forests outside city limits, fields, just background elements) and it makes the world feel a bit more open. Just leave enough space between the two parts of the scene that they arent visible from the other one.