iTennis – iPhone Game Programming Tutorial

There’s many request in our community for iPhone game programming tutorials. Collin Ruffenach’s iCodeBlog is a great resource for learning to make games on the iPhone. He is currently on part 4 of his tutorials on creating a simple tennis game.

In this tutorial series, I will teach you about every aspect of developing an iPhone game. The game will include graphics, sounds, game mechanics, and even some simple computer AI.

Part 1 covers introduces the project along with Xcode. It provides comments on the game loop and other basic snippets. Next, Collin covers interaction, simple AI and game logic in Part 2. The ‘polish’ aspect of game development is introduced in Part 3 with the addition of a splash screen. What’s eye candy without sound? To answer that, Part 4 adds audio to the game.

Related Links:

Porting to the Mac with Transgaming Cider

The Coffee Desk, a blog aimed at providing stories on various tech subjects, has a post on Cider, a series of libraries which game developers can link to so that porting to the Mac is quicker. His provides his view on this product by Transgaming along with suggestions to developers to “…remake the game for the Mac, since you’re going to make a console version that relies on OpenGL anyway…” He cites Aspyr ports of AAA games, spotlighting their work on Guitar Hero.

For now Transgaming you get a 3/5 and a hand shake for putting more games on the Mac but not quite doing it the right way

Interested in porting to or from the Mac platform? Comment in Forum : Porting Games.

Related Links:

iPhone Developers Course in Utah

Izatt International has announced a new evening format iPhone Developers Course to be held June 23-27, 2009 at the Larry H. Miller (SLCC) Campus in Sandy, UT. Class will be 6-9:30pm Tue-Fri, June 23-26, plus 8:30-5:30pm Saturday, June 27th. This new evening format is designed to serve the working professional without requiring time off work. Izatt has been offering such courses since January 2009. These courses have included a 3-day iPhone SDK course, a 2-day 3D iPhone Gaming course, and a 1-day Beginning Objective-C course. Many former students now have apps of their own in the iTunes App Store, have started companies of their own, or have found new employment doing iPhone development.

Related Links:

Open Source Cube 2: Sauerbraten FPS Released

Sauerbraten

Cube 2: Sauerbraten is a free multiplayer/singleplayer first-person shooter, built as a major redesign of the Cube FPS. It’s been almost a year since the last release and there have been many changes:

  • new playermodel, IronSnout X10K
  • new weapon models
  • new sound track
  • new splash screen and logo
  • 28 new multiplayer maps!
  • 1 new singleplayer map
  • new “protect” and “insta protect” game modes
  • bots that work for both MP and offline play
  • ragdoll physics
  • texture blending and new flame/smoke particles for map editing
  • in-game movie recording and also PNG screenshots
  • new engines features like ZIP archive support, better grass, pre-compressed DXT1/3/5 textures for faster loading, fixed-function shadowmaps & dynamic lights, low cost blob shadows, particle culling, faster shader loading, revised post-process effect system, and more
  • support for custom server ports, server passwords, public key crypto, and server-init.cfg for easier server configs

The engine supporting the game is entirely original in code and design, and its code is Open Source (ZLIB license, read the docs for more on how you can use the engine).

Related Links:

Rosetta Stone Summer Game Jam

Rosetta Stone, the company known for their foreign language learning software, is sponsoring a game programming contest. The Contest begins on July 17, 2009, and ends on July 19, 2009. All applications to participate in the Contest must be received by Rosetta Stone no later than 5pm (Eastern Time) on July 1, 2009. This event will be held at Rosetta Stone’s location in Harrisonburg, VA from July 17th – 19th, 2009. You must apply by July 1st to be considered for the competition. The prizes are:

  • 1st Prize: Macbook Pro with 30 inch cinema display, three levels of Rosetta Stone Software and your game published on a Rosetta Stone webpage
  • 2nd Prize: $500 and three levels of Rosetta Stone Software.

Gamers must be or have a team with at least one programmer with game development programming experience using either Flash, XNA, OpenGL, PyGame, etc. You will be asked to provide an example of past creations of any form or level in order to qualify. Teams may include up to four members. All team members must be 18 years of age or over to participate, or be accompanied by a parent or legal guardian at all times during their participation.

