FAQ: Please Read this First

Home Forum Learning iPhone Game Development with Cocos2D 3.0 FAQ: Please Read this First

This topic contains 1 reply, has 1 voice, and was last updated by  kmuzykov 5 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #328

    kmuzykov
    Keymaster

    Here are some of the Frequently Asked Questions about the book:

    1. Where can I get Chapter 12?

    First of all here is the link:
    https://www.packtpub.com/sites/default/files/downloads/0144OS_Chapter_12.pdf

    Unfortunately, there was a page limit for this book. Otherwise it would fall into a different printing category, with a different price and so on. So instead we decided to make Chapter 12 (which is quite big) as a separate downloadable chapter. Good news, is that the book price stayed the same and I had no limitation on adding screenshots in this chapter!

    The link to download Chapter 12 is given in Preface of th ebook, but I guess some people missed it, so I decided to add this information to FAQ.

    2. CCSpriteBatchNode is Deprecated

    It means that you’re using a newer version of Cocos2D-Swift (e.g. v3.2). I would recommend getting Cocos2D v3.0 and use it while you’re completing the code from the book.

    After you finish the book it will be very easy to switch to the newest version of Cocos2D, but when you’re only learning it is quite hard to keep even those minor differences in mind. Believe my experience, I’ve been switching to the newer Cocos2D versions starting from v0.99 and never had any issues that couldn’t be solved by reviewing “What’s new” section or googling for 2 minutes. And there were a lot more significant changes than those from v3.0 to v3.2.

    But why CCSpriteBatchNode is deprecated?
    In cocos2d v3.2 you don’t have to add sprites from the spritesheet to a CCSpriteBatchNode for batching to work. Sprites are batched automatically when they share a texture, blending mode and shader settings.

    It means you can just add sprites to the scene directly or replace the CCSpriteBatchNode with a simple CCNode in case you still want to keep the hierarchy.

    If you want to know more you can read the following thread on Cocos2D forum:
    http://forum.cocos2d-swift.org/t/ccspritebatchnode-is-deprecated-in-v3-1/14216/6

    3. I found a bug, typo,…

    Well, that’s sad 🙁 We really tried to create a perfect book. However, if you did find a bug please check if it wasn’t reporter and fixed earlier using this link:
    https://www.packtpub.com/books/content/support/16966

    If you can’t find it there please create a topic on this forum. Thank you!

    • This reply was modified 5 years, 5 months ago by  kmuzykov.
    • This reply was modified 5 years, 5 months ago by  kmuzykov.
    • This reply was modified 5 years, 5 months ago by  kmuzykov.
    #122

    kmuzykov
    Keymaster

    This topic will contain Answers to Frequently Asked Questions.

    • This topic was modified 5 years, 9 months ago by  kmuzykov.
    • This topic was modified 5 years, 5 months ago by  kmuzykov.
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Learning iPhone Game Development with Cocos2D 3.0’ is closed to new topics and replies.