A top-down combat airplane web game built with Godot 4.7 — fly a P-38, manage fuel and speed, and pick your difficulty.
Play it now on itch.io.
This is a learning-focused Godot project in early development. The game currently has one placeholder level and one weapon; enemies and combat progression are planned. Source is publicly available under the PolyForm Noncommercial License 1.0.0.
- Project Overview
- Play Instructions
- Game Assets
- Documentation
- Architecture Highlights
- Project Structure
- Known Issues
- DevOps & Automation
- Testing
- Contributors
- License
- Security
- Player Feedback
| Item | Details |
|---|---|
| Godot Version | 4.7.1 stable, GL Compatibility renderer |
| Primary OS | Windows 10/11 64-bit |
| Supported Browsers | Chrome 90+, Firefox 88+, Edge 90+ (WebGL 2.0 required) |
| Controls | Keyboard or gamepad, remappable in Options; no touch controls |
| Goal | Playable top-down shooter with HTML5/Web export, local testing, and itch.io deployment |
- Docker Desktop (local web testing)
- GitHub Desktop (repo management)
- PyCharm / any editor (file editing)
- Windows PowerShell (Docker commands)
- Visit ikostan.itch.io/sky-lock-assault
- Click Run game
- Open the project
- Press F5 to run the main scene (
splash_screen.tscn, which leads to the main menu)
- Export the project to HTML5 (see Setup Instructions)
- From
infra/in PowerShell:docker compose up -d - Open http://localhost:9090
- Click Run game in the iframe
The game is browser-first and landscape-oriented. Mobile browsers are not supported yet.
| Asset | Source |
|---|---|
| Empire State Font | dafont.com |
| Pixel Planes Assets Pack | clavs.itch.io |
| Laser Bullets Pack 2020 | wenrexa.itch.io |
| Free assets collection | Csaba Felvegi / chabull |
| Royalty-free stock | Pixabay |
| Music — Battle Epic | Hot_Dope |
| SFX — Retro laser 1 | Driken5482 |
External reference: Godot Documentation.
- Code review: CodeRabbit, Sourcery AI, Qodo, DeepSource
- AI coding assistants: Claude Code, GitHub Copilot
- Security: CodeQL, Snyk, Trivy, Dependabot
- Maintenance: DeepSource Autofix, IMGBOT, Close Stale Issues and PRs
- Release & credits: Release Drafter, All Contributors
- Separation of gameplay logic and UI state
- Resource-based state model (
FuelResource,SpeedResource,PlayerStatsResource,WeaponResource,BulletResource,GameSettingsResource) - Observer-based Settings System: centralized
GameSettingsResourcethat handles automatic persistence and UI synchronization through signals. Only keys inGlobals.persisted_schemaare saved; runtime state such ascurrent_fuelis never written to disk - Autoload order is a contract:
Globalsmust stay the first autoload inproject.godot, becauseSettingsandAudioManagerread the config file throughGlobals.safe_load_config()in their_ready(). Current order:Globals→Settings→SfxManager→AudioManager→AudioWebBridge→UiManager - Audio split into
AudioManager(buses, volume, mute) andSfxManager(sound-effect playback) - Platform wrappers (
OSWrapper,JavaScriptBridgeWrapper) so web-only code can be tested on desktop - Speed-based gameplay scaling
| Directory | Contents |
|---|---|
scripts/core/ |
Foundational systems: game_paths.gd, globals.gd, main_scene.gd, settings.gd |
scripts/resources/ |
Data containers & configuration: fuel, speed, player stats, weapon, bullet and settings resources; audio_constants.gd |
scripts/entities/ |
Game objects: player.gd, weapon.gd, bullet.gd |
scripts/managers/ |
audio_manager.gd, sfx_manager.gd, ui_manager.gd, parallax_manager.gd, resource_preloader.gd |
scripts/system/ |
Platform wrappers: JavaScriptBridgeWrapper.gd, OSWrapper.gd, audio_web_bridge.gd, web_telemetry_adapter.gd |
scripts/ui/ |
hud.gd; sub-dirs menus/ (main, options, pause, settings), screens/ (splash, loading), components/ |
scenes/ |
Godot scenes (.tscn) |
config_resources/ |
Default .tres data: settings, player stats, bullet |
files/ |
Game art, audio, fonts, themes, and project docs (files/docs/) |
test/gut/, test/gdunit4/ |
GDScript unit tests |
test/benchmark/ |
Performance benchmark: runner scene, desktop and web runners, CI baseline comparison |
tests/ |
Python/Playwright browser end-to-end tests; tests/ci/ tests the CI helper scripts |
infra/ |
Docker Compose + nginx for the local web test server |
.github/ |
CI/CD workflows and their helper scripts |
- Harmless console warning on desktop fullscreen (
NotSupportedErrorfor orientation lock — non-fatal, does not affect gameplay). - The level is a placeholder (work in progress):
- Movement, fuel, speed, firing and audio work
- Enemies, combat progression and more levels are upcoming
Report new issues on GitHub Issues.
All pipelines run on GitHub Actions:
- Lint:
gdlint/gdformatfor GDScript,yamllint,markdownlint - Test: GUT, gdUnit4, Playwright browser tests, and CI-script tests on pull requests to
main; each suite runs only when the PR changes files it covers (a README-only PR skips them) - Security: CodeQL, Snyk and Trivy on every push to
main - Deploy: HTML5 export and itch.io deployment on every push to
main - Releases: Release Drafter for automated changelogs
- Docs: a twice-weekly workflow that generates missing GDScript doc comments with Gemini and opens a PR
- Performance: desktop and web benchmarks run in parallel on every push to
mainand are compared with a committed baseline (report only, not blocking deploys); see the Performance Benchmark Guide - Coverage: Codecov
- Local: Docker-based web test server (
infra/)
| Suite | Location | What it covers |
|---|---|---|
| GUT | test/gut/ |
GDScript unit and integration tests (~100 suites) |
| gdUnit4 | test/gdunit4/ |
GDScript unit and integration tests: menus, settings, audio, player, weapons |
| Playwright | tests/ |
End-to-end tests against the web export: menus, audio, difficulty, fuel, firing, scene transitions |
| Benchmark | test/benchmark/ |
Performance: frame times, settings saves, object and orphan counts, reload leaks (desktop and web) |
- Input remapping logic
- Fuel system behavior
- Speed system thresholds & UI sync
- Player movement constraints and weapon firing
- Audio buses, volume sliders and mute behavior
- Settings observer (signal emission, value clamping, serialization)
- JavaScript bridge communication and web integration reliability
- Scene transitions (splash, loading, main menu, gameplay)
- GUT: Godot → GUT panel → Run All
- gdUnit4: Godot → gdUnit4 inspector → run
test/gdunit4 - All suites, including Playwright: run in CI on pull requests to
mainwhen the PR changes files they cover - Benchmark:
python test/benchmark/run_desktop.py --godot <Godot console exe>(desktop) orpython test/benchmark/run_web.py --godot <Godot console exe>(web); see the Performance Benchmark Guide - CI helper tests (
tests/ci): run in Docker on Windows; see Running the CI Helper Tests
Testing is required for gameplay logic changes.
Thanks to everyone who has contributed!
Egor Kostan 💻 |
espanakosta-jpg 🔊 🎨 |
Claude 💻 |
Copilot 💻 |
CodeRabbit 👀 |
Sourcery AI 👀 💻 📖 |
Qodo 👀 |
DeepSource 👀 🛡️ |
DeepSource Autofix 🚧 |
Dependabot 🚇 🛡️ 🚧 |
ImgBot 🚧 |
This project is currently closed to external code contributions. However, if you find a bug or have feedback, you are welcome to open a GitHub issue. See CONTRIBUTING.md for more details.
This project is source-available under the PolyForm Noncommercial License 1.0.0.
- Free for noncommercial purposes (personal study, hobby projects, eligible noncommercial organizations)
- Modification and redistribution allowed only for non-commercial purposes
- Commercial use is prohibited without a separate commercial license
For commercial licensing inquiries, open a GitHub issue or contact via X @EgorKostan.
See the LICENSE file for full terms.
For details on reporting vulnerabilities and our disclosure process, see SECURITY.md.
We value your input! Share thoughts, bugs, or suggestions via:
- GitHub Discussions — feature ideas and general discussion
- itch.io Comments — discuss gameplay directly on the game page
- GitHub Issues — bug reports and feature requests
