Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splanes

Demo Screenshot

A WW2-style scroll shooter game built with Go and SDL2.

Gameplay

  • Control a fighter plane flying over the ocean
  • Survive waves of enemy planes, submarines, and bombers
  • Collect health pickups and avoid enemy bombs
  • Score points by destroying enemies
  • Press ESC at any time to pause and access the menu

Controls

Key Action
Arrow Keys / WASD / JKHL Move plane left/right, navigate menu
Q / E Rotate plane left/right
Space Fire bullets
X Drop bomb
Enter Confirm selection in menu
ESC Pause / Menu
F1 Increase music volume
F2 Decrease music volume

Alternative movement keys:

  • Up: ↑, W, K
  • Down: ↓, S, J
  • Left: ←, A, H
  • Right: →, D, L

Build & Run

make run      # Run the game
make build    # Build binary
make lint     # Run linter
make fmt      # Format code

Requirements

  • Go 1.26+
  • SDL2, SDL2_mixer, SDL2_ttf system libraries

Project History

Written by Daniil Stepanov in 2019. Originally a Java game (2015-2016), then ported to C. Ported to Go on April 22nd, 2026.

Project Structure

  • main.go - Game loop and SDL initialization
  • entity_*.go - Game entities (player, enemies, bullets, explosions)
  • menu_*.go - Menu screens (main, pause, game over, about)
  • gui_*.go - UI components (health bar, progress bar, fonts)
  • renderer.go, sound.go - Rendering and audio systems
  • assets/ - Sprites, fonts, sound effects, music

About

Simple top-down 2D scroll shooter game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages