Creating a top down view that phases into a room view when selected?

Started by Irishmandkg, Tue 26/03/2013 04:45:00

Previous topic - Next topic

Irishmandkg

Hello, I'm new around these parts but would really appreciate some help on the game I'm about to embark on.

I am going to create a top down game where you control your character as they move about a map.  When I come across a building that I can click on, I would like to be able to transfer to the inside of the building in a classic adventure game view.  So essentially top down phases into side view indoors...I just would like to know if that is possible to do in AGS.

Also could I have the action box on that top down view as well?

Thanks for any help, sorry if I confuse anyone.  Just let me know and I'll try to clear things up. 


VVK

I'm not exactly an expert here, so I'm hesitant to give advice, but I think that could be handled by just switching the character sprite during inside-outside transitions (you can probably find how to do that in the manual) so that it shows the character from above on the map and from the side inside, and drawing the inside backgrounds and outside ones differently. In other words, the basic difference between the views would seem to be only cosmetic, so it should be easy, although there will probably be all kinds of minor details you can handle on the fly, eg. using walk-behinds only in the traditional view, or at least using them differently (for tree-tops above the character, say) in the overhead view.

Cerno

Hello.

I'm relatively new here as well so there might be better ways to do it, but here's what comes to mind:

- Define two Views, one for the character from the side and one for the character from above.
- Build your overhead map like a normal room. Define the walkable areas so the character can walk about on the map as you want.
- Build a separate room for each building interior (side view).
- Create a hotspot on the map for every building you want the player to enter.
- For each hotspot, define the "Any click on hotspot event". Script it so that the character moves to the building and then changes the room to the corresponding building interior room.
- Each building interior will need some point of exit that you need to script so that you switch back to the map room.
- For the character view switch, use each room's "Enter room before fade-in" event to change the character view to either overhead (map) or side view (interior)

I hope that helps. If you need help with the scripting, I'd suggest you watch the video tutorials
123  Currently working on: Sibun - Shadow of the Septemplicon

Khris

When you say "phase", I assume you aren't talking about "fade out top down view", "fade in side view", right?
Basically, are you asking about a 3Dish visual effect, where the camera moves into the building and rotates to a horizontal POV?
Because that isn't possible without a huge deal of complicated scripting and might be really slow. AGS isn't built for something like that (or for speed).

If you are merely asking whether you can combine two different perspectives in one game: yes, of course.

SMF spam blocked by CleanTalk