playMaker

Author Topic: Texture offset problem  (Read 3225 times)

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Texture offset problem
« 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 ;)

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: Texture offset problem
« Reply #1 on: August 12, 2015, 05:32:44 AM »
Any help? :/

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Texture offset problem
« Reply #2 on: August 12, 2015, 05:35:45 AM »
Make sure your texture is set to repeat rather than clamp

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: Texture offset problem
« Reply #3 on: August 12, 2015, 07:26:33 AM »
Hello,

where can i set my texture to repeat?


escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Texture offset problem
« Reply #4 on: August 12, 2015, 06:51:07 PM »
In the inspector when you have the texture file selected

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: Texture offset problem
« Reply #5 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 :(

flora

  • Playmaker Newbie
  • *
  • Posts: 47
Re: Texture offset problem
« Reply #6 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

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: Texture offset problem
« Reply #7 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 :)

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: Texture offset problem (SOLVED)
« Reply #8 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