AZE - Auto Zoom Engine

Post your own tutorials, guides and demos.

Post » Thu May 27, 2010 2:38 am

AZE is a engine that provides automatic zooming and tracing of any number of spots. It is following the concept of cameras similar to the one used by the Advanced Camera object. Any one camera always assures to enclose all spots passed to it by zooming and positioning while never going beyond the layout's borders when completely zoomed out, as long as the aspect ratios of the display and the layout match. If they don't match and completely zoomed out, AZE compensates by aligning three sides to the display and only the left or the top side goes beyond the border. At least one spot is needed per cam.

Features:
[list:3dzi995w][*:3dzi995w]Unlimited number of cameras may be created/destroyed at any one time[/*:m:3dzi995w]
[*:3dzi995w]Unlimited number of spots may be passed to a camera[/*:m:3dzi995w]
[*:3dzi995w]spots may represent everything, a single point or a dozen of physics objects. Everything that can be represented by the four parameters X, Y, Width and Height[/*:m:3dzi995w]
[*:3dzi995w]spots may be of any size, even or uneven aspect ratio[/*:m:3dzi995w]
[*:3dzi995w]limit the maximum zoom to any number[/*:m:3dzi995w]
[*:3dzi995w]offset to focus not exactly centered between any number of spots[/*:m:3dzi995w][/list:u:3dzi995w]

The two files differ. Auto Zoom Engine.cap is a cleaned and differently organized cap, while Auto Zoom Engine debug.cap is a documented demo. Both are fully documented on the engine itself.

[EDIT] Damn, I knew this would happen... Two things:
First, I forgot to mention anywhere in the documentation, that you have to set the layout AZE is working with to unbounded scrolling. (Layout Properties, tick "Unbounded scrolling"). This is done in the caps, but if you add new layouts you have to think of that.
Second, I was playing around with local AZE sprites when I created the two caps and didn't set it back to global. It is neccessary to set the sprite "AZE" to global (Sprite Properties, Common, tick Global) Please do so before adding new layouts or AZE refuses to work.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Thu May 27, 2010 5:15 am

Wwooooooooooooooooo!!! :D

Spectacular! ;) :) :D

[edit] In regards to the debug demo, I was already considering changing the display size on a per-level basis. :D
B
14
S
2
G
5
Posts: 37
Reputation: 2,777

Post » Sat Jun 19, 2010 3:01 pm

Sorry, dude, but he and I haven't had the opportunity to work with this lately. :(

I'll definitely keep you posted during actual development, though! ;)
B
14
S
2
G
5
Posts: 37
Reputation: 2,777

Post » Sat Jun 26, 2010 10:46 am

Thank you partymetroid :)

And to the other 88 downloaders: No comment whatsoever? Nothing to say about it? Does ist work reliably? Is it maybe not useful? Are there any errors?
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Aug 06, 2013 8:33 am

Hey there....Any chance you could relink your Demo or CapX files....Would love to take a peek at this..
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
29
S
11
G
8
Posts: 312
Reputation: 7,333

Post » Tue Aug 06, 2013 8:53 am

@mystazsea

This is a .cap for Construct Classic. If you still want it, it is available from the old site HERE.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,841
Reputation: 48,283


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests