0 Favourites

[PLUGIN] Texture Setter

This forum is currently in read-only mode.
  • Texture Setter 1.0

    http://dl.dropbox.com/u/5426011/plugins/TexSet.zip

    This plugin allows one object to use the texture of another. It does not copy the image like ImageManipulator does, it just reuses the same texture. This results in instant texture changes.

    Here are some examples of the possible use of this object:

    http://dl.dropbox.com/u/5426011/plugins ... mples2.zip

    animated3dobj.cap

    Animated textures for the 3dobject anyone?

    draw3dobj.cap

    By giving the 3dobject the texture of a canvas, you can draw your own texture.

    coolcubes.cap

    Using part of the display as a texture.

    pixelscale.cap

    Crisp 2x pixel scaling method.

    Some Notes:

    The 3dbox object does not work with this plug.

    Also you will get a runtime error if you use any object that doesn't have a texture as a parameter.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • That's awesome, thank you.

  • Cool, just made a kind of a hd minimap, and it worked pretty good.

  • Forgive me for asking before checking it out myself, but I'm quite curious: does the plugin also grab parts of texture? Think tileset or texture atlas.

  • Wow ! Animated textures on 3d objects......just had to cancel my day to test this out.

  • Wow!!! Now i can do animated 3d billboards for that topdown shooter i was working on.Thank you very much.

  • This is awesome R0j0hound, nice work!

  • Question, i've been trying to recreate your examples "pixelscale" and "coolcubes" and it seems that the effect of sprite showing texture from canvas works only when there are objects with additive efects on the lowest layer. Just spend half an hour trying to figure it out why it shows me only white fill (in canvas and sprite) until i've noticed your clouds have additive effect.

    Can you please explain why is that neccesery?

  • [quote:39jatz65]Forgive me for asking before checking it out myself, but I'm quite curious: does the plugin also grab parts of texture? Think tileset or texture atlas.

    No, it just uses the entire texture.

    [quote:39jatz65]Question, i've been trying to recreate your examples "pixelscale" and "coolcubes" and it seems that the effect of sprite showing texture from canvas works only when there are objects with additive efects on the lowest layer. Just spend half an hour trying to figure it out why it shows me only white fill (in canvas and sprite) until i've noticed your clouds have additive effect.

    don't know the reason that a shader is needed. It looks like at least 1 is needed though. You can give a shader to just the canvas object and it will work.

  • Question, i've been trying to recreate your examples "pixelscale" and "coolcubes" and it seems that the effect of sprite showing texture from canvas works only when there are objects with additive efects on the lowest layer. Just spend half an hour trying to figure it out why it shows me only white fill (in canvas and sprite) until i've noticed your clouds have additive effect.

    Can you please explain why is that neccesery?

    Try setting the layer properties to "force own texture"

    You might have to change the inheritance on some as well.

    Also, might check the wording Rojo. The action reads kind of opposite of what you would expect.

  • can't figure it out with "force own texture"

    but adding any effect to canvas itself does the trick

    thanks

  • [quote:2csx415z]Also, might check the wording Rojo. The action reads kind of opposite of what you would expect.

    Thanks, it's now fixed. Just re-download.

  • Can I just say thank you and curse you at the same time. I was developing a system that distorted sprites in order to make a pseudo 3d effect.... and now you just go ahead and make something far slicker and EASIER TO DO!

    cheers btw

  • What version of construct can this be used with? Awesome idea btw.

  • This sounds like an awesome plugin. I can't try out the examples though because after installing WIndows 7 SP1 I had to downgrade to the last 1.1 version for construct to still work (sxstrace error).

    Any ideas on if that bug will be fixed in the next version of Construct? or get examples in 1.1

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