BGP Starfield
Chapter 16 of Beginning Game Programming teaches developers how to use and modify the FlxStarField2D class.
This example creates a UFO that the player can fly around with either the D-Pad or Left thumbstick on a controller. As the player moves, the starfield behind the UFO will change direction to match the direction the player moves. The player can also press the A button (or equivalent) to instantly warp to a random spot on the screen.
Please note, this game has only been found to work with controllers in the Chrome Browser. Firefox currently does not work. You can use the keyboard in Firefox. WASD to move, SPACE to warp.
| Status | Released |
| Category | Other |
| Platforms | HTML5 |
| Author | E. Zachary Knight |
| Made with | OpenFL |
| Tags | demo, haxeflixel, html |
Leave a comment
Log in with itch.io to leave a comment.