[Request] Tiled Background Shader

Share your Construct 2 effect files

Post » Sun May 14, 2017 8:25 am

, @R0J0hound , @chrisbrobs , @oppenheimer

Will be possible create a shader that works as the Tiled Background Plugin?

You put a texture in the sprite and the shader will repeat that texture in XY without stretch or zoom when is resized, simple repeat the texture you added again and again in X and Y. Also without use any parameter, like the TiledBackground plugin.

Why do in a .FX for a sprite? Because in a sprite you have frame/animations, so you can have in one sprite all the tiledBackgrounds and animations you want and simply add to layout and change the initial Frame/animation, Instead of have lots of tilebackgrounds objects for each tile. Also for Families you not will need a separate one for tiledBackgrounds, Also in a sprite allows imagepoints, custom collisions,etc...

Will be possible?
B
23
S
10
G
3
Posts: 538
Reputation: 4,426

Post » Mon May 15, 2017 8:49 pm

Will be possible?

Yes, but I'd be happy if I never had to write a shader again.
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756


Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests