lucid's Recent Forum Activity

  • luckyrawatlucky - I will keep troubleshooting the actual issue, but I found a workaround. If you have at least one other object in the layout (like a tiny invisible sprite), the z-order fixes. I will keep looking for the actual cause, though unfortunately, the code to make z-order happen is a really hacky workaround since the c3 sdk has no way to access z-order through script.

    I'm going to ask Ashley again if there are plans to add this soon. I think I figured out a method to manually force the z-order through events if he says no or doesn't respond. I just wanted to avoid adding additional conditions and code that will have to be deprecated soon after.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks. Me too!

  • This release should fix the issue. It involved using a blendmode that was undocumented (found it through the debugger), which is why this wasn't fixed in the past when similar weird blending bugs were brought up. In any case, let me know if this works:

    7-9-2020

    • Fixed a bug where opacity wasn't applied correctly to parts in self draw mode

    luckyrawatlucky sorry for the late reply. Is there any way you can send me a simple project that reproduces the problem? I have a project I use for testing z-order, and it seems to be working for me. Is this only for projects that were imported from C2?

  • I'm not sure what you're after regarding Z order. Construct has various features to control Z order, such as send to front/back, order relative to another object, and sorting Z order by things like instance variables. Which would be relevant to your addon?

    AFAIK the Addon SDK docs are up-to-date so if they don't cover something it would need to be added.

    Ashley, ordering relative to another object via code would be perfect actually. Especially if I can process multiple objects in a row. For instance, I can take object1, place it above object0, and then take object2 and place it above object1 (above the new z order that was just assigned to object1). Being able to do this with several objects within a single tick without having to wait for a z-order update would be great. (and without a significant performance hit from forcing multiple full z-order updates in one tick)

  • Ashley or anyone else who might know

    Hello. I know this wasn't possible a while back (without ugly and unreliable hacks) and I still can't find anything in the documentation about it, but it wouldn't be the first time I missed something while searching the docs. Is it possible to set an object's place in z-order at runtime through plugin code?

    While I'm here, is it possible yet with the Custom Import part of the SDK to do something like iProject.GetObjectType(objectName) to return an IObjectType by that name if it already exists? (so one could create a plugin that reimports things and adjusts for changes instead of creating a new instance every time)?

    Tagged:

  • Oh. I see luckyrawatlucky - Thanks for the example project. The pin action for Spriter 2 directly pins to the object's location automatically (instead of the relative location). This is most useful for action points, where you can set and animate an exact position you'll want the c3 object to be from within Spriter.

    I might add an option to do it with relative position in the future. The pin and set options are still needed, as a lot (maybe most) projects use the 'draw self' mode, where c3 would have no way of pinning to the virtual 'objects' within the Spriter animation.

  • XpMonster

    ibiz

    Thanks for your patience, everyone.

    ibiz - thanks for taking the time to send the thorough example file. That made it much quicker to find and fix the issue.

    This plugin is in beta, so use with caution. There were a lot of small refactoring changes made, so it's possible there was a breaking change I didn't catch somewhere.

    5-10-2020b

    • Fixed multiple bugs that were causing unnecessary cpu usage for paused animations
    • Slight refactoring to allow for quicker performance troubleshooting in future builds
    • Fixed a bug where restarting a layout with an scml plugin could cause the layout to freeze
    • Fixed a bug where alpha values weren't applied to sprites

    luckyrawatlucky - I'm not sure what you mean. The pin C3 object doesn't have the option to use a C3 sprite image point. Do you mean pin to a Spriter action point? If so, please link a minimal project that reproduces the issue, and I will do my best to fix it ASAP.

  • Hi again, everyone. Some fixes on the way by Monday.

  • New version

    • Fixed a bug where the Construct would remove hyphens from object names, which led to the plugin crashing when it looked for the original hyphenated names

    Sorry for the lack of updates lately. I'm going to be working on outstanding bugs again over the coming weeks. Expect a couple more updates while I work through them.

  • New version

    • Fixed a bug where the Construct would remove hyphens from object names, which led to the plugin crashing when it looked for the original hyphenated names

    Sorry for any outstanding bugs. If anyone is still having issues, please reply to this thread again and I will take a look.

  • Hey everyone. Sorry, we're a bit behind. We've been tied up with the development of Spriter 2 and Alchemist, as well as our new Kickstarter campaign. We'd love for you to check it out (and we have a thread about it here).

    Subscribe to Construct videos now

    We'll be able to get back to fixing the outstanding issues after this campaign, and we do plan for Construct 3 support for Spriter 2 and Alchemist. We have a completely new API and development plan that should allow us to develop these plugins more efficiently.

  • Hello everyone! Here's what's had us so busy for a while now.

    Subscribe to Construct videos now

    Link to our Kickstarter

    We're excited about all the creative possibilities and power this will open up for Construct 3 users. Please consider sharing and backing.

    (I hope it was okay to post this here. I thought it was relevant, because of future Construct 3 support.)

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 25 followers

Connect with lucid

Trophy Case

  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

24/44
How to earn trophies