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 158563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:42:13+00:00 2026-05-11T10:42:13+00:00

all, me again with another noob Cocos2d iphone question. I’ve set my Director to

  • 0

all, me again with another noob Cocos2d iphone question.

I’ve set my Director to Landscape, but when I was looking at the coordinates of the ‘Touch Event’ it was still picking them up as though the screen was portrait. So they were basically reversed.

x = 100, y = 50 

should have been

x = 50, y = 100 

No biggie, it was easily fixed by creating a new CGPoint and swapping the values around. However, it feels like there should be some neater way to do this. But I’ve not been able to find any reference to it. Is this the only way to do it or is there something built into Cocoa Touch or Cocos2d to fix this.

off topic: My God, iPhone is such a nice platform to develop for. And Obj-C is as cool as a cucumber. Sorry I just had to get that out of my system, non of my friends are programmers. They don’t understand the pain of Internet explorer.

  • 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. 2026-05-11T10:42:14+00:00Added an answer on May 11, 2026 at 10:42 am
    cocosTouchPoint = [[Director sharedDirector] convertToGL:touchPoint]; 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before you all get pissy about me posting this question again, let me explain
Yet again another assignment I need help on. All i need is just the
Back again with another rookie question. While working on a function for my homework
Well, here I am again with another frustrating question. I need to end my
I will use (again) the following class hierarchy: Event and all the following classes
How can I download it again? All the developer tools I'm using (Xcode, eclipse,
all! A question to all the users of Mac OS X who have used
All is in the question. I have an image saved in database in an
All the articles I've found via google are either obsolete or contradict one another.
I am a mySQL noob, and have a slightly stupid question... I am using

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.