I reused your code, claudio, because I'm having fun with a grid-based game where some cells can be filled with water at different levels. My problem is that I will display many of those (in a big grid) and want them to be batchable. I'm sorry but I can't find any help on how to make something batchable.
here is a crude attempt : http://pastebin.com/7FYWrDA6 The water_block will not be displayed if added to a BatchNode, but will be displayed ok when added to a regular Node... Could someone enlighten me ? Le dimanche 15 avril 2012 23:23:36 UTC+2, Ivo Fokkema a écrit : > > On Thu, 2012-04-12 at 22:17 -0300, claudio canepa wrote: > > > On Thu, Apr 12, 2012 at 6:21 PM, Ivo F.A.C. Fokkema > > <[email protected]> wrote: > > > > > > > (snip) > > > > I noticed you included in your code a 'copyright <my name>' > > for a > > > class I posted in this thread. Don't do that please. I > > understand it > > > was meant as a credit, but it hinders code reuse, and > > annoys people. > > > Just saying, not mad at it. > > > > > > Is it the (c) specifically or the fact that your name is > > there? > > > > > > The (c) thing specifically > > OK, thanks! I will leave it out next time :) > > Regards, > > Ivo > > > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/cocos-discuss/-/SFDtB8hdYbQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
