METS BLOG

METS BLOG

Cocos2D-X CCFollow Camera Example

A small tutorial about how to use CCFollow or Follow. I looked into many forums tutorials but none had a clean explanation so found out myself. Here you go.


7 responses to “Cocos2D-X CCFollow Camera Example”

  1. helios says:

    thanks for this! (: will try it now

  2. Lucones says:

    Thank you so much for keeping it simple!
    The internet needs more people like you.
    =)

  3. Student says:

    I don’t know who you’re but this save my game and my life. I love you, I want to kiss you lol

  4. Daniel Gadd says:

    Is there some kind of borders ?
    Works fine in original area, but goes crazy out side.
    I have my main object rotate and set velocity towards where i touch or click. So the hover car rotates and start moving towards where i click. Works fine in original area but once start to go further, it starts not working, object start going back. Makes no sense
    Much appreciated any help 🙂

    • metin says:

      Yes there are borders so to say, I think your problem is with positioning, check if your cars position is updated properly.

Leave a Reply

Your email address will not be published. Required fields are marked *