1 Star 5 Fork 0

Wzq / PyMinecraft

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README_EN.md

996.icu

Gitee中文 | Github中文 | English

python&Minecraft,so name"PyMinecraft"


Flag Counter


This project only supports Windows (In fact,only a simple transplant is required,but I am lazy)


If you want to encourage me, give me a free Star,or you can submit a few Pull requests

You don't give Star, I don't give Star, the programmer will commit suicide tomorrow

Thanks for the OpenGL introductory tutorial OpenGL tutorial for python programmers


Why this project?

I originally wanted to learn PyOpenGL, but I thought that Minecraft is also rendered with OpenGL, so why can't I? As a result, Python-written Minecraft was born.

How to run :

1.Install the dependency library

The required libraries for this project:

  • PyOpenGL

64-bit computers cannot be installed directly using pip install PyOpenGL, because the default installation is 32-bit, otherwise an error will occur::OpenGL.error.NullFunctionError: Attempt to call an undefined function”

64-bit should download the .whl file to install, 32-bit can be installed directly using pip install pyopengl

For 64-bit computer, you can download the corresponding whl at https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl such as ""PyOpenGL‑3.1.5‑cp310‑cp310‑win_amd64.whl "" after installing using pip install .whl

  • freetype-py,numba,numpy,pillow

you can run "pip install freetype-py numba numpy pillow" directly from the command line to install

2.run the main program

run "main.py".


Key Description:

  • Press ~ to open debug mode (including coordinates and axes, etc.)

Github has updated the "Projects" where you can see my future and current plans. URL

Want to submit a PR?Check here:URL

Discussion is welcome:URL


Never forget Minecraft, it's only our world.

Repository Comments ( 3 )

Sign in to post a comment

About

《积极开发中》PyOpenGL实现的Minecraft Demo,立志实现Minecraft基本机制。我的第一个大项目,一边做一边学习! expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://gitee.com/chinese-wzq/PyMinecraft.git
git@gitee.com:chinese-wzq/PyMinecraft.git
chinese-wzq
PyMinecraft
PyMinecraft
master

Search