Almost every game has them – modal alerts that typically pause your game and ask you if you want to cancel or pop up at the end of your game asking you if you want to play again.
Creating these alerts is something that you’ll end up doing eventually if you’re developing a game with Cocos2D and Rombos has created a nice base class to get you started.
Using this code you can set up your own alerts, and he’s included all the necessary graphics to get you going.
You can find the source code along with a guide on how to use it on Rombos blog here.
What I like about this class is that it can easily be tweaked and customized to fit your needs – a definite time saver.
©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.






