OpenMiner/README.md

119 lines
3.4 KiB
Markdown
Raw Normal View History

2018-12-19 15:00:01 -08:00
# OpenMiner
2019-04-13 06:45:44 -07:00
[![Build Status](https://travis-ci.com/Unarelith/OpenMiner.svg?branch=master)](https://travis-ci.com/Unarelith/OpenMiner)
2019-01-04 11:26:06 -08:00
[![Documentation](https://codedocs.xyz/Quent42340/OpenMiner.svg)](https://codedocs.xyz/Quent42340/OpenMiner/)
[![License](https://img.shields.io/badge/license-LGPLv2.1%2B-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
2019-01-08 13:10:59 -08:00
[![Discord](https://img.shields.io/discord/527527086756200458.svg?style=popout)](https://discord.gg/eN8k8wt)
2019-02-03 04:55:34 -08:00
[![Donate](https://img.shields.io/badge/donate-paypal-brightgreen.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66DH462V7TA6N&source=url)
2019-02-03 04:55:34 -08:00
- [Wiki](#wiki)
- [Project goal](#project-goal)
- [Screenshots](#screenshots)
- [Keys](#keys)
- [How to compile](#how-to-compile)
- [Discussion](#discussion)
- [Project status](#project-status)
- [Previous versions](#previous-versions)
- [Credits](#credits)
## Wiki
2019-04-13 06:45:44 -07:00
- [Lua API Overview](https://github.com/Unarelith/OpenMiner/wiki/Lua-API-Overview)
2019-02-03 04:55:34 -08:00
## Project goal
The long-term goal of this project is to provide a viable alternative to Minecraft modding.
2019-01-31 10:55:17 -08:00
## Screenshots
2019-01-20 10:09:37 -08:00
2019-01-31 10:55:17 -08:00
![](screenshot1.png?raw=true)
![](screenshot2.png?raw=true)
![](screenshot3.png?raw=true)
## Keys
2018-06-12 14:28:06 -07:00
- Movement: <kbd>W</kbd><kbd>A</kbd><kbd>S</kbd><kbd>D</kbd>
- Inventory: <kbd>E</kbd>
2018-06-24 13:32:20 -07:00
- Jump: <kbd>Space</kbd>
2019-01-20 06:08:27 -08:00
- Sprint: <kbd>Ctrl</kbd>
2018-06-24 13:32:20 -07:00
- Jetpack: <kbd>X</kbd>
- Exit: <kbd>Escape</kbd>
## How to compile
- Dependencies:
2019-02-26 06:44:32 -08:00
- A compiler with C++14 support
- [CMake](http://www.cmake.org/download/)
2019-04-13 06:45:44 -07:00
- [GameKit](http://github.com/Unarelith/GameKit) (requires `SDL2` + `tinyxml2`, will switch to `SFML` starting from 2.6)
2019-01-09 09:47:28 -08:00
- [SFML](https://www.sfml-dev.org/) (only used for network)
- [Lua](http://www.lua.org)
2018-06-12 14:28:06 -07:00
- _Linux users: Check your distribution repositories for packages._
2019-01-20 05:33:13 -08:00
- Run `cmake . && make -j8`
- Run the server with `./server/openminer_server`
- Run the client with `./client/openminer`
2018-12-26 08:57:46 -08:00
## Discussion
- Discord: [join server](https://discord.gg/eN8k8wt)
- IRC: irc.freenode.net `#openminer`
2018-12-26 08:57:46 -08:00
2019-02-02 03:52:10 -08:00
## Project status
This list is non exhaustive.
### Terrain generation
- [x] Basic terrain gen
- [x] Trees
- [x] Flowers
- [ ] Tall grass
- [ ] Biomes
- [ ] Mountains
- [ ] Cave tunnels
### Lighting
- [x] Basic lighting system
- [x] Cheap ambient occlusion
- [x] Smooth lighting
- [x] Sunlight downward propagation ~(possible but laggy)~
- [x] Ability to block light ~(possible but causes weird AO effects)~
2019-02-02 03:52:10 -08:00
### Network
- [x] World
- [x] Custom GUI
- [x] Inventories
- [x] Players
2019-02-02 03:52:10 -08:00
### Lua API
- [x] Register blocks/craft/items in the game
- [x] Create custom GUI and show them to player when rightclicking a block
### World
- [x] Block ticking (Furnace)
- [x] Mining speed/capability
- [ ] World loading/saving
- [ ] Block metadata (currently using a `u16` instead of the real thing)
- [ ] Fluid propagation
### Menus
- [x] Pause menu
- [x] Settings menu
2019-04-08 09:24:42 -07:00
- [x] Title screen
2019-04-08 10:39:34 -07:00
- [x] Server selection menu
2019-02-02 03:52:10 -08:00
2019-12-30 02:00:59 -08:00
## Previous attempts
2018-06-12 14:28:06 -07:00
2019-12-30 02:00:59 -08:00
- Here is the [commit](https://github.com/Unarelith/OpenMiner/tree/8eba845421efff6ce941f8550ff79e6364970fd5) matching the end of the first attempt made in 2013.
- And here is the [commit](https://github.com/Unarelith/OpenMiner/tree/58c23a7e66404dab94e51998a179dc370c89ea06) matching the end of the second attempt made in 2014.
2018-06-12 14:28:06 -07:00
2019-01-08 15:01:31 -08:00
## Credits
- MadPixel (Minecrafter font) [CC BY-ND]
2019-01-20 10:09:37 -08:00
- xMrVizzy ([Faithful 32x](https://www.curseforge.com/minecraft/texture-packs/faithful-32x) texture pack, will completely replace Vanilla textures)
2019-01-08 15:01:31 -08:00