Hi Guys!
Firstly apologies for my poor proficiency level of english ^^
My name is Marc and i'm from Spain, since two weeks ago i'm trying to develope a little game with my friend Carlos.
This is our first game ever, indeed we have been surprised by the incredibly little steep learning curve of this amazing framework!
truly a spectacular job, congratulations Daniel.
Well, here my "problem":
When i try to get the stage width or height (self.width/height) in landscape orientation it returns the sizes of a portrait orientation. (i.e: self.width returns 320 in landscape mode :S)
Does anyone know how to solve this little problem?
Here is my code to change the orientation:
container = [[SPSprite alloc] init]; container.rotation = SP_D2R(90); container.x = 320; [self addChild:container]; ... [container release];
I've also added the code below into Info.plist:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>