Dexter, The Game
I recently found there was a Dexter game on iPad, so I bought it. It's a pretty good game with a good selection of minigames.
After a few playing a few times, and getting past a bunch of bugs in it I finally completed it and got on the leaderboards.
I'm number 1 in the world. I don't think I've ever reached the top of the leaderboard before.
If only I could figure out what the last 3 achievements are.
Burning of the Clocks
Brighton has a yearly festival called the Burning of the Clocks. This year I had chance to see it.
iTunes Application Loader Password Trouble
When trying to submit the snow globe app to iTunes I came by a bug with the Application Loader software. If you're password contains characters that are no letters or numbers it seems to complain.
The only way I found to resolve this was to changing my password to only contain letters and number temporarily.
Retina Resolution
While working on an app to release at Christmas, I realised that I hadn't been using the correct resolution when I took a screen and it was still the ordinary non-retina size.
At first I thought it was something to do with multisampling, but it turns out that the EAGL layer does not automagically resize itself to the correct size when using the iPhone4.
To get it to do this, you just need to set the contentScaleFactor on the UIView that holds the EAGLView.
//eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
// [NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking,
// kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat,
// nil];
if( [[UIScreen mainScreen] respondsToSelector:@selector(scale)] )
{
self.contentScaleFactor = [[UIScreen mainScreen] scale];
}The scale factor can be gotten from the UIScreen, however the scale factor doesn't exist on older SDKs, so if you want to maintain backwards compatibility, wrap it in a respondsToSelector.


