Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: rtf on Tue 30/03/2004 19:24:02

Title: Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: rtf on Tue 30/03/2004 19:24:02
OK, I was working on my room this morning I had 2 revalations:
 
1.
Why dosen't Chris add a Zoom In and Zoom Out button to the Room Editor?  That will make it really easy to draw hotspots and such.  Consider

2.
(I hope this dosen't exist already, because I did look)
I know that there is a character scaling option, but this is not what I'm talking about.  This is for the entire camera.
I was thinking it could be used in cutscenes.

ZoomIn(int speed, int source X, int source Y, int time);

and...

ZoomOut(int speed, int source X, int source Y, int time);

Yes I know that these paramiters are bad and makeshifty, but If people understand what I'm talking about, then I'm sure that we'll think on something.

Tell me what you think.
Title: Re:Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: SSH on Tue 30/03/2004 19:41:00
1. You can import these masks from a thrid-party tool with any level of zoom you like...

2. How about capturing a screenshot image to disk, loading the image in as a sprite, and displaying it with RawDrawImageScaled...

Title: Re:Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: Pumaman on Tue 30/03/2004 21:07:09
Adding Zoom to the areas editor has been on my to-do list for a long time, but it's low priority because you can simply use an external program with better features for your masks.

A zoom in-game is possible, but probably wouldn't look good due to the stretching of pixels at low resolutions.
Title: Re:Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: Hollister Man on Thu 01/04/2004 04:31:12
With the new runtime sprite editing abilities, is it at all possible to make a room-sized sprite that you could scale larger with the current room image?
Title: Re:Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: Pumaman on Thu 01/04/2004 21:14:40
It would be possible to zoom the background in with scripting, as SSH suggests. However, if you want a zoomed-in view in which characters can still move around and so forth, it's not really possible at present.
Title: Re:Suggestion- Zoom me in! (2 Zoom Related Ideas)
Post by: SSH on Thu 01/04/2004 21:31:57
For an example of zooming with the new functions, see: http://www.adventuregamestudio.co.uk/yabb/index.php?board=6;action=display;threadid=12744
or download my demo direct:
http://www.freeweb.telco4u.net/superscottishhero/zoom.rar