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

  • SEARCH
  • Home
  • 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 8130501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:44:07+00:00 2026-06-06T08:44:07+00:00

Please tell me if I got this wrong. Anchor point is like a movable

  • 0

Please tell me if I got this wrong.

Anchor point is like a movable center of a sprite.
You specify a sprite’s center by setting an anchor point.

Now you can place the sprite by specifying the position of the center.

ex)
anchor point = (1,1) : sprite’s center is its right upper corner(I can think of it as “pinned at the right upper corner”)
position = (screenWidth, screenHeight) : place the center(anchor point) at the (screenWidth, screenHeight)

Resulting in a sprite aligned at the top-right corner of the screen.

  • 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-06-06T08:44:08+00:00Added an answer on June 6, 2026 at 8:44 am

    strange name (“movable center”), but you are almost right. the only thing, that it is property of CCNode class, not CCSprite. Just by default CCNode has no contentSize and has isRelatieveAnchorPoint property to NO.

    Another one point is that all transformations will be done relatieve to the anchor point. I mean, if you will set anchor point to, for example, (1.f, 1.f),place tour node(sprite) to the center of the screen and begin to change it’s rotation(scale, etc.), it will rotate around it’s anchor point.

    And one interesting trick with anchor point. Nobody says that it’s x and y values must be between 0.f and 1.f =) So, you can rather simply make your node(sprite) to move by circle, setting it’s anchor point to the out part (for example, to (0.5f, -10.f)) and begin to rotate it. Your node(sprite) will move by circle with center in node.position(sprite.position) and radius of (10.5f * it’s contentSize.height)

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

Sidebar

Related Questions

Please tell, how can i determine, the browser supports canvas (paperjs), or not ?
I got this image to tell people that some action is loading: http://problemio.com/img/ajax-loader.gif Then
I got an array like this $value = {array('id'=>$id, 'email'=>$email, 'token'=>$token)} I want to
Can any one please tell me what are the steps for using JavaBuilder; to
I've got a piece of code like this: class Lekcja { Calendar _date; public
Please tell me there is a better solution to querying a remote Access database!
Please tell me will BlackBerry application till OS 7.1 work for new BlackBerry OS
Please tell me the differences in information displayed by two commands jobs and ps
Please tell me what is the Qt equivalent function for glutswapbuffers()..
Please tell me why my window doesn't render. Below is the javascript that i

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.