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

  • Zharzew - That's an excellent idea! I'll see what I can do about it.

  • Great plugin waiting by the update

  • awesome plugin, love the smooth action!

  • Here it is, the first major update in six months. It's mostly just getting things up to speed with recent Construct 2 changes, but it has some minor fixes and additions as well.

    Download Magicam Alpha 4 for Construct 2 (Includes example)

    ___________________________________________________

    <font color="green">(ADD)</font> Support for saving and loading game states through the built in Construct 2 methods. This is a rather complicated feature, so there may still be bugs here.

    <font color="green">(ADD)</font> Get X/Y/Zoom expressions.

    <font color="green">(ADD)</font> Follow object image point. This is an addition to the standard "Follow object" action. You can specify an image point, and the camera will automatically follow that point. Can take numbers and names.

    <font color="red">(FIX)</font> MovementTransitionProgress/ZoomTransitionProgress expressions did nothing and threw errors when used. They now work as intended, by returning a value between 0 and 1 stating the progress of a transition.

    ___________________________________________________

    As usual, let me know if there are any bugs. Like I stated above, the save and load features are rather complex, so bugs might arise there - that coupled with me not looking at the code base for so long could lead to trouble, so keep an eye out.

  • linkman2004 great and much appreciated update! :)

  • This plugin is great, however I have a small problem. I have a HUD layer that is the touch controls for mobile devices, and I put the paralex to 0 so that it doesn't scroll away, but when the magicam is in action it zooms right past it.

    Is there a way for it to not zoom past the controls?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • linkman2004 I have the same problem as And also I have some BG layers that I would like to maintain without Zoom. Is it possible to have zoom only on selected layers?

    Another thing. When I use zoom out there are some gaps between the tiles after export the game, but not during the preview. Any idea what it could be?

  • Basilboy arcgen - If I'm understanding you guys right, setting the scale rate to 0 on the layers you don't want to zoom should be what you're wanting. That will keep those layers from zooming even when Magicam does, although there may be issues with this.

    As for your second issue, arcgen, this is probably a graphics driver issue. This plugin doesn't do anything out of the ordinary with zooming, so it's likely not the issue. I'd recommend updating your drivers if you haven't already.

  • Hey linkman2004, Thanks! The scale works well and I'll try to update my drivers. I don't think it could be the drivers, because during the normal zoom the tiles are ok. It just make this gap when the game zooms out.

    Another thing. Do you know if it's possible to make a shake screen using the Magicam? I'm using the normal shake from the behavior "Scrol To", but it doesn't work with Magicam.

  • Hey,

    I had an update right now, but I still have the same problem. The weird thing is on my other computer it runs perfectly. In the browsers preview depends on the browser. Firefox and Chrome are ok, bur Internet Explore has the same problem as the EXE version. Any idea?

  • Hey how do I make the screen shake similar to scroll to effect?

  • Basilboy - Camera shake is something I'd have to include as an action; I'm really not sure how implementing it manually would work. I'll see what I can do.

  • alrighty!

  • Alright, guys, I'm back with an update.

    First off, I've fixed a bug involving the saving/loading of global cameras - nobody mentioned it, but I noticed it while working on the plugin and it should be good now.

    But the big thing today is that I've added the camera shake feature from the Construct Classic version of Magicam. In addition to the normal options previously featured, I've also added the ability for the camera to alter the zoom level while shaking, so you can get a nice sort of "depth" to the effect. On the first layout of the example file you can press 'S' to get a demonstration of shaking.

    Alpha 5 release notes:

    Download Magicam Alpha 5 for Construct 2 (Includes example)

    <font color="green">(ADD)</font> Added Shake Camera action. This will shake the camera with a given strength over a specified duration. New versus the Construct Classic version is the ability to shake the zoom, as well.

    <font color="red">(FIX)</font> Global cameras could run into conflicts with local cameras when saving/loading a game.

    As always, let me know if you find any bugs - especially as they pertain to game saving/loading - and be sure to leave feedback on what you think, what you'd like to see, etc.

    Thanks, guys.

  • Hey guys. I've got a question.

    When i transition to a moving object, how do i keep it centered without having to set an active camera after the transition? (it gets all choppy)

    here is what i mean : dl.dropboxusercontent.com/u/38894376/New%20project/index.html

    When i transition to the moon, it goes away after a while since it's in orbit around the earth. <img src="smileys/smiley1.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)