Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

KennyC3200/MyCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyCraft

A Minecraft clone made for fun in Java using OpenGL.

Controls

  • WASD to move
  • Space to fly up
  • L-Shift to fly down
  • t to see the wireframe
  • Escape to toggle/untoggle the cursor

Libraries Used

TODO

  • Optimize loading new chunks
    • Optimize the loop for the blocks or whatever
    • For loading new chunks, you know that the rest of the blocks above the noiseYThreshold will be air so no need for perlin
  • Implement a tick system to load the chunks progressively
    • 20 ticks/sec, or 1 tick/0.05 sec
    • Load the chunks at the tick rate
  • AABB
    • What happens if the player is between chunks? I believe it shouldn't matter
  • Block highlight
  • Instanced rendering
    • Have only 1-2 draw calls instead of multiple thousand
    • source

BUG

  • There are some magical areas where the chunks are not being meshed nor are they being properly chosen for the raycast

About

Minecraft clone in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published