Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6341513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:02:55+00:00 2026-05-24T20:02:55+00:00

In Cocos2d, many things require a.. point. Or position. I have used both ccp

  • 0

In Cocos2d, many things require a.. point. Or position. I have used both ccp and CGPointMake methods, and both have worked just fine for me.

However, I’ve seen, in some tutorials, that people use one or both of them in all their examples. So I’m not sure if there’s an actual difference (because if there wasn’t a difference, I’d just use the quick method ccp).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:02:56+00:00Added an answer on May 24, 2026 at 8:02 pm

    Nope no difference except CGPointMake is harder to type:

    #define     ccp(__X__, __Y__)   CGPointMake(__X__,__Y__)
    

    Found here:

    http://www.cocos2d-iphone.org/api-ref/0.99.3/_c_g_point_extension_8h_source.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a cocos2d project. Everything works fine, except when I am replacing a
i haves game with cocos2d i have many sprites i'm using touch to sprite
I am using the cocos2d library. when xcode builds, it builds twice as many
I have a Cocos2D iPhone application that requires a set of CGRects overlaid on
I have a Cocos2d/openGL iPhone game. It's a universal app and I'm dealing with
I'm really sorry, I realize there have been several questions asked about cocos2d touch
i am using cocos2d and having many sprites and bodies. each sprite has its
I am developing a 2d game for iPhone by using cocos2d. I use many
I'm using the cocos2d framework for various of my applications, and have run into
In chipmunk/cocos2d, I have the classic bouncing ball demo happily running with an arbitrary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.