Index
A
- access modifiers
- advanced features
- exploring / Exploring advanced features
- gamepads / Gamepads
- Physics / Physics
- Tilemaps / Tilemaps
- Android
- about / Android, Building for Android
- Apple developer account
- URL / Building for iOS
- Apple developer site
- URL / Setting up a certificate
- assets
- adding / Adding new assets, Adding new assets
- default state, changing / Changing the default state
- audio folder
- about / Adding new assets
- music_fanfare / Adding new assets
- music_ingame / Adding new assets
- sound_whoosh / Adding new assets
- sound_click / Adding new assets
- sound_damage / Adding new assets
- sound_explosion1 / Adding new assets
- sound_explosion2 / Adding new assets
- sound_shoot / Adding new assets
B
- background
- adding / Adding a background and basic UI
- basic UI
- adding / Adding a background and basic UI
C
- community resources
- about / Community resources
D
- data folder
- movementPatterns.json / Adding new assets
- strings.xml / Adding new assets
- data types
E
- end screen, creating
- about / Creating the end screen
- end screen class, creating / Creating the end screen class
- variables, adding / Adding variables
- background, adding / Adding the background and score text
- score text, adding / Adding the background and score text
- enemies
- updating / Updating enemies
- imports, adding / Adding imports
- variables, adding / Adding variables
- animation, adding / Adding animation
- spawn position, resetting / Resetting the spawn position
- onSpawn function, updating / Updating the onSpawn function
- death functionality, adding / Adding death functionality
- spawning / Spawning enemies
- enemies, creating
- about / Making enemies
- enemy class, creating / Creating the enemy class
- variables, adding / Adding variables
- display, setting up / Setting up the display
- spawn timer, creating / Creating the spawn timer
- enemy spawner
- building / Building the enemy spawner
- class, creating / Creating the enemy spawner class
- imports, adding / Adding imports
- variables, adding / Adding variables
- JSON data, parsing / Parsing JSON data
- pool, populating / Populating the pool
- explosion effects
- creating / Creating the explosion effects
- Explosion line / Creating the explosion effects
- Explosion bulb / Creating the explosion effects
- smoke particle effect / Creating the explosion effects
- class, creating / Creating the class
- imports, adding / Adding imports
- variables, creating / Creating variables
- Texture Packer data, setting up / Setting up Texture Packer data
- sprites, adding / Adding sprites
- particle emitter, creating / Creating a particle emitter
- everything, adding to group / Adding everything to the group
- explosion sequence, starting / Starting the explosion sequence
- explosion bulb, displaying / Showing the explosion bulb
- smoke, displaying / Showing smoke and completing the animation
- animation, completing / Showing smoke and completing the animation
- object pooling, preparing for / Preparing for object pooling
F
- Flash
- about / Flash, Building for Flash
- reference / Flash
- debugging / Flash
- FlashDevelop
- about / Building for Flash
G
- game
- running, on iOS / Running the game on iOS
- expanding / Expanding the game
- level-based gameplay / Level-based gameplay
- power-ups / Power-ups and collectibles
- collectibles / Power-ups and collectibles
- enemies / More enemies and bosses
- bosses / More enemies and bosses
- game, building for Android
- about / Building for Android
- game, building for Flash
- about / Building for Flash
- deploying, to Web / Deploying to the Web
- game, building for iOS
- about / Building for iOS
- Xcode setup / Xcode setup
- certificate, setting up / Setting up a certificate
- App ID, setting up / Setting up an App ID, Registering a device
- provisioning profile, creating / Creating a provisioning profile
- game, building for OS X
- about / Building for OS X
- game, building for Windows
- about / Building for Windows
- gameplay sounds
- adding / Adding gameplay sounds
- variables, creating / Creating variables
- functions, creating / Creating functions
- playback functions, calling / Calling playback functions
- game timer, implementing
- about / Implementing the game timer
- end screen, importing / Importing the end screen
- variables, adding / Adding variables
- level timer, creating / Creating the level timer
- timer callback function, creating / Creating the timer callback function
H
- Haxe
- about / What's Haxe?, Building for Flash, Haxe
- OpenFL / OpenFL
- Flixel / HaxeFlixel
- installation / Installation, Installing Haxe
- IDE, setting up / Setting up an IDE
- target platforms, setting up / Setting up target platforms
- Hello World project / Hello World
- HaxeFlixel
- about / HaxeFlixel, HaxeFlixel
- features / HaxeFlixel
- installing / Installing HaxeFlixel
- HaxeFlixel project
- setting up / Setting up a new HaxeFlixel project
- creating / Creating the new project
- anatomy / The anatomy of our project
- settings, changing / Changing settings
- assets, adding / Adding assets
- Haxe syntax
- about / The Haxe syntax
- data types / Data types and structures
- structures / Data types and structures
- operators / Operators
- access modifiers / Access modifiers
- variables / Variables
- functions / Functions
- for loops / The for loops
- classes / Classes
- health display
- updating / Setting health on the HUD
- hearts, changing / Changing hearts
- Hello World project
- about / Hello World
- creating / Creating a project
- running / Running the project
- assets, copying / Copying assets
- modifying / Making changes
I
- instances, of enemies
- creating / Instantiating enemies and adding interaction, Creating instances and adding mouse events
- new imports, adding / Adding new imports
- variables, adding / Adding variables
- mouse events, adding / Creating instances and adding mouse events
- iOS
- about / iOS, Building for iOS
- game, running on / Running the game on iOS
J
- JSON
- versus XML / JSON versus XML
- JSON configuration file
- adding, to projects / Project updates
- data folder, creating / Adding new assets
- about / Understanding the JSON configuration file
- simple example / A simple example
- JSON format / Looking at the JSON format
L
- level
- restarting / Restarting the level
- level end screen
- updating / Updating the level end screen
- imports, adding / Adding imports
- variables, adding / Adding variables
- housekeeping / Housekeeping
- group, adding / Adding the group and setting up the window
- window, setting up / Adding the group and setting up the window
- scores, adding / Adding scores
- play again button, adding / Adding the play again button
- best score sprite, displaying / Showing the best score sprite
- animation sequence, creating / Creating the animation sequence
M
- menu sounds
- adding / Adding menu sounds
- playback functions, creating / Creating playback functions
- playback functions, calling / Calling playback functions
- movement patterns, adding to enemies
- about / Adding movement patterns to enemies
- imports, adding / Adding imports
- variables, adding / Adding variables
- old functionality, removing / Removing old functionality
- startPattern function, creating / Creating the startPattern function
- onSpawn, updating / Updating onSpawn and resetSpawn
- resetSpawn, updating / Updating onSpawn and resetSpawn
- movementPoints array / Adding variables
- movementSpeed variable / Adding variables
- music
- adding / Adding music
- playback functions, creating / Creating playback functions
- playback functions, calling / Calling playback functions
- muzzle flashes
- creating / Making muzzle flashes
- flash / Making muzzle flashes
- rings / Making muzzle flashes
- class, creating / Creating the class
- imports, adding / Adding imports
- variables, creating / Creating variables
- sprites, adding / Adding sprites
- flash, playing / Playing the flash
- rings, displaying / Showing the rings
N
- new game HUD, adding
- about / Adding the new game HUD
- imports, adding / Adding imports
- variables, adding / Adding variables
- housekeeping / Housekeeping
- HUD, adding / Adding the HUD and enemy group
- new game HUD, creating
- about / Creating the new game HUD
- GameHUD class, creating / Creating the GameHUD class
- imports, adding / Adding imports
- variables, adding / Adding variables
- laying out / Laying things out
- score, changing / Changing the score
O
- object pooling
- defining / Object pooling
- OpenFL
- operators
- addition operator / Variables
- subtraction operator / Variables
- multiplication operator / Variables
- increment operator / Variables
- decrement operator / Variables
- assignment operator / Variables
- equivalence operator / Variables
- less than operator / Variables
- greater than operator / Variables
- less than or equal to operator / Variables
- greater than or equal to operator / Variables
- OS X
- about / Building for OS X
P
- player character
- creating / Making the player character
- class, creating / Creating the class
- imports, adding / Adding imports
- variables, creating / Creating variables
- animation, adding / Adding animation
- projectile pool, creating / Making the projectile pool
- muzzle flash, creating / Creating the muzzle flash
- shoot timer, starting / Starting the shoot timer
- projectiles, shooting / Shooting projectiles
- player input, handling / Handling player input
- movement functions, building / Building movement functions
- player death, handling / Handling player death
- PlayState
- defining / Adding everything to PlayState
- imports, adding / Adding imports
- variables, adding / Adding variables
- things, removing / Cleaning things up
- scrolling backdrop, adding / Adding the scrolling backdrop
- player, creating / Creating and adding the player
- player, adding / Creating and adding the player
- explosion object pool, creating / Creating an explosion object pool
- enemies, killing / Killing enemies
- score, updating / Updating the score
- collisions, detecting / Detecting collisions
- collisions, handling between projectiles and enemies / Handling collisions between projectiles and enemies
- collisions, handling between player and enemies / Handling collisions between the player and enemies
- updating / Updating PlayState
- old functionality, removing / Removing old functionality
- EnemySpawner, using / Using EnemySpawner
- projectiles
- creating / Creating projectiles
- class, creating / Creating the class
- imports, adding / Adding imports
- variables, creating / Creating variables
- sprite and setting velocity, displaying / Displaying the sprite and setting the velocity
- project settings
- updating / Updating the project settings
R
- resources, for continue learning
- about / Continuing on with learning resources
- Haxe / Haxe
- OpenFL / OpenFl
- HaxeFlixel / HaxeFlixel
- community resources / Community resources
S
- singleton pattern / Building the sound manager class
- sound constants
- creating / Creating sound constants
- class, creating / Creating the class
- sound ID constants, creating / Creating sound ID constants
- volume constants, creating / Creating volume constants
- sound effects
- adding / Project updates
- audio folder, adding / Adding new assets
- project settings, updating / Updating the project settings
- sound manager class
- building / Building the sound manager class
- class, creating / Creating the class
- imports, adding / Adding imports
- singleton pattern, implementing / Implementing the singleton pattern
- splash screen
- building / Building the splash screen
- imports, adding / Adding imports
- variables, creating / Creating variables
- sprites, adding / Adding sprites
- instructions, adding / Adding instructions
- animation sequence, starting / Starting the animation sequence
- next stage of sequence, creating / Creating the next stage of the sequence
- sequence, finishing / Finishing the sequence
- navigating back to game / Navigating back to the game
- string data, pulling from XML
- about / Pulling string data from XML
- Strings class, building / Building the Strings class
- XML data, handling / Handling XML data
- StringIDs class, building / Building the StringIDs class
- strings, replacing
- about / Replacing strings
- MenuState, updating / Updating MenuState
- GameHUD, updating / Updating GameHUD
- LevelEndScreen, updating / Updating LevelEndScreen
T
- target platforms
- setting up / Setting up target platforms
- Flash / Flash
- Android / Android
- iOS / iOS
- desktop / Desktop
- Texture Packer
- about / Adding new assets
- URL / Adding new assets
U
- Unique Device Identifier (UDID) / Registering a device
V
- variables, enemy spawner
- patternData / Adding variables
- numEnemies / Adding variables
- spawnTimer / Adding variables
- currentPattern / Adding variables
W
- Windows
- about / Building for Windows
X
- XML file
- about / Understanding the XML file
- contents / Looking at the file's contents
- string data, pulling from / Pulling string data from XML