A 3D online space game using UDP over IPv4.

Vandarin beb8351e38 general hace 11 meses
assets 392cbc0ab2 general hace 11 meses
client beb8351e38 general hace 11 meses
deb 3d14a02633 general hace 1 año
inc cebe587510 static inline part 2 hace 11 meses
launcher 53bd7533cf general hace 1 año
server f54d994555 Actually make use of that *asteroid, though no actual fixes yet hace 11 meses
snap 3d14a02633 general hace 1 año
.gitignore 7e06781b4c Add player direction sending, remove some unused stuff, fix a missing variable write hace 1 año
LICENSE fd73a7e2c2 Add 'LICENSE' hace 1 año
README.md a029642399 general hace 11 meses
compile.sh 0d9effab43 general hace 1 año
fat.cfg fffa5e464c general hace 11 meses
flan 53bd7533cf general hace 1 año
makefile 8d1e6ee637 e hace 11 meses
network_protocol c8ec613417 No more pods, remove need for min_time_to_impact hace 11 meses
release.sh 990e514550 general hace 1 año
test.sh 48a3f5ddc1 general hace 11 meses

README.md

AstroImpact

Save the martians from their home planet before annihilation!

Work In Progress (WIP) Completed. We have left some code for "pods" dormant, 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

Make/Compile

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

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) (~/.config/fat.cfg)

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

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)