[PLUGIN] Magicam for C2(Alpha 6.5 1/8/14)

Post your completed addons to share with the community

Post » Thu Oct 25, 2012 7:59 pm

As mentioned, here's an updated version for everyone's downloading pleasure:

Download Magicam Alpha 2 for Construct 2 (Includes example)
___________________________________________________

(ADD) Transitions. Specifically, movement and zoom transitions. Cameras can be set to transition from one position/zoom level over a specified period of time. There are conditions to check when a transition ends or is in progress and expressions to get the progress of specific transitions.

(ADD) Actions to set basic properties of cameras such as position, X, Y, and zoom level.

(ADD) Action to switch between cameras - I'm not sure why this wasn't there already.

(BREAKING CHANGE) Object following is no longer enabled by default -- there is now an action to explicitly enable it. The reason for this is the camera transitions - movement transitions disable object following and "zoom to contain" upon starting -- zoom transitions only disable "zoom to contain". These must be re-enabled manually upon the transition finishing.

(CHANGE) All cameras are updated every frame now, regardless of their status as the currently active camera.

(CHANGE) "Set scroll smoothing" action has been hidden. This feature is not yet completely, so I have made it inaccessible - if it's in your project for some reason, it will remain there.
___________________________________________________

There may have been other small changes that I can't remember off the top of my head, so go ahead and poke around, try to break it, and let me know what you find.linkman20042012-10-25 20:03:04
Moderator
B
97
S
36
G
19
Posts: 1,584
Reputation: 17,692

Post » Thu Oct 25, 2012 8:54 pm

Hello Linkman2004,

Thanks for this plugin it's very useful :D

Just 2 things.

1) Could you please post your last update on the page 1? (So, the users can know the new changes)

2) How do you use the Zoom?
I don't understand the "Zoom to contain" what's the meaning of Vertical/Horizontal margins?

Thanks in advance :)
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662

Post » Fri Oct 26, 2012 6:43 am

@Dakiu - Thanks, man - I'm glad you're liking it! I've updated the main post so it's easier to see - thanks for mentioning that.

In response to your second point, zoom to contain dynamically zooms the camera in or out so that all followed objects remain on the screen. The margins are the amount of space between the edges of the screen and the corresponding edges of the nearest followed objects - it acts like a border around the objects, essentially. The second layout in the example file gives a good idea of what's going on with the idea.
Moderator
B
97
S
36
G
19
Posts: 1,584
Reputation: 17,692

Post » Mon Nov 05, 2012 6:49 pm

Epic! Thanks!
B
17
S
4
G
4
Posts: 104
Reputation: 3,950

Post » Fri Nov 09, 2012 10:17 am

This is extreamly excellent. I'm having trouble switching between followed objects though, in my game I have two characters the player can control. I can't work out how to 'un-follow' one character to switch focus to the other.

I tried setting up multiple cameras too but that didn't seem to work, I can't seem to 'de-activate' a camera
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Fri Nov 09, 2012 1:32 pm

+1
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Fri Nov 09, 2012 4:35 pm

Thanks again for the comments, guys.

@CrudeMik - If you could post a CAP, that would be awesome. I'll have some time to look at it tonight and see what's up.
Moderator
B
97
S
36
G
19
Posts: 1,584
Reputation: 17,692

Post » Fri Nov 09, 2012 7:22 pm

Crap I've taken it out of the cap for now. I'll mock something up
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Sun Nov 11, 2012 5:14 am

linkman: Awesome job so far.
I a few actions in the start of layout, I'm getting the camera effect I'm wanting. AWESOME !

@CrudeMik: Are your characters two distinct object types or instances of the same object type ? Kyatric2012-11-11 05:14:39
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,786

Post » Sun Nov 11, 2012 6:39 am

[QUOTE=Kyatric] linkman: Awesome job so far.
I a few actions in the start of layout, I'm getting the camera effect I'm wanting. AWESOME !

@CrudeMik: Are your characters two distinct object types or instances of the same object type ? [/QUOTE]

They're two distinct object types
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest