Mikal's Forum Posts

  • This was fun, nice example to modify from C3!

    Subscribe to Construct videos now

    3DObject (my addon):

    kindeyegames.itch.io/c3-3dobject-alpha

  • That version only works in later beta versions of C3, which I think I mentioned in the dev log.

  • Thanks for the fix, it looks this addon will be user supported going forward, which is fine, together I think we can figure out any issues.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, I think it not an issue of them not getting rendered, it is the issue of the depth value behind the effect outline pixel being 1, so the fog effect goes to the maximum value and the red outline is mixed to the full fog color.

  • This is an interesting and complicated problem based on the C3 3D render and how the first fragment shader handles transparency for 3D rendering, intermediate renders, depth buffer and fog render.

    Tech details below, with a trace of the C3 rendering.

    This is probably not exactly correct, but I think it is something along these lines.

    Some more 3D transparency 'fun', when rendering effects like outline, the first render to an intermediate buffer writes to the depth buffer, but since the outline is not enabled yet, the area of the outline does not write to the z buffer. Later when the effect is rendered into the frame buffer the outline is applied, but the z values from the intermediate render are not set in the outline region (they are 1, max distance). Later when the fog (?) is rendered, even though it should be behind the zombie (and the outline) with a lower z, it renders 'over' the outline at the bottom, because the 'z' is not set for the outline. The outline for around the zombie against the wall works, because the wall is rendered first before the zombie and sets z values, so when the fog (?) is rendered later it does not write over the pixels. Whew, hmmm how to fix.

  • essencescape nice work figuring it out. When you are ready, it would be nice to see what you are doing with the Spine addon, feel free to post results into this thread.

    In terms of slot colors, also look at doing two color tint, this requires you to also add a 'tint black' to the slots you want to color. Dark color allows more effects to be done, definitely some interesting ones.

    twitter.com/EsotericSoft/status/802960853242822656

    en.esotericsoftware.com/blog/Spine-3.6-tint-black-clipping-weight-painting-and-more

  • Can you share your project? I typically create a custom skin, add the other skin variations I want to that custom skin and then set the custom skin.

    If you want to DM, the project, I am Mikal#1464 on Discord and on the Construct Community Discord server.

  • Note that the Spine object will _not_ render in the editor, it will only render during runtime, due to limitations of how the Spine render interacts with the C3 render.

    That being said, if you are having an issue during runtime, you can send a link to the project and I can take a look for you.

  • When you go to the local server do you use http and ws instead of https and wss?

  • Yes, I run a server locally along side the client in preview, we use ws: and http: instead of wss and https locally.

  • sTARKi - can you share an example file showing the issues, I want to make sure I am addressing your specific use case. I use sendgb.com to send large files, or you can DM me on the Construct Community Discord.

  • Thanks for the details and the example, I will review.

  • Update:

    github.com/gritsenko/c3_spine_plugin/releases/tag/2.8.2

    Fix C3 324 compat and set region ACE for 4.1

  • Which version of the addon are you using? Later versions have optimizations around this case when animation is paused.

  • It is available on the itch.io page.