Code Monkey home page Code Monkey logo

craftmania's Introduction

CraftMania

CraftMania

CraftMania is my open-source game. It is supposed to look like Minecraft by Mojang. I am trying to make the game as close as possible to Minecraft. Before I made my source public, I asked on StackExchange if it is actually legal to do so. The answer was yes, as long as I don't use the name Minecraft and do not use any assets created by Mojang. So right now, all the source code is available at my GitHub repository! You can also visit the blog!

I started the game in Java from scratch using some code snippets by Benjamin Glatzel for the advanced mathematical techniques he used in his game called Terasology. I'm using OpenGL through LWJGL.

Setup

You will need Oracle's Java Virtual Machine (JVM). You should be sure that your Graphics Card (GPU) driver is up to date. It is recommended to take a look at "conf/conf.txt" and set the values you think are the best for your machine.

Run the Game

You can simply double click the CraftMania.jar file when you installed Oracle's JVM.

Controls

  • [Z,Q,S,D] or [Q,W,A,S] Walking. Choose your Keyboard layout in "conf/conf.txt"
  • [Space] Jump.
  • [Left click] Place the block in your hand.
  • [Right click] Destroy the block on which you are aiming.
  • [F] Toggle God-mode.
  • [E] Open your inventory.
  • [O] Toggle overlay rendering.
  • [L] Place or remove a lightpoint (you should use torches, in fact :D)

Credits

  • Martijn Courteaux: The core of the game.
  • Banjamin Glatzel: Some code snippets.

Texture Pack

I'm using the awesome Good Morning Craft! texture pack by Louis Durrant (Carrot Cake Studios). Of course, this is a texture pack developed for Minecraft by Mojang. So, you might try his texture pack for Minecraft. Make sure you take a look at it!

craftmania's People

Contributors

mcourteaux avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.