Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sternenseemann/grav2ty
2d space flight game with realistic physics
https://github.com/sternenseemann/grav2ty
2d game gloss haskell haskell-game physics simulation space
Last synced: 4 days ago
JSON representation
2d space flight game with realistic physics
- Host: GitHub
- URL: https://github.com/sternenseemann/grav2ty
- Owner: sternenseemann
- License: gpl-3.0
- Created: 2015-11-28T17:40:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T12:30:51.000Z (about 4 years ago)
- Last Synced: 2024-11-18T13:48:29.639Z (2 months ago)
- Topics: 2d, game, gloss, haskell, haskell-game, physics, simulation, space
- Language: Haskell
- Homepage:
- Size: 166 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# grav2ty :rocket:
![screenshot of grav2ty showing a spaceship, a planet, an asteroid orbiting and two projectiles](./doc/grav2ty-2019-05-24.png)
the most realistic asteroids-like game in existence.
## controls
* `up`/`down`: increase/decrease thruster power (ship acceleration)
* `left`/`right`: rotate ship (counter)-clockwise
* `c`: toggle centered view
* `+`/`-`: zoom in/out
* `space`: fire a projectile## roadmap
- [x] simulation of gravity
- [x] controllable spaceship
- [x] collision detection
- [ ] make measurements more realistic
- [x] allow for zooming the viewport
- [ ] Free viewport (mouse moved)
- [x] time scaling / fast forward
- [x] rework HUD, log additional info to console
- [ ] Add speed to HUD
- [x] projectiles
- [ ] Limit firerate
- [x] make projectiles self-destruct
- [ ] performance improvements
- [ ] don't calculate gravity to every little object
- [ ] don't do collision detection at a safe distance
- [ ] multi player support
- [ ] Prevent library user from creating a broken state (by hiding lenses etc. if possible)
- [ ] cosmetics (improved models, stars, …)
- [ ] switch rendering engine
- [ ] orbit visualization / prediction## history
* screenshot of [grav2ty at its first commit](./doc/grav2ty-first-commit.png)
* the previous attempt [grav1ty](https://github.com/sternenseemann/grav2ty/tree/grav1ty)