2018-12-20 00:00:01 +01:00
# OpenMiner
2015-07-17 17:08:53 +02:00
2019-04-13 15:45:44 +02:00
[![Build Status ](https://travis-ci.com/Unarelith/OpenMiner.svg?branch=master )](https://travis-ci.com/Unarelith/OpenMiner)
2019-01-04 20:26:06 +01: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 22:10:59 +01:00
[![Discord ](https://img.shields.io/discord/527527086756200458.svg?style=popout )](https://discord.gg/eN8k8wt)
2019-02-03 13:55:34 +01: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)
2015-07-17 17:08:53 +02:00
2019-02-03 13:55:34 +01:00
- [Wiki ](#wiki )
- [Project goal ](#project-goal )
- [Screenshots ](#screenshots )
- [Keys ](#keys )
- [How to compile ](#how-to-compile )
- [Discussion ](#discussion )
- [Project status ](#project-status )
2019-12-30 21:08:25 +09:00
- [Previous attempts ](#previous-attempts )
2019-02-03 13:55:34 +01:00
- [Credits ](#credits )
## Wiki
2019-04-13 15:45:44 +02:00
- [Lua API Overview ](https://github.com/Unarelith/OpenMiner/wiki/Lua-API-Overview )
2019-02-03 13:55:34 +01:00
## Project goal
The long-term goal of this project is to provide a viable alternative to Minecraft modding.
2015-07-17 17:08:53 +02:00
2019-01-31 19:55:17 +01:00
## Screenshots
2019-01-20 19:09:37 +01:00
2019-01-31 19:55:17 +01:00
![](screenshot1.png?raw=true)
![](screenshot2.png?raw=true)
![](screenshot3.png?raw=true)
2015-07-17 17:08:53 +02:00
## Keys
2018-06-12 23:28:06 +02:00
- Movement: < kbd > W</ kbd >< kbd > A</ kbd >< kbd > S</ kbd >< kbd > D</ kbd >
2018-06-21 00:55:38 +02:00
- Inventory: < kbd > E</ kbd >
2018-06-24 22:32:20 +02:00
- Jump: < kbd > Space</ kbd >
2019-01-20 15:08:27 +01:00
- Sprint: < kbd > Ctrl</ kbd >
2018-06-24 22:32:20 +02:00
- Jetpack: < kbd > X</ kbd >
2015-07-17 17:08:53 +02:00
- Exit: < kbd > Escape</ kbd >
## How to compile
- Dependencies:
2019-02-26 15:44:32 +01:00
- A compiler with C++14 support
2015-07-17 17:08:53 +02:00
- [CMake ](http://www.cmake.org/download/ )
2019-04-13 15:45:44 +02:00
- [GameKit ](http://github.com/Unarelith/GameKit ) (requires `SDL2` + `tinyxml2` , will switch to `SFML` starting from 2.6)
2019-01-09 18:47:28 +01:00
- [SFML ](https://www.sfml-dev.org/ ) (only used for network)
2019-01-05 17:15:03 +01:00
- [Lua ](http://www.lua.org )
2018-06-12 23:28:06 +02:00
- _Linux users: Check your distribution repositories for packages._
2019-01-20 14:33:13 +01:00
- Run `cmake . && make -j8`
- Run the server with `./server/openminer_server`
- Run the client with `./client/openminer`
2015-07-17 17:08:53 +02:00
2018-12-26 17:57:46 +01:00
## Discussion
- Discord: [join server ](https://discord.gg/eN8k8wt )
2019-01-09 01:33:00 +01:00
- IRC: irc.freenode.net `#openminer`
2018-12-26 17:57:46 +01:00
2019-02-02 12:52:10 +01: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
2019-12-30 10:34:20 +09:00
- [x] Sunlight downward propagation ~(possible but laggy)~
- [x] Ability to block light ~(possible but causes weird AO effects)~
2019-02-02 12:52:10 +01:00
### Network
- [x] World
- [x] Custom GUI
- [x] Inventories
2019-04-08 16:54:57 +02:00
- [x] Players
2019-02-02 12:52:10 +01: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 18:24:42 +02:00
- [x] Title screen
2019-04-08 19:39:34 +02:00
- [x] Server selection menu
2019-02-02 12:52:10 +01:00
2019-12-30 19:00:59 +09:00
## Previous attempts
2018-06-12 23:28:06 +02:00
2019-12-30 19:00:59 +09: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 23:28:06 +02:00
2019-01-09 00:01:31 +01:00
## Credits
- MadPixel (Minecrafter font) [CC BY-ND]
2019-01-20 19:09:37 +01:00
- xMrVizzy ([Faithful 32x ](https://www.curseforge.com/minecraft/texture-packs/faithful-32x ) texture pack, will completely replace Vanilla textures)
2019-01-09 00:01:31 +01:00