Skip to content

A game in C++ written with SFML, currently dead; planned to be remade ground-up later

License

Notifications You must be signed in to change notification settings

Ilya246/orbitfight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orbitfight

A game where you're a spaceship shooting other spaceships in a very large solar system simulated as a N-body gravity simulation, other mechanics might possibly be added later

Has a matrix server: https://matrix.to/#/#orbitfight:matrix.org

This game is more of a learning project (and is also my (Ilya246) first "real" C++ program) than a real game and is not really intended to be particularly interesting, another side effect of which is that the code may be rather cursed in places

Development currently halted, full recode planned an unknown amount of time into the future

On screenshot: missile fight between ships orbiting different planets

image

Controls

  • W - forwards
  • A - rotate left
  • S - backwards
  • D - rotate right
  • X - fire railgun
  • LCtrl - boost
  • Spacebar - fire
  • T - target body closest to cursor
  • Tab - set/change/unset reference body to predict trajectories against

Hosting

orbitfight.exe --headless

Config

Config documentation should generate upon starting the executable if a config file is not detected. If you want to regenerate it, orbitfight.exe --regenerate-help

Compiling

To compile orbitfight, you have to:

  • make sure src/*.cpp is accounted for
  • make sure include/*.hpp is accounted for
  • make sure SFML graphics, window, network and system modules are accounted for
  • make sure you're using at least C++20
  • if you plan on running the game in client mode, put the assets folder next to the game executable after compiling

Font

Using Hack font, not owned by us

About

A game in C++ written with SFML, currently dead; planned to be remade ground-up later

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages