A 3D online space game using UDP over IPv4.

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

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)