An OpenGL MineCraft clone written in Java and LibGDX.
- Large generated worlds
- Caves
- Fog
- Placing blocks
- Destroying blocks
- Noclip
- Sprinting
- Torch holding
- Skybox
- Day night cycle
- Music and SFX
- Main menu with a loading progress bar
- Settings file
- Change it to however you wish (whackyness may ensue)
In order to run OurCraft on your own machine, you will need to compile the source code.
You will have to set the main class to: src/desktop/src/com.ru.tgra.ourcraft.desktop.DesktopLauncher.
At this point you can compile the game, but not run it without crashing. You also have to set the working directory to the src/core/assets directory.
You will need Java 8 in order to compile the game.
Use WASD to move around, SHIFT to sprint.
The mouse (or arrow keys) to look around.
Left click destroys a targeted block while right click places a block.
To select a block to place, use the number/numpad keys or scroll wheel.
Press T to toggle the torch.
Press N to toggle noclip mode.
The controls are also displayed on the main menu of the game.
We used JetBrains IntelliJ Idea as our IDE of choice coding this game.
The game uses OpenGL and we use LibGDX in order to access OpenGL functionality.
- IntelliJ Idea - IDE
- LibGDX - OpenGL library
- Java - Language
This project is licensed under the MIT License - see the LICENSE file for details.
This license only applies to code written by us.
The license does NOT apply to any of our assets sourced below, they each have their own license.
- Special thanks to Kári Halldórsson for guiding us throughout this project and teaching us OpenGL.
- Kurt Spencer - Open Simplex Noise Java implementation
- Soy_yuma - Aspect ratio fix
- Gabriele Tosi - Relaxing piano music
- FreeSound - Sound effects
- MadPixel - Minecrafter