linkman2004's Forum Posts

  • New version!

    Just one new feature this time, which is smooth transitions between cameras.

    Alpha 6 release notes:

    Download Magicam Alpha 6 for Construct 2 (Includes example)

    <font color="green">(ADD)</font> Added Transition to camera action. This feature allows for smooth transitions from one camera to another of a specified duration.

    zenoxe - After failing to come up with a decent solution to your predicament, I figured adding the transition to camera feature would be the best bet for helping you out. With this, I now have a good way of solving your problem.

    My suggestion would be to have one camera centered on earth and a second camera following the moon. You can then use the Transition to camera action to smoothly transition from the Earth to the moon, making for a clean solution.

    Let me know if that works out for you, and I'll help you out if you run into any more trouble.

  • You do not have permission to view this post

  • If you program your game to where all time dependent actions - movement, timers, etc. - use delta time, you shouldn't have any issues. That will ensure that your game runs at the same speed regardless of frame rate.

    If that's not acceptable, I don't believe there's a way to lock the framerate.

  • Moved to Tools/resources since this isn't directly C2 related.

  • 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.

  • Please use English when posting on the forums.

  • Moved to "Website issues".

  • 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.

  • 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.

  • 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.

  • arcgen - Thanks, man - let me know if you have any problems with it.

    Ashley - That takes care of scrolling, but it doesn't zoom the camera to keep all of the objects on the screen, which is one of the things Magicam handles.

  • Alternatively, you could take a look at my Magicam plugin - it supports following an arbitrary number of objects with custom constraints and movement smoothing.

  • David T S - Please stick to English on the forums. Thanks.

  • It would probably help if you share your system specs, as that's the only way this is likely to get resolved. I find it unlikely that this is linked to Windows 8 - your friend's laptop likely has different specs, so I wouldn't recommend drawing conclusions from there.

  • You're going to have to upload your CAPX somewhere, such as Dropbox or some other service - the link you provided would only work on you're computer while testing the file.

    Tom - Any chance we could get a note about using localhost links in the bug report template?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads