GithubHelp home page GithubHelp logo

galexcode / minecraft-clone-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryban/minecraft-clone

0.0 2.0 0.0 60 KB

An in the works Minecraft clone. Started as a project to help me learn OpenGL and procedural generation.

minecraft-clone-1's Introduction

Minecraft-Clone

An in the works Minecraft clone. Started as a project to help me learn OpenGL and procedural generation.

Right now it only renders a world. It can technically generate terrain infinitely like Minecraft, but that is not implimented.

To build you need SFML 2.0-rc from http://www.sfml-dev.org/download.php. It's a 2D graphics library, but I use it to handle windows and load images. Works well enough for 3D.

I have the SFML lib and include folders in the top folder for the project (with the res/ folder). OpenGL is not, so you need to have it installed and make sure it links properly.

I am building on Linux, but it should comile fine on Windows and OSX. I use premake4 (http://industriousone.com/premake) to generate the make files, which should work with MinGW and OSX's make. premake4 does have options for xcode and Visual Studio projects, but I am not sure how well they work. You can try them if you want.

After you have compiled the code when you run the application it will take about 20 seconds for the world to generate and create the vertex buffers, then the world will render and you can fly around and look at the terrain. ESC with close the window.

minecraft-clone-1's People

Contributors

ryban avatar

Watchers

James Cloos 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.