A while back, you guys said you wanted a tutorial on “How To Make a 2.5D” game.” You guys wanted it, you got it! If you don’t know what a 2.5D game is, it’s basically a 3D game that you squish so the gameplay is only along a 2D axis. Some good examples are Super […]
From time to time, I speak at various iOS conferences or give iOS related workshops like iOS 101 or Cocos2D via Minigames. The main reason I do this is so that I can meet you guys! I really enjoy meeting fellow iOS devs, especially those of you who I’ve known via the forums, Twitter, etc. […]
This is the second part of a tutorial series that shows you how to create your own multiplayer game server and connect to it from an iPhone game – using Game Center for matchmaking! In the first part of the series, we covered how to authenticate with Game Center, create a simple server with Python […]
A while back, I wrote a tutorial on How To Make A Simple Multiplayer Game with Game Center. That tutorial showed you how to use Game Center to create a peer-to-peer match. This means that packets of game data were sent directly between the connected devies, and there was no central game server. However, sometimes […]
A while back, I wrote a tutorial on How To Make a Space Shooter iPhone Game. I had a lot of fun working on that tutorial, so I spend some time extending the game to add some extra cool features like power ups, boss fights, enemies moving along paths, and more. I asked you guys […]
In the previous tutorial, we showed you how to mask a sprite with Cocos2D 1.0. This method worked OK, but it had some drawbacks – it bloated our texture memory and had a performance hit for the drawing. But with Cocos2D 2.0 and OpenGL ES 2.0, we can do this much more efficiently by writing […]
Sometimes in your games you might find it handy to display only a portion of a sprite. One way you can do this is by using a second image called a mask. You set the mask image to be white wherever you want the image to show up – and transparent everywhere else. Then you […]
Last week, I announced a giveaway to celebrate the release of Learning Cocos2D by Rod Strougo and I, and to thank you for reading this blog! To be eligible for the giveaway, all you had to do is post a comment on the thread, ideally on one or more of the following topics: Your favorite […]
Rod Strougo and I are pleased to announce that our book Learning Cocos2D is now in print! It’s an amazing feeling to see it finally in print! It’s always been a dream of mine to write a book, especially about game programming! We hope this it’s helpful to many of you and that it inspires […]
In this tutorial series, our aim is to take the mystery and difficulty out of OpenGL ES 2.0, by giving you hands-on experience using it from the ground up! In the first part of the series, we covered the basics of initializing OpenGL, creating some simple vertex and fragment shaders, and presenting a simple rotating […]
Have you ever written an app where you tried to do something, and there was a long pause while the UI was unresponsive? This is usually a sign that your app needs multithreading! In this tutorial, you’ll get hands on experience with the core multithreading API available on iOS: Grand Central Dispatch. You’ll take an […]
Learn how to make your own magazine app with custom text layout in this Core Text tutorial for iOS.
An augmented reality tutorial for iOS.
A while back, you may recall that I wrote a tutorial called How To Make A Space Shooter iPhone Game. I had a lot of fun with that tutorial, so as I was writing it I spent some time adding some extra polish and neat features to the game. After I wrote the tutorial, I […]
A networking tutorial for iOS in which you will learn how to create a socket based server.