Help with my plugin!

0 favourites
  • 7 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I making a new plugin. This plugin will get a sprite image with shader effects and set to another sprite image without a shader effects.

    I dont know how to get the sprite image with shader effects in my plugin.

  • * moved to a more appropriate section.

    This is where those who are capable of helping you usually reside. Hopefully, you'll get an answer from one of the plugin devs in due time.

  • Look at the third party paster object, with it you can draw another object with an effect onto itself using the "paste object" action.

    If you want to do it yourself you'll have to dig through C2's runtime source in the exporters directory and learn some webgl. The paster object works by having a texture that can be rendered to and then calling the drawgl() function of the object to draw. It becomes more complicated when drawing effects because the runtime wasn't designed to let effects be used by anything but itself. So you'll need to use the runtime as an example and make custom versions for your own use.

  • Look at the third party paster object, with it you can draw another object with an effect onto itself using the "paste object" action.

    If you want to do it yourself you'll have to dig through C2's runtime source in the exporters directory and learn some webgl. The paster object works by having a texture that can be rendered to and then calling the drawgl() function of the object to draw. It becomes more complicated when drawing effects because the runtime wasn't designed to let effects be used by anything but itself. So you'll need to use the runtime as an example and make custom versions for your own use.

    Well,i tried to use Paster, but i dont know if i make corretly. Take a look in these example: 1drv.ms/u/s!AvYcN9vOqeUMhCawXsYpOo6yKBoi

    I did not get it change de sprite color by the Paster.

  • It works but when you load a frame it replaces the frame that is shared between sprites so they all change.

  • It works but when you load a frame it replaces the frame that is shared between sprites so they all change.

    It's can be resolved, with this the Paster?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not really, the purpose of the paster object is to have something you can draw to. I guess you could use paster instances instead of sprites.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)