A 3D online space game using UDP over IPv4.

I don't speak mandarin 7b1240b50e Update 'flatpak/astroimpact.appdata.xml' 1 week ago
assets 3237a67513 general 11 months ago
client 4aae93fcb8 general 6 months ago
deb 4022519e41 general 6 months ago
flatpak 7b1240b50e Update 'flatpak/astroimpact.appdata.xml' 1 week ago
inc 83e43a0b3d Update 'inc/esAux2.h' 6 months ago
launcher 3b7ba31c46 general 11 months ago
server 2e212ca732 general 6 months ago
website 09f07d9095 general 6 months ago
.gitignore 40dcd61297 general 11 months ago
LICENSE fd73a7e2c2 Add 'LICENSE' 1 year ago
README.md c6ea85a747 Update 'README.md' 5 months ago
compile.sh 0d9effab43 general 1 year ago
fat.cfg 674a3ce011 general 11 months ago
flan cbad03c6f9 general 6 months ago
flan-local cbad03c6f9 general 6 months ago
makefile 0548cb9bcf general 6 months ago
network_protocol c8ec613417 No more pods, remove need for min_time_to_impact 11 months ago
release.sh 990e514550 general 1 year ago
test.sh 48a3f5ddc1 general 11 months ago

README.md

AstroImpact

Save the martians from their home planet before annihilation!

Kinda.. More like save the planet from inevitable annihilation!

ok ok ok ... more like ... slow down planet annihilation :'(

FlatHub: https://flathub.org/apps/com.voxdsp.AstroImpact

Official Website: AstroImpact.net

Video: Vimeo.com

Work In Progress (WIP) Completed. We have left some code for "pods" dormant [assets here] and code in the [pre_declutter_main] branch, it was going to be a feature that little escape pods pop out of the planet and that you could pick them up and drop them at a safe zone to evacuate the planet, but we have little interest investing time in that direction now.

Screenshot of the AstroImpact game

How do you play it then?

Well you have to fly around in your UFO, preferably with friends, crashing into approaching asteroids to stop them from hitting the planet surface.

  • First Tier: The longer you can prevent the first hit on the planet.
  • Second Tier: The longer you can prevent the planet from being annihilated!
  • Third Tier: How many asteroids did you and your friends collectively destroy?

Just make sure you all start on the same epoch! The first person to create the epoch sets the number of approaching asteroids in each wave.

Make/Compile

Standalone Binary

sudo apt install libglfw3 libglfw3-dev
git clone https://notabug.org/AstroImpact/AstroImpact
cd AstroImpact
make
./bin/fat

Installer (.deb)

sudo apt install libglfw3 libglfw3-dev
git clone https://notabug.org/AstroImpact/AstroImpact
cd AstroImpact
make deb
sudo dpkg -i bin/fat.deb

Key/Mouse Mappings

  • Use W,A,S,D,Q,E,SPACE & LEFT SHIFT to move around.
  • L-CTRL / Right Click to Brake.
  • L-ALT / Mouse 3/4 Click to Instant Brake.
  • R = Toggle auto-tilt/roll around planet.
  • Q+E to stop rolling.
  • Escape / Left Click to free mouse focus.
  • F = FPS to console.

Config File

(fat.cfg) or (.config/fat.cfg) or (~/.config/fat.cfg)

NUM_ASTEROIDS 1337
MSAA 16
AUTOROLL 1
CENTER_WINDOW 1
CONTROLS 0
LOOKSENS 10
ROLLSENS 10

The CONTROLS setting in the config file allows you to swap between roll and yaw for mouse x:l=>r.

Links

Attributions

Any assets not attributed here have been created specifically for this project, any assets made for this project automatically share the same license as the project itself. Some textures have been generated using Stable Diffusion.

Planet

https://www.solarsystemscope.com/textures/

Asteroids

UFO

  • https://www.turbosquid.com/3d-models/sci-fi-ufo-2-3d-model/1062607# (This was provided from the Author James directly over email (jamesrender3d@gmail.com) and NOT purchased from Turbosquid under the Turbosquid license that does not allow use of assets in open-source projects, a custom license was agree'd over email with James where he agree'd we could use it in our open-source project and a payment was made to him based on this agreement this does not give anyone else the right to use this 3D asset (model or textures) without his permission or payment and this asset is not licensed under GPL)