Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florianvazelle/lost-in-space
A galactic exploration game made in C with OpenGL
https://github.com/florianvazelle/lost-in-space
gl4dummies opengl shaders space-game
Last synced: 6 days ago
JSON representation
A galactic exploration game made in C with OpenGL
- Host: GitHub
- URL: https://github.com/florianvazelle/lost-in-space
- Owner: florianvazelle
- License: mit
- Created: 2019-03-16T14:18:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T18:40:28.000Z (over 5 years ago)
- Last Synced: 2024-10-31T21:43:02.274Z (about 2 months ago)
- Topics: gl4dummies, opengl, shaders, space-game
- Language: C
- Size: 18.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Lost In Space
![Codacy Badge](https://api.codacy.com/project/badge/Grade/35f56fe893724fb191f8de137196fda1)
![CodeFactor](https://www.codefactor.io/repository/github/florianvazelle/lost-in-space/badge)
![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)Lost in Space has been developed during a graphic development course to learn how to use OpenGL and shaders.
## Build Game
```shell
make
./lostinspace NODE_ID
```## Dependencies
- [GL4Dummies](https://www.github.com/noalien/gl4dummies)
- [nanomsg](https://www.github.com/nanomsg/nanomsg)## Features
- Pilot a spaceship in space (3d model import with assimp)
- Lighting :
- Point light (Sun)
- Phong
- Specular (Spaceship)
- Peer-to-peer network
- Landing on the planets
- Procedural texture generation
- Shoot and explosion of planets
- Detection of spaceship / planet collisions
- Several point of view (third person, cockpit of the spaceship)
- Menu with starfield effect (text to texture conversion with SDL_ttf)