Overview
This guide will help you run Space Birds on your local machine within minutes. Space Birds is built with libGDX and supports both desktop and Android platforms.Make sure you’ve completed the Installation steps before proceeding.
Running on Desktop
The fastest way to play Space Birds is using the LWJGL3 desktop backend.Run the desktop version
The
lwjgl3:run task automatically sets the working directory to the assets folder and includes platform-specific JVM arguments (like -XstartOnFirstThread on macOS).Running from JAR
Alternatively, you can build and run from a JAR file:Running on Android
To test Space Birds on an Android device or emulator:Connect device or start emulator
Physical Device:
- Enable USB debugging on your Android device
- Connect via USB
- Verify connection:
adb devices
- Launch an Android emulator from Android Studio
- Ensure the emulator is running:
adb devices
Alternative: Build and Install APK Manually
First Gameplay Session
Once Space Birds is running, here’s what to expect:Development Workflow
For rapid development and testing:Hot Reload Workflow
Asset Changes
Asset files in theassets/ directory are automatically picked up:
- Images, sounds, and other resources can be modified while developing
- The desktop version runs from the assets directory by default
- No rebuild needed for asset-only changes (just restart the game)
Platform-Specific Notes
- Linux
- macOS
- Windows
- Android
Linux Desktop
The game runs on Linux x64, ARM32, and ARM64 architectures:Troubleshooting
Game Won’t Start
Desktop:Performance Issues
- Desktop: Ensure you have sufficient RAM (1GB+ recommended)
- Android: Test on a device with at least Android 5.0 (API 21)
- Close other applications to free up resources
Build Errors
macOS: “App is damaged and can’t be opened”
If running a built JAR, remove the quarantine attribute:Next Steps
Now that Space Birds is running:- Explore the game mechanics and controls
- Review the source code in
core/src/to understand the architecture - Check out the Architecture Guide to learn about the project structure
- Start customizing the game with your own assets and logic