A 3D online space game using UDP over IPv4.

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

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)