Skip to content

About

Combat top-down 2D airplane game with fuel management, multiple weapons, multi-level, and adjustable difficulty. Made with Godot 4.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,044 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Start Godot GDScript Itch.io CodeRabbit Pull Request Reviews CI/CD Latest Release Last Commit codecov Repo Size Closed Issues Open Issues All Contributors

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.

Sky Lock Assault

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.


Table of Contents


Project Overview

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

Local development tools

  • Docker Desktop (local web testing)
  • GitHub Desktop (repo management)
  • PyCharm / any editor (file editing)
  • Windows PowerShell (Docker commands)

Play Instructions

Online (itch.io)

  1. Visit ikostan.itch.io/sky-lock-assault
  2. Click Run game

In Godot Editor

  1. Open the project
  2. Press F5 to run the main scene (splash_screen.tscn, which leads to the main menu)

Local Web Testing

  1. Export the project to HTML5 (see Setup Instructions)
  2. From infra/ in PowerShell: docker compose up -d
  3. Open http://localhost:9090
  4. Click Run game in the iframe

The game is browser-first and landscape-oriented. Mobile browsers are not supported yet.


Game Assets

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

Documentation

# Document
1 Setup Instructions
2 Development Guide
3 Guide to Implementing Versioning
4 Local CI Pipeline for Godot (Docker)
5 Local CI/CD Container Health Validation
6 Docker Local Test Server
7 Signing Setup for GitHub Desktop
8 Free Web Browser Game Deployment Platforms
9 Inspect files saved by a Godot web export
10 CI/CD Production Salt Injection & Security Guard Architecture
11 Browser DevTools Guide — Verifying Web Save Encryption
12 AI Models Summary Matrix
13 Performance Benchmark Guide
14 Automatic Benchmark Baselines
15 Milestone notes

External reference: Godot Documentation.

Bots & automation tools used in the repo


Architecture Highlights

  • Separation of gameplay logic and UI state
  • Resource-based state model (FuelResource, SpeedResource, PlayerStatsResource, WeaponResource, BulletResource, GameSettingsResource)
  • Observer-based Settings System: centralized GameSettingsResource that handles automatic persistence and UI synchronization through signals. Only keys in Globals.persisted_schema are saved; runtime state such as current_fuel is never written to disk
  • Autoload order is a contract: Globals must stay the first autoload in project.godot, because Settings and AudioManager read the config file through Globals.safe_load_config() in their _ready(). Current order: Globals → Settings → SfxManager → AudioManager → AudioWebBridge → UiManager
  • Audio split into AudioManager (buses, volume, mute) and SfxManager (sound-effect playback)
  • Platform wrappers (OSWrapper, JavaScriptBridgeWrapper) so web-only code can be tested on desktop
  • Speed-based gameplay scaling

Project Structure

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

Known Issues

  • Harmless console warning on desktop fullscreen (NotSupportedError for 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.


DevOps & Automation

All pipelines run on GitHub Actions:

  • Lint: gdlint / gdformat for 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 main and 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/)

Testing

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)

Covered areas

  • 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)

How to run tests

  • GUT: Godot → GUT panel → Run All
  • gdUnit4: Godot → gdUnit4 inspector → run test/gdunit4
  • All suites, including Playwright: run in CI on pull requests to main when the PR changes files they cover
  • Benchmark: python test/benchmark/run_desktop.py --godot <Godot console exe> (desktop) or python 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.


Contributors

Thanks to everyone who has contributed!

Egor Kostan
Egor Kostan

💻 ⚠️ 📖 🚇 🤔 🎨
espanakosta-jpg
espanakosta-jpg

🔊 🎨
Claude
Claude

💻 ⚠️ 📖
Copilot
Copilot

💻 ⚠️
CodeRabbit
CodeRabbit

👀 ⚠️ 📖
Sourcery AI
Sourcery AI

👀 💻 📖
Qodo
Qodo

👀
DeepSource
DeepSource

👀 🛡️
DeepSource Autofix
DeepSource Autofix

🚧
Dependabot
Dependabot

🚇 🛡️ 🚧
ImgBot
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.


License

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.


Security

For details on reporting vulnerabilities and our disclosure process, see SECURITY.md.


Player Feedback

We value your input! Share thoughts, bugs, or suggestions via:

About

Combat top-down 2D airplane game with fuel management, multiple weapons, multi-level, and adjustable difficulty. Made with Godot 4.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages