Mikal's Recent Forum Activity

  • Use 1.x versions of the plug-in to support Spine 3.8 (Dragon Bones exports can be updated to 3.8 using the formatted.)

  • Nice work, nice system.

  • Rad Ricky Congrats on the game release! Nice Spine animations.

  • R0J0hound no worries, I appreciate the comments anyway. I hope that Ashley looks at implementing something to support the derivative functions somehow.

  • R0J0hound - thanks for the comments, I'm hoping for something built into the C3 Editor to make this simple for the general C3 community.

  • At least for our game, we would be ok with putting out an alert that webgl2 is required.

    It would be welcome at least as an experiment (e.g. C3 beta) to try out using OES_standard_derivatives extension.

    That being said, how would we set C3 projects to get only a webgl1 context and not a webgl2 context?

  • The one caveat I have with this is there are some webgl2, glsl version 300 features that would be use useful (specifically derivatives, fwidth).

    They would be useful for a pixel crisp effect and depth map to a normal map effect.

    Of course, the issue is that other shaders would need to be changed to support version 300 (internal shaders, etc.)

    A project check box for glsl version 300 support would be welcome.

  • If you find you need an authoritative server, I recommend Colyseus. We use it using C3 JS scripting on the client (typescript and node.js on the server), there is also a C3 plug-in, but I don't know how to up to date it is.

    colyseus.io

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can play animations on different tracks, you can different skins per slots.

  • kindeyegames.itch.io/c3-3dobject-alpha/devlog/374260/example-in-game-player-texture-editing

    A quick example of in-game edit of texture is player-generated texture during runtime.

    Subscribe to Construct videos now
  • The typical way is to assign the properties to instance properties on construction in c3runtime/instance.js and then refer to those properties in actions, etc.

     C3.Plugins.Mikal_Example.Instance = class ExampleInstance extends C3.SDKWorldInstanceBase
     {
     constructor(inst, properties)
     {
     if (properties)
     {
     this.scale = properties[0];
    

    In action refer to the class property:

    	const newScale = this.scale * 2;
    

    for lib.js, since addons don't work with modules (e.g. import), I create a global pointer to the library/class and use that in actions.

    e.g. in lib.js I have

    if (!globalThis.myC3Lib) globalThis.myC3Lib = myLib;
    

    then in actions I use it by:

    const myLib = globalThis.myC3Lib;
    myLib.doFunction(this.scale);
    
  • mrzuf thanks and good luck with your game. As always I am interested in seeing the plug-in in-game, so please share some vids or pix when you can.

Mikal's avatar

Mikal

Online Now
Early Adopter

Member since 22 Apr, 2016
Last online 28 Nov, 2024

Twitter
Mikal has 103 followers

Trophy Case

  • 8-Year Club
  • 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
  • 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

19/44
How to earn trophies