O'Reilly logo

Haxe Game Development Essentials by Jeremy McCurdy

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

Building for OS X

Targeting OS X is also very simple. It requires that you have Xcode installed, which we covered in Chapter 1, Getting Started. You do need to have a Mac computer running OS X in order to build the game for OS X.

To build your game, run this command:

lime test mac -release

This will build and run an OS X version of the game. The application is located in the bin folder under export/mac64/cpp and will be named StarWalrus.app. It's self-contained so that one file alone can be distributed.

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