Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: merde10 on August 10, 2015, 03:39:32 PM

Title: Texture offset problem
Post by: merde10 on August 10, 2015, 03:39:32 PM
Hello guys,

I have an issue about setting a scrolling effect for my floor with a texture.

The problem is that my texture move one time and disappear after (they are no scrolling effect).

Is there a solution?

thanks ;)
Title: Re: Texture offset problem
Post by: merde10 on August 12, 2015, 05:32:44 AM
Any help? :/
Title: Re: Texture offset problem
Post by: escpodgames on August 12, 2015, 05:35:45 AM
Make sure your texture is set to repeat rather than clamp
Title: Re: Texture offset problem
Post by: merde10 on August 12, 2015, 07:26:33 AM
Hello,

where can i set my texture to repeat?

Title: Re: Texture offset problem
Post by: escpodgames on August 12, 2015, 06:51:07 PM
In the inspector when you have the texture file selected
Title: Re: Texture offset problem
Post by: merde10 on August 14, 2015, 07:14:19 AM
I can't find it...

Even when i'm just using a 2d sprite, i can't have a scrolling effect with my texture :(
Title: Re: Texture offset problem
Post by: flora on August 14, 2015, 07:55:09 AM

hello  :)

locate your texture on the Project Tab , click on it .. then on the inspector, you will be able to set it to Repeat
Title: Re: Texture offset problem
Post by: merde10 on August 20, 2015, 02:44:59 PM
Hello,

it works when i use a mesh cube. But it don't work when the texture is a sprite 2D.

(I prefer a repeat texture with a sprite 2d, because of 2d collision).

Is there a solution to repeat my texture when i us it as a sprite 2d?

thanks :)
Title: Re: Texture offset problem (SOLVED)
Post by: merde10 on August 23, 2015, 10:25:05 AM
Hello, i just find out how to make it.

I had a sprite 2d, with a texture repeat.

And i add another sprite for the collision 2d :)

thanks