Giter Club home page Giter Club logo

meinkraft's People

Contributors

keyboard-slayer avatar roscale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meinkraft's Issues

Please add a LICENSE file

In order to experiment with this, and perhaps build on it, contributors need a LICENSE file. I hope you'll please consider adding a LICENSE file. Hopefully you'd consider a more permissive license such as MIT or Apache.

Hotbar

Implement the ability to scroll through the available blocks and place the selected one down. The main technical challenge is rendering of the mini blocks.

FPS limiter (low priority)

The game tries to render hundreds (thousands?) of frames per second causing my laptop's fan to spin loudly. Activating VSync is a partial solution because it introduces unnecessary and annoying input lag. The better solution would be to implement a custom FPS limiter. The only minor downside I could think of, is the loss of smoothness that we gain by using VSync because we can't guarantee (I think) perfect frame synchronisation even if the game is manually locked at the refresh rate of the monitor.

Code cleanup

After implementing fixed timestep physics

  • Split main into multiple files (or functions at least)
  • Remove "magic numbers". Maybe create a file containing all the game constants
  • Move some free functions into custom traits or implement them as members (get_block_aabb() is a good contender for example)
  • Implement the Iterator trait for Chunk instead of writing a triple-for loop each time we want to iterate over all the blocks of the chunk
  • Reduce complexity of functions by splitting the functionality into multiple smaller ones (main and physics modules need some work)
  • Add comments and references to all external resources used. Briefly explain the algorithms and methods used to accomplish various tasks (collision detection and resolution for example)

Crosshair

We want the crosshair to invert the color of the background behind it using a different blend function. That way it will always be visible under any circumstance.

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.