If scrolling a single image will do, I would subclass ScrollableLayer, else it should be a subclass of a Tilemap
On Sat, Jan 23, 2021 at 10:36 AM Toni Roca <[email protected]> wrote: > I making a space game, and i need a infinite background loop. > And the question is , i need use a tiled map or a ScrollableLayer? > > Thanks all. > > -- > You received this message because you are subscribed to the Google Groups > "cocos2d discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/cocos-discuss/1238b3eb-f6dc-48d7-a75e-9b234415142cn%40googlegroups.com > <https://groups.google.com/d/msgid/cocos-discuss/1238b3eb-f6dc-48d7-a75e-9b234415142cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cocos-discuss/CAP3BN9UfCONfg2hp6XMrJejkNcp3MfV9zroJxMvfSwnWwx6FzA%40mail.gmail.com.
