Can I use horizontal warp tile with this image?

agueisagueis Member Posts: 420

Thanks

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited June 2015

    Not sure I'm understanding your question, you can use Horizontal Wrap with ANY image.

  • agueisagueis Member Posts: 420

    Hello Jamie, this is what i want

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited June 2015

    When you wrap an image horizontally the exact same image and image placement wraps, so you're going to get what you show in your "NO" example. But it's not really no, because the image is horizontally wrapping exactly as you should expect it to.

    Your "YES" example is not a horizontally wrapped image... :(

    What are you trying to accomplish exactly, a sloping platform?

  • agueisagueis Member Posts: 420

    Yes , a sloping platform , just wanted to know if there is a formula to use the same image as tile

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    You can't do an 'offset' with image wrap (though it would be cool if you could) so I think you're best option is to use separate actors and align them as needed to build the slope.

  • SocksSocks London, UK.Member Posts: 12,822

    You will> @agueis said:

    Yes , a sloping platform , just wanted to know if there is a formula to use the same image as tile

    You could try something like this (see attached file):

  • SocksSocks London, UK.Member Posts: 12,822

    Another way you could do this (file attached):

  • SocksSocks London, UK.Member Posts: 12,822

    And a third way . . . (attached file)

  • SocksSocks London, UK.Member Posts: 12,822
    edited June 2015

    @jamie_c said:
    You can't do an 'offset' with image wrap (though it would be cool if you could) . . .

    You can do all sorts of image offsets fairly easily with the Replicate behaviour, example attached:

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    I see that, but if you are trying to build a sloping platform the replicated pieces will not have any physics or interactivity. They end up just being images. Which is great if you just want scenery or effects. Depends on the need I suppose.

  • SocksSocks London, UK.Member Posts: 12,822

    @jamie_c said:
    I see that, but if you are trying to build a sloping platform the replicated pieces will not have any physics or interactivity.

    Good point ! This would only really work for design elements.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    As with most things, it just depends on the final requirements of the project. :)

  • SocksSocks London, UK.Member Posts: 12,822
    edited June 2015

    @jamie_c said:
    They end up just being images.

    Here's a version with actual geometry . . . type the number of additional platforms you want into the parent rule.

  • SocksSocks London, UK.Member Posts: 12,822

    @jamie_c said:
    As with most things, it just depends on the final requirements of the project. :)

    Yep, if he wants the hero (for example) to interact with these slopes then making them a slanted image doesn't help, as the hero would still interact with the image bounderies rather than the slope part of the image - that's why I think he'd be better off building these platforms flat and then rotating them within GameSalad.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    that's why I think he'd be better off building these platforms flat and then rotating them within GameSalad

    I agree. I've also created two actors in the past, an image of a slope that is nothing more than an image. And a second, transparent, actor to act as the collision surface.

  • agueisagueis Member Posts: 420

    Ok, Thank you very much

Sign In or Register to comment.