Is there a way I can zoom in & out of a room

Started by Icey, Thu 11/11/2010 16:18:08

Previous topic - Next topic

Icey

I have a room in my game I would like to zoom into before the room opens then slowly zoom out after the room starts.

Khris

You can put a screenshot of the room in a DynamicSprite, then resize & crop a copy of that and put it on a GUI.
As soon as the zoom factor reaches 1.0, turn off the GUI.

There's no way to zoom a room directly.

Icey

Damn. Well it cool its not that important. I wish I could that but I think I want it to rain in this room so that wont work.

monkey0506

One thing to consider is that if you're stretching the image it would also then look like hell (depending how large your zoom factor is)..so you might even consider using an external application to create a copy of the room at the maximum scale, import that as a sprite into AGS, and then shrink it using the DynamicSprite functions. Down-scaling images is always better than stretching them because then you're just losing data instead of trying to create new data out of thin air.

And the GUI approach isn't strictly a bad idea..but if you're planning on running other effects then things could get messy.

mode7

Why don't you just make a video, like in the PSX Final Fantasy games. Play an animation which last frame is identical to you'r room so it will look like there's no gap between video and game graphics.

Gilbert

As far as I remember, DDDDD did this at the beginning of the game and it worked.

SMF spam blocked by CleanTalk