Sunday, January 29, 2012

Can Nextpeer compete with Game Center?

I was reading some articles about Game Center, also looked at some articles about comparisons between Game Center and OpenFeint. It's definitely a tough war for the OpenFeint guys even though they entered the markets earlier.I was also thinking, technically it shouldn't be too difficult for Apple to include features similar to what Nextpeer is currently offering. If Apple did do that in the future, will Nextpeer still be able to compete with Game Cent...

XBox Live Games coming to iOS and other mobile platforms

Interested to read this news about Microsoft bringing XBox Live Games to iOS and other mobile platforms - instead of exclusively for Windows Phone only. Nice move Microsoft!This should attract more users to the mobile platforms and surely means more opportunities for everyo...

Tutorial - Integrate Nextpeer v0.0.10c to Cocos2D game

As I mentioned in my last post, I am going to talk about my experience with integrating Nextpeer v0.0.10c to my test Cocos2D game. Also added a short video at the end to show what it looks like after the integration.Don't forget that you should always refer to their web site, the SDK and the sample project for the most accurate information. Any way, hope you find the following information helpful.Please note that: a) You should have a working game project before you start. ==> If you don't, you...

Friday, January 27, 2012

Second test with Nextpeer - Success!

I had another play with Nextpeer today, mostly based on the sample game. After a few failed attempts - mostly due to the sample game using "NSNotification" but mine doesn't - finally got it working after a few rounds of tweaking.Also found that even if I added 2nd tournament, it still picks up the previous one for some reason. From the comments can see something as below about more than one tournament.//------------------------------- Nextpeer SDK ---------------------------------//// STEP2 - PART 2// Nextpeer: This delegate method will be called once the user is about to start a//   ...

Thursday, January 26, 2012

First test - trying to add Nextpeer to my Cocos2D project - FAILED!

As today is public holiday down under (26/1 Australian day, yeah!), after kids off to bed, I finally squeezed in some time to have a play with Netxpeer.I logon to developer site.I downloaded SDK ver 0.0.10c (What? Not even 0.1 yet?!) and the demo game.Opened up my simple Cocos2D project (see this post for details).Have a quick read and followed the steps of the "Requirements", "Prepare" section and all ok so far.I then got stuck in the "Using the SDK" part. I think for 1st time user like me, I need some "simple" English explanation and step-by-step tutorial/example about how to setup the Delegates...

Sunday, January 22, 2012

How to track down iOS 5 bug?

There's this post from ios-blog.co.uk which talks about how to handle bugs that are specific to iOS 5 which you might find handy. We had a similar issue the other day at work for a web based application which if the field type is set to "text", for customers using mobile safari browsers with iOS 5, strangely all leading zeros will be automatically truncated. Have to put in special code to detect browser version and then change the field type according...

Wednesday, January 18, 2012

Another interesting blog post for every indie developer

Found another helpful post which every indie developer should have a look: Money and App store: a few figures that might help an indie develop...

Nextpeer makes your game more attractive and interesting

Joined Nextpeer recently, as I quite like the idea and design. Imagine just by adding a few lines your single player game will be transformed into a multi-players game, how cool is that!Even the tutorial on the site (after signed up and logged in to developer site) uses the Puff Puff as example. So make sure you read my previous post about how to run Puff Puff in your iOS5 simulator.I guess the only drama at the moment is, there wasn't much technical info available yet. There's only a video tutorial about how to do it if you use Cocos2D. If your game is not using Cocos2D, might have to wait a...

Tuesday, January 17, 2012

Follow me on twitter @new2objectivec

Just created a twitter account - @new2objectivec.Not really sure how effective twitter is, will wait and see...Follow me @new2objectivec ...

Monday, January 16, 2012

How to run "Puff Puff 1.1" in iOS5 Simulator?

Thanks to 6thMega (Note: site still down when checked 25/11/2012) who generously published source code of their game "Puff Puff" Version 1.1. I have downloaded the source code for a while but wasn't able to let it compile at all.The game uses Cocos2D for iPhone (Version 0.99.04) and OpenFeint, and it's written in C++. This week after I finally worked out the fix for the problem mentioned in this old post "Error "Sending 'ccColor4B' (aka 'struct_ccColor4B') to parameter of incompatible type...

How to upgrade from old Cocos2d projects?

I believe quite a few readers might have similar question like me - how to upgrade an old application with outdated Cocos2d to the latest version?I was reading chapter 7 (scrolling with joy) of Cocos2d book. And the author uses "SneakyInput" as example to port it to a new Cocos2d project. All he did is create a new Cocos2d project, then copied a few classes over from the old one, and that's it? Since every project is different, it could be a lot more complicate for other projects... Will give that a try later...

Thursday, January 12, 2012

Interesting example of 2 dimensional array in CCArray - to "alloc" or not?

I was reading Learn cocos2d Game Development with iOS 5 by Steffen Itterheim. There's something quite interesting in chapter 8 which I tried a few times but still don't quite get it.There's this piece of code (Listing 8-7) which I will only list part of it here:-(void) initEnemies{  enemies = [[CCArray alloc] initWithCapacity:EnemyType_MAX];  for (int i = 0; i < EnemyType_MAX; i++)  {    .....    CCArray* enemiesOfType = [CCArray arrayWithCapacity:capacity];    [enemies addObject:enemiesOfType];  }}-(void) dealloc{  [enemies release]; ...

Every indie developers should read this - "You Guys Are Millionaires Right?"

There's this very insightful post "You Guys Are Millionaires Right?" by Shifty Jelly which I think every indie developers should have a look.I like this part: "People will spend hours researching a $2 purchase, browsing reviews, emailing the developer, checking online forums. Then they will go to a coffee shop they've never been before and buy a $4 coffee."Developing mobile application is definitely not an easy task, specially doing it full time. Everyone's different and for me, this is more like a hobby. Unless I can build up certain level of stable income from this, with so many bills to pay...

Monday, January 9, 2012

Good resource for understand Audio stuffs

I mentioned in this post about using 'ima4' compression to reduce CAF file size. But to be honest, I am still not very clear about how all these audio stuffs work.This might be an old one - I found this "Audio 101 for iPhone Developers: File and Data Formats" articles (3 parts) by Ray Wenderlich really helpful and clearly explained lots of stuff. Well, still don't 100% understand everything Ray said yet, but would definitely save this page for future referen...

Tuesday, January 3, 2012

Happy New Year!

Happy New Year everyone! Hope everyone progressed well in your iOS development journey.Unfortunately, I have been enjoying the holiday and a bit lazy recently so not much to share at the moment :-( ...Will certainly try to get back to normal soon, hopefully... Now, wonder where is my Cocos2d book .... ...

Page 1 of 66712345Next