Indexu / OurCraft

Totally not a MineCraft clone written in LibGDX and Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OurCraft

An OpenGL MineCraft clone written in Java and LibGDX.

Features

  • 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)

Getting Started

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.

Prerequisites

You will need Java 8 in order to compile the game.

Controls

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.

Development

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.

Built With

Authors

License

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.

Acknowledgments

  • 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

Audio

Fonts

Textures

About

Totally not a MineCraft clone written in LibGDX and Java

License:MIT License


Languages

Language:Java 97.6%Language:GLSL 2.4%