Related Links:

UK’s Indie Developer Embraces the iPhone

Seems like StrangeFlavour LTD isn’t the only UK-based developer enjoying the iPhone games market. “Pocket Gamer UK”: http://www.pocketgamer.co.uk has posted an interview with Nalin Sharma, another independent developer based in the UK that has produced games for the Atari ST, GameCube, PlayStation 2 and Windows. He’s recently ported a tech demo for smartphones over to the iPhone and released it as the game Killer Edge Racing. When asked, “ How did you find the iPhone as a development platform?”, Nalin replies, “Awesome. It is light years ahead of any other mobile development platform. It really is a brilliant system from start to finish, although Xcode does take some getting used to if you are familiar with Visual C++ and with other mobile platforms. In the past, Java games were a nightmare to develop and test, but because this is a native platform you have all the hardware available to develop great games like Killer Edge Racing, and at an efficient cost. He also mentions his surprise at selling over 100 copies in the first six days, though he hopes to sell 10,000 to cover his costs.

Related Links:

Macs as a Superior Development Platform?

Nick Santilli of “the Apple Blog”: http://theappleblog.com/ blogs about his return to the world of coding. His work place is PC-based though small enough that a switch to Apple’s platform would be feasible. To migrate to the Mac, he asks the questions:

  • What are your best arguments for using the Mac platform as our main development machines? What makes them a better, more flexible — even more cost-efficient — solution to our large, beefy, Dell machines that we’re currently using (in between blue screens)?
  • What you’ve found to be your streamlined software configuration for such tasks?

Specifically, his article hopes to uncover the selection of an IDE, though he is leaning towards NetBeans, as well as database and server tools. If you’re a software engineer or an Apple VAR, take a second and add provide him with your comments.

Related Links:

Is the iPhone the Next “It” Gaming Platform

Arik Hesseldahl at BusinessWeek wrote an article on whether or not the iPhone is going to be the most important gaming platform. He covers some of the effects of the new 3.0 features and where some companies are headed with iPhone gaming.

After years of neglecting the Mac as a platform for games, Apple’s phone, not its computers, offers the most gaming promise. The iPhone’s tech-savvy base of 21 million users is an ideal audience for a new breed of compelling games that should make the device even more compelling. Between the iPhone and the iPod Touch, which can also run the same games, Apple could soon have the best-selling handheld platform on the market.

In related news, iDevGames is interested in postmortems written by iPhone game developers. If you’d like to reach out to your peers and gain further marketing reach, be sure top contact our Editor-in-Chief.

Related Links:

Simoebic Dysentery Postmortem

Dysentery Over a Cup of Coffee

Overall, I am quite happy with the quality of the game I produced for the uDevGames 2008 Contest, despite the emergence of some unfixed bugs and a game not as feature — complete as I would have preferred. I entered the contest rather late compared to almost everyone else, and without pre-existing code or a clear idea of what kind of game I was going to make. My co-conspirator and I essentially threw together the idea and basic logic for Simoebic Dysentery over a cup of coffee at the beginning of January, finished asset development by the beginning of February, and I had a working beta built by the end of the contest by the beginning of March. Built essentially in my free time, I feel that the game would have been coded better and had more features had I been able to devote more time to its development.
Read the rest of this entry »

GnomeSpy Postmortem

Taking Advice From a Veteran Programmer

When I read that uDevGames was happening again this year, I got excited. I had just read an interview with a successful casual games developer about how he achieved his success. It gave me some ideas, and one of them blossomed into GnomeSpy.

Following the advice in Justin Ficarrotta’s article on A uDevGames 2008 Survival Guide , I wrote up a prototype using Cocoa through Xcode. I play-tested GnomeSpy internally until the gameplay reached a certain level of fun, then released the prototype to iDevGames’ forum members. Along with play-testing by friends and family, this provided an invaluable resource for determining reasonable completion times for the basic six-color game.
Read the rest of this entry »

iDevGames Forum

iDevApps Forum