Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Using Xcode 3.2 with Flixel 2.+

Hareesun edited this page · 2 revisions

This template’ll set you on your path to working with the latest version (as of writing v2.23) of Flixel in Xcode 3.2.


DOWNLOAD THE FLIXEL TEMPLATE INSTALLER


DOWNLOAD SYNTAX HIGHLIGHTING INSTALLER

////////////////////////
FLEX SDK DOWNLOAD

If you’re just getting started out, you’ll want to download the latest version of the FLEX SDK, this is what compiles and blends your Flixel game together.

Download

////////////////////////

TWEAKING THE TEMPLATE

  1. Run Template.xcodeproj from the folder that’ll pop up when the install has finished.
  2. In Xcode, drag the “org” folder from your Flixel download into the project and select to “Copy items into destinations group’s folder” (if needed). Then select “Create Folder References for any added folder”. Hit “Add”.
  3. You’ll wanna change the path to your Flex SDK as well. You’ll find that under the mxmlc target too. Be sure not to move your SDK folder once you’ve selected it, otherwise building just wont finish.
  4. Hit save, close down the Template and head over to New Project > Other > Flixel

////////////////////////

INSTRUCTIONS

  • Basically, replace every PROJECT_NAME with your project’s name. Look inside the .as files. That includes the file PROJECT_NAME.as and the link to that file in the mxmlc target argument.

////////////////////////

Build’N’Run

If you want to be able to use Xcode’s Build’N’Run system, you’ll need to follow the instructions below removing quotation marks along the way.

  1. Right click on “Executables”, hover over “Add” and select “New Custom Executable”.
  2. In the following window, for “Executable Name”, rename “Executable” to “open” and set the “Executable Path” to “/usr/bin/open”
  3. In the next (Executable Info) window, set the “Path Type” to “Absolute Path”, and then select the “Arguments” pane.
  4. Click the + in the “Arguments” section.
  5. Drag the .swf file that you built using Xcode over the field and your link will be made.
    EG: ~/Desktop/PROJECT_NAME/PROJECT_NAME.swf
  6. Try hitting CMD + Return for quick’n’easy Build’N’Running.

////////////////////////

If you’re stuck, shout out on the forum for a hand.

~Hareesun

Something went wrong with that request. Please try again.