Plugin features

0 favourites
  • 7 posts
From the Asset Store
[C2] [C3] support C3 build service | support Banner ads, Interstitial ads, Rewared video ads.
  • Can a world object have multiple textures on import?

    If so, can they have different blend modes?

  • An object can either have one image like tiledbg or animations like Sprite defined with the pf_texture or pf_animations flags. Not sure if you can have it load more than one texture by default though.

    As far as drawing goes you can draw the two textures any way you'd like at runtime. The edittime is more limited though. You'll have to look at the Sprite plugin to see how different animation frames are used for drawing in the editor. Also it doesn't look like you can control the blend modes for the editor from the sdk, but maybe I haven't looked well enough.

  • OK thanks.

    Was thinking about some sort of generic gui plug that was pre configured to make it easier to make menu's etc, but if it can't do it as a default then it kind of defeats the purpose.

  • For something like a gui it's pretty common to have all the peices of the graphics in one texture.

  • But it's not possible to have a blend mode on only part of that texture right?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure it is, just not in the editor from what I can tell. You can take a texture and draw one part of it to one quad and another part of it to another. 9patch is a good example of that. You can do that in the editor and at runtime.

    The only limit is you can't set the blend mode with js in the editor. At runtime you can do that no problem, just set the blend mode before each quad drawn.

  • Id say too bad we can't do that with tile maps, but you can't overlap the texture.

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