inkbug's Forum Posts

  • 11 posts
  • I assume the following does not work with your project?

    "On initialised" -> Destroy

    Also, have you tried the newer 'spritesheet' method of using the Spriter plugin?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the update, lucid!

    Luckily, the project for which we needed this feature was slightly delayed, so hopefully we can cope with the change of IDs without too much difficulty.

  • inkbug - thanks. Though it's not letting me access the file, and it won't let me request access through Google Drive

    Hi lucid - You should now have access to the file.

    If it doesn't work, try this link:

    https://drive.google.com/drive/folders/1b2fw0-zpjh0mMdai9UzAp92BjBy6y99l?usp=sharing

  • inkbug - When you get a chance, I need any changes he made to the edittime for the new pin actions in order to make sure I don't break your project when I update the plugin, by using different id's.

    Hi lucid,

    Here is the revised edittime.js file - I'll pass on your compliments.

    https://drive.google.com/open?id=1JRlnZgLzPFYj7n6NvcrNQ3S83kxNSjrv

  • Do we have your permission to use the altered code?

    Hi lucid,

    I've asked the developer who wrote the code for permission - I'll PM you when he replies, though I don't think he'll object.

    Edit:

    Hi again - I couldn't find the PM option :)

    Yes - feel free to use the code, and the 'Pin c2 object to Spriter object' action he also added.

    Sadly, he didn't want credit for these changes.

  • Hi ,

    Thanks for your reply.

    Yes - we (the game developer, and I, the animator) both tried various combinations of 'for' and 'for each', sometimes regarding the Spriter object, sometimes regarding the Sprite - using instance variables ("1", "2" ect') to match one to the other.

    Eventually, it would seem that the action kept attaching all the Sprite instances to the the same Spriter instance.

    I hope the attached file helps.

    Thanks for reporting this. We'll look into it as soon as we can and report back.

    BTW, did you try using the for each loo function in Construct to help make sure it's checking through all instances of the objects?

    > Hi lucid et al.,

    >

    > I am posting this here, after receiving no reply on the Brashmonkey forums.

    > I understand you are busy with bringing out Spriter 2, but hopefully you'll get a chance to look at his.

    >

    > I have encountered an issue with the Construct2 plugin, version "1/7/2018", wherein the action "Set C2 object to Spriter object" would only work for one instance of each in a given layout.

    > Meaning, if you have one Spriter object with an action point, to which you want to pin a single C2 object, it works well.

    > But if you have multiple instances of either, no amount of 'pick' conditions will enable attaching a particular instance of a C2 object, to a particular instance of the Spriter object: C2 will attach one C2 object to the last Spriter instance and ignore the others.

    >

    > As I understand it, the crux of the problem, is that plugin will search for a C2 'object type' not an instance to attach.

    >

    > Our game developer came up with a workaround, which I will attach here:

    > https://drive.google.com/file/d/1QGWGs46s7LwRmwtRl9Ba_ZZjSu33Z17V/view?usp=sharing

    >

    > Cheers,

  • Hi lucid et al.,

    I am posting this here, after receiving no reply on the Brashmonkey forums.

    I understand you are busy with bringing out Spriter 2, but hopefully you'll get a chance to look at his.

    I have encountered an issue with the Construct2 plugin, version "1/7/2018", wherein the action "Set C2 object to Spriter object" would only work for one instance of each in a given layout.

    Meaning, if you have one Spriter object with an action point, to which you want to pin a single C2 object, it works well.

    But if you have multiple instances of either, no amount of 'pick' conditions will enable attaching a particular instance of a C2 object, to a particular instance of the Spriter object: C2 will attach one C2 object to the last Spriter instance and ignore the others.

    As I understand it, the crux of the problem, is that plugin will search for a C2 'object type' not an instance to attach.

    Our game developer came up with a workaround, which I will attach here:

    https://drive.google.com/file/d/1QGWGs46s7LwRmwtRl9Ba_ZZjSu33Z17V/view?usp=sharing

    Cheers,

  • Hi Brashmonkey lucid,

    I just encountered a bug in the plugin release 6/26/2017:

    An error message popped up in runtime, when activating the animation of a flipped Spriter object.

    The game developer with whom I work pinpointed the issue to line 1,523 in "runtime.js":

    "this.this.currentAnimation", where "this.this" is undefined.

    Hope this helps.

  • Hello again lucid ,

    Thanks for your quick reply with the previous issue.

    Taking my attempt to switch to the the latest versions of Spriter and it's Plugin a bit further, I opened a C2 project containing two non-atlas scml object, which were imported with a previous version of the plugin.

    With C2 r225, the expected error message popped up when opening the project with the latest version of the plugin (yesterday's).

    With C2 r239, oddly enough, the C2 project opened and was previewed with no errors, so long as I didn't try to change either scml object to an atlas version, or use C2's image editor on either one.

    With either version of C2, Chrome displayed error messages if a scml object was either changed to an atlas version, or even if C2's image editor was used to give the scml object dimensions of more than 0X0px.

    https://drive.google.com/open?id=0BwqgBy4MNF4heGRpeUNzbGM4NDQ

    https://drive.google.com/open?id=0BwqgBy4MNF4hUnFtUUNUS2Uxelk

    EDIT:

    I just worked it out, and apologize for not trying this before posting.

    For the benefit of anyone else who encounters this problem:

    1. I should have corrected the scml-object's image for ALL scml objects after updating the plugin, and not just the one I was going to change to the atlas version.

    2. After fixing the images in C2, the project must be saved, closed, and opened again before trying to preview.

  • Thanks, lucid !

    Works perfectly now.

  • Hi Brashmonkey,

    I may be seeing a recurrence of the Action Points error bug.

    I have imported two versions of the same Spriter project into a C2 project:

    One spritesheeted version, one normal version.

    Both contain Action Points in some of their animations.

    The normal scml object responds normally.

    The spritesheeted scml causes a browser error as soon as an animation with action points plays.

    Spriter Version: r10.

    C2 Version: r239 (64).

    Spriter Plugin Version: 2/26/2017 (Says "2016" in the "version.txt" file, but file creation date is correct).

    Windows 7 Pro (64).

  • 11 posts