O'Reilly logo

HTML5 Game Development by Example : Beginner's Guide - Second Edition by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—putting the HTML5 games into a Mac app

Follow the steps in Mac Xcode. We need a Mac and the Apple Xcode to create a Mac OS X app. Download Xcode from the Mac App Store if you haven't got it.

Note

Even if you don't have a Mac, you can still have a look at how we wrap the Web View with an application. The concept is more important than the steps in this section.

  1. Launch Xcode and create a new project. Select Cocoa Application under OS X:
    Time for action—putting the HTML5 games into a Mac app
  2. In the Options View, give the name of the game as Product Name. Organization Name can be your name or a company's name. Use a reversed domain as Organization Identifier. Choose Objective-C for this code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required