fedca's Recent Forum Activity

  • array.IndexOf(0), this works as empty array cells return null

    edit: sorry I just read you are looking for a specific collumn, my bad

  • My newest effect is a color vignette, similar to the build in vignette but it allows you to set the color plus some additional parameters to tweak.

    https://www.construct.net/en/make-games/addons/1114/color-vignette

  • I'm in, let me know when you organize something

  • yea that vampire survivor-esque push out solid thing you made is nice!

    I guess the build in collision cells must update when an instance moves I assume (well not the whole thing but the specific instance) instead of just every frame. Plus they also handle objects with different sizes.

    I'll check the spacial hash out you linked, definitely seems like a custom solution is the best for extreme cases.

    Still would be awesome to have access to the build in system and I assume (naively) it shouldn't be much more work for Scirra then to expose the interface.

  • All I am asking for is a scripting interface to query the collision cells, it could be something like:

    runtime.collisionCells.getInstancesInRect(x1,y1,x2,y2)

    I don't understand what you are arguing about when you yourself don't seem to know what collision cells even are:

    from a programming perspective, I'm not sure how that is possible, ha. You can't get something from nothing - not sure what other way you could start from other than an array of objects and at minimum filtering the array

  • bro why are you trying to convince me that I don't know what I am talking about, what is the purpose of this discussion?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, you even quoted where I described the case, any system that needs to check collision against many instances will run very badly without collision cells as they have to loop over each instance which can quickly go up to thousand and thousands of checks per tick, for example 128*128 = 16.384.

    I wrote this after I tried rewriting a system in js with the intention to increase performance, but instead I actually made performance way worse as I couldn't use collision cells. Sure I guess I could create my own system, but it feels redundant if there is already one in the engine that also already has its own overhead of being created and updated.

    I'm not sure you are aware, but behaviors and is overlapping on collision events make use of collision cells (unless you pick beforehand). It's just that js doesn't allow accessing the build in collision cells.

  • I've currently been getting into shaders and done a handful of effect for c3.

    When reading resources about shaders I often find the technique of down-sampling and then running shaders on that downsampled framebuffer and then upsample later. This seems to lead to crazy performance benefits as the amount of pixels is just that much lower.

    (example, super fast blur Dual Kawase https://www.shadertoy.com/view/3td3W8)

    I tried to apply similar techniques in c3 but that either lead to very weird results or seem outright impossible. So I wondered is this a skill issue and it's possible?

    Or if not possible I wonder if it would be feasible to extend the effects sdk to allow to read and write to frame buffers to allow for some additional shader techniques.

  • Newest Effect is a glitch Shader bsed on this Shader by user Coolok : shadertoy.com/view/4dXBW2

    download here: https://www.construct.net/en/make-games/addons/1113/glitch

  • R0J0 just casually dropping bangers

  • solution for bloom:

    this effect allows you to use bloom with a lot of control over how it looks and how much performance it cost as it allows you to use any blur you want. You can also decide how it should be blended, additive is the obvious choice but you might try other blending modes like screen.

    HOW TO USE:

    • create a mask sprite, opaque pixels apply the effect
    • add my new effect luminosityMask to the mask sprite (https://www.construct.net/en/make-games/addons/1112/luminosity-mask-bloom)
    • tweak the effect, you can see here which pixel will be affected etc.
    • add any blurs you want to the mask, for example the build in blur or my Kawase Blur
    • add a blend mode, for example Additive

    An example project is included on the addon page.

    Imo this is the best solution for Bloom in c3 currently, it'S really tweakable for an artist without needing to look at shader code and works with any blur so can be as light or heavy on performance as you want.

  • These are fantastic! I've added one to our project already. Thanks very much for sharing these, and I hope there's more quality effects from you in the future!

    Awesome to hear, I'm interested to see how people use these effects. :)

    Let me know if there is anything you need changed or fixed!

fedca's avatar

fedca

Online Now

Member since 6 Jul, 2017
Last online 20 Nov, 2024

Twitter
fedca has 65 followers

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x221
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x32
    Lightning Draw First person to up-vote a new Construct 3 release
  • x28
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies