Repeatable background

TifooTifoo FRMember
edited September 2014 in CocosSharp

Hello,

I would like to make a repeatable background for my game.
I checked the web and the "old" techniques with cocos2D using Texture2D TexParam are not available in 3.0 (it's now in a private header, CCTexture_Private.h).

I did not found a workaround in XNA implementation.

How can I achieve this ?

Thanks for your help

Best Answers

Answers

  • TifooTifoo FRMember

    It works fine thanks, but I still have a problem.
    My background should be infinitely scrollable while player move around.
    How can I add this? (Even if I make my CRect for my sprite huge, it's not infinite and it feels bad for performance..)

  • TifooTifoo FRMember

    Thanks! I'll work on this :)

Sign In or Register to comment.