Project Settings
The core project configuration is defined inproject.godot:
Application Settings
- config/name: The application display name shown to users
- run/main_scene: Entry point scene that loads when the game starts
- config/features: Targets Godot 4.3 with Mobile rendering profile
- config/icon: Default icon used across platforms
Display Configuration
Space Pong uses a portrait-oriented display optimized for mobile phones:Window Dimensions
- Width: 460 pixels
- Height: 720 pixels
- Aspect Ratio: Approximately 16:25 (portrait)
The
keep_height stretch mode ensures the full vertical space is always visible, allowing width to adjust based on device aspect ratio.Rendering Configuration
The project uses Godot’s mobile rendering backend for optimal performance:- mobile: Forward rendering optimized for mobile GPUs
- VRAM Compression: ETC2/ASTC texture compression for reduced memory usage
Android Export Preset
The Android export configuration is stored inexport_presets.cfg:
Basic Preset Settings
- runnable: Allows one-click deployment to devices from the editor
- export_filter: Includes all resources in the export (no selective filtering)
- export_path: Default output location for the APK
Package Configuration
Package identity and versioning settings:Package Name
The defaultcom.example.$genname should be replaced before publishing. A proper package name follows this pattern:
Version Management
- version/code: Integer version code (increment for each release)
- version/name: Human-readable version string (e.g., “1.0.0”)
Architecture Support
Space Pong targets modern 64-bit ARM devices:ARM64-v8a
EnabledTargets 64-bit ARM processors (most modern Android devices)
ARMv7a
DisabledLegacy 32-bit ARM support excluded to reduce APK size
Google Play requires 64-bit support for all new apps and updates. ARMv7a is only needed for very old devices (pre-2017).
Screen Configuration
Screen-related settings control how the app appears on Android devices:Immersive Mode
Immersive mode is enabled, which hides the status bar and navigation buttons for a fullscreen gaming experience.Users can swipe from the edge to temporarily reveal system UI. The game automatically returns to immersive mode after dismissal.
Screen Size Support
All screen sizes are supported (small to xlarge), allowing Space Pong to run on phones and tablets.Graphics Settings
- OpenGL Debug: Disabled for production builds (better performance)
- XR Mode: No VR/AR support (standard 2D game)
Gradle Build Configuration
- Faster export times during development
- Simpler configuration for small projects
- Direct APK output (not Android App Bundle)
For Google Play Store distribution, consider enabling Gradle builds to generate an Android App Bundle (AAB) format, which supports dynamic delivery and smaller download sizes.
Permissions
Space Pong requires no special Android permissions. All permission entries in the export preset are set tofalse.
The game works entirely offline with no network access, location services, or device sensors beyond basic touch input.
- Improves user trust and privacy
- Reduces installation friction
- Simplifies app store review process
Script Export Mode
- Protects source code from decompilation
- Slightly reduces APK size
- Improves loading performance
Text format exports (mode 1) are useful for debugging but expose your GDScript source code in the APK.
Encryption Settings
Customizing Configuration
To modify export settings:-
Via Godot Editor (Recommended):
- Open Project > Export
- Select the Android preset
- Modify settings in the right panel
- Changes save automatically to
export_presets.cfg
-
Via Text Editor (Advanced):
- Edit
export_presets.cfgdirectly - Use the correct INI format
- Reload project in Godot to apply changes
- Edit
Recommended Changes for Production
Before publishing Space Pong, update these settings:- Change
package/unique_nameto your domain (e.g.,com.yourstudio.spacepong) - Set
version/nameto a semantic version (e.g.,"1.0.0") - Set
version/codeto1(increment for each release) - Add custom launcher icons (192x192 and adaptive 432x432)
- Consider enabling
encrypt_pckfor asset protection - Enable
gradle_build/use_gradle_buildfor AAB format - Update
config/iconto a high-resolution app icon
Next Steps
Android Export
Follow the step-by-step guide to build and test your APK
Project Structure
Learn about the project’s file organization and scene structure