Advanced Camera Plugin (Updated: 09/21 - v0.93b)

This forum is currently in read-only mode.
  • Okay, everything seems to be working now. If you downloaded 0.91b, I highly recommend downloading this update immediately.

    Advanced Camera Plugin - v0.92b

    Download Now(with example) - 152KB

    Additions/Fixes/Changes:

    [FIX] - The plugin would crash in some instances, such as, for instance, trying to run the included "ACExamples.cap".

    [FIX] - Scrolling would be completely broken in some instances.

    [CHANGE] - The margins for object following have been changed from a position relative to the center of the screen to the amount of pixels from the center of the screen towards the specific border. This means that negative values are no longer necessary for the top and left margins.

    Hopefully there aren't any major problems that I missed, but everything should be fine now.

  • You work quick, thanks. If you someday add the center on player thing for margins, I will declare you the Hero of Construct

  • Nice work Linkman!

  • The ACExamples cap works fine, with some nice examples, but the GridScrolling example doesn't seem to do anything.

    I've looked at the cap, and it looks like it should work.

    Krush.

  • but the GridScrolling example doesn't seem to do anything.

    I thought the same, and nothing grid-like happens until you jump down the hole at the far right.

  • > but the GridScrolling example doesn't seem to do anything.

    >

    I thought the same, and nothing grid-like happens until you jump down the hole at the far right.

    This man has the right of it. Don't scare me like that.

  • This man has the right of it. Don't scare me like that.

    Lol. Well I must be missing something.

    There's no scrolling in the gridscrolling example, and when I disappear off the right of the screen and keep walking, I know that I fall down the hole at some point, but I'm left looking at the same are of screen that I see when I start the example.

    Strange!

    Krush.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Truly, you are a hero, linkman. This is amazing.

  • ...that being said, i have found a bug.

    I am using the Advanced Camera with the "Follow Uniform Grid" method on my "Player" object. If i quicksave then quickload, the camera stops working and ceases to follow the player when it walks off-screen.

    Here's a link to a modified version of the example you sent with the Advanced Camera download:

    http://dl.dropbox.com/u/1289061/Constru ... %20bug.cap

    Use "S" to quicksave, then press "L" to quickload and notice how the camera stops following the player. At first i thought it was because i hadn't checked off the "no serialize" box, but that didn't work. Neither did making it global.

    Anyways, check it out. It would be awesome if this could be fixed because it works great otherwise.

    EDIT: Also, in case you were wondering, i am using Construct version 99.83

  • EDIT: Also, in case you were wondering, i am using Construct version 99.83

    i think there's issues with that version, does it still happen in 82?

  • There's no scrolling in the gridscrolling example, and when I disappear off the right of the screen and keep walking, I know that I fall down the hole at some point, but I'm left looking at the same are of screen that I see when I start the example.

    Weird. I have no idea what could be causing that.

    ...that being said, i have found a bug.

    This is due to the plugin being incompatible with the saving and loading features. I was never able to get it to work correctly because none of the devs ever explained how I was supposed to deal with object pointer serialization. I'll try and get this working at some point, but I wouldn't hold your breath.

  • Have a look at these two functions:

    	virtual void SerializeObjectPtr(CRunObject*& obj, bin& ar) = 0;
    	virtual void SerializeObjectType(CRunObjType*& pType, bin& ar) = 0;[/code:1jsz36mu]
  • This is due to the plugin being incompatible with the saving and loading features. I was never able to get it to work correctly because none of the devs ever explained how I was supposed to deal with object pointer serialization. I'll try and get this working at some point, but I wouldn't hold your breath.

    Well, it would've been a nice feature for my game, but i suppose i don't need to use it. But i will certainly be following your progress. I may hold my breath anyways......

  • linkman2004 Thanks! Cool Plugin. <img src="http://i38.tinypic.com/r1h99u.jpg">

  • linkman2004. Did you get a chance to look at the CAP I sent you last week?

    My game will not run in WInXP (tested on 6 machines). If i remove your plugin and just use Standard "FOLLOW" it will on on XP computers.

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