Mikal's Recent Forum Activity

  • Update here's another suggestion to vote on, in case the other one is not implemented (it is more flexible than the other one.) Please vote if you like the possibilities you see here:

    github.com/Scirra/Construct-feature-requests/issues/180

    Another example (added to the 8 frag effect):

    Directional Light (acts like a 'sun' light).

  • Some more non-light examples that would be possible:

    Snow shader:

    Height fog:

  • Ashley - I understand what you are saying and after doing C3 addons for a few years, I hope I have somewhat a feel for how you handle suggestions. In the past I have seen you comment on suggestions, so I was just looking for similar feedback and was not worried if you were not able to.

    I did not imply how hard or simple the change is, I understand there is complexity.

    In terms of making a full 3D engine in C3, I understand that is not your direction. Instead some 3D features are being added and it is great that the addon SDK is being expanded to support other 3rd party devs so they have the possibility to go in the direction of adding more 3D features, which a smaller subset of the C3 community is interested in. This seems appropriate in terms of the philosophy of 3rd party addons for adding features to C3 that are not directly included in C3 or on the internal C3 roadmap. I really appreciate this and the support the SDK already provides.

    In terms of this specific suggestion, I am following your lead here, I am grateful for the addition of the direct-3d rendering SDK support for effects and this suggestion is aligned with that in terms of supporting direct-3d effects in an expanded way that allows for some cool world position based effects. I know it may or may not happen, but I hope you keep it in mind as you update the c3 render engine in the future.

    [As an aside the talk of direct-3d takes me back to the 90s and MS doing a new API too...]

  • Thanks for the reply Ashley. For now I have inserted one of the smaller libraries directly into my addon files and may go with the globalThis for the other larger one.

  • A new, very cool example from Dokse, also uses a form of light pooling to have a lot of lights scattered around the environment (e.g. more that the 8 available in the effect.)

    Subscribe to Construct videos now
  • This is an addon in development.

    Example with kinematic character controller w/ beta version using Rapier 3D physics:

    Example with 3D raycast:

    Check it out here:

    kindeyegames.itch.io/construct-3-cannon

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley - any suggestions on how to import modules in addons (for example in instance.js)? Right now it seems to work in preview (import * as Comlink from...) However it fails in export (due to fail in workermain.js, unable to Loadscripts, it sees 'import *' as an error).

  • Ashley any thoughts on this? With your new change we are so close to just having a new effect for lighting. If you are concerned about compatibility, perhaps only use different vertex shader with the aPos pass through when the effect has direct-3d rendering enabled?

  • This works for me, but I need to figure out how to change it during export, besides hacking it.

    import * as Comlink from "https://preview.construct.net/comlink.js";

  • I am having issues importing a local file in an addon, for example in it's 'instance.js' during preview. (e.g. import * as Api from './api.js') - I know that preview mangles file names to blobs, but I thought there was a service worker which helped to make it compatible. Right now it cannot find the file.

    Anyone else do 'import's in addons?

    My workaround for now is importing from a full URL/CDN (which requires an online connection and is slower.)

    e.g. this works fine:

    import * as Comlink from "https://kindeyegames.com/forumfiles/comlink.js";

  • I have been working with the latest beta and we are close to getting C3 support to enable 3D and 2D fragment based lighting. I have prototyped it using an effect and a patch of the C3 runtime, but we need one more change, so no patch is required. You can help and vote for the C3 change here (need a github account and add a reaction to the first post.)

    The link to the voting is in this post: kindeyegames.itch.io/c3-3d-effects/devlog/686663/we-need-your-votes-to-support-3d-fragment-lighting

    Update here's another suggestion to vote on, in case the other one is not implemented (it is more flexible than the other one.)

    github.com/Scirra/Construct-feature-requests/issues/180

    Here are some examples based on current experiments, enjoy!

  • No fixed ETA, I have other paid work, as that eases up, I will get back to this.

Mikal's avatar

Mikal

Early Adopter

Member since 22 Apr, 2016

Twitter
Mikal has 107 followers

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x10
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

20/44
How to earn trophies