Minecraft clone in Python with Pyglet
slideshare.net
Minecraft clone in Python with Pyglet
1–10 of 43 posts
Re: Minecraft clone in Python with Pyglet
#2Isn't "import minecraft" enough?
Re: Minecraft clone in Python with Pyglet
#3Thanks. My son has been asking me how to write games, and has spent some time looking around in the code for the Raspberry Pi version of Minecraft. Maybe we can make some headway in this version because even dumb old Dad can handle 500 lines.
Re: Minecraft clone in Python with Pyglet
#4Why is it called "Minecraft in 500 lines of Python" when the slides mention 8000 lines?
Re: Minecraft clone in Python with Pyglet
#5Why is it called "Minecraft in 500 lines of Python" when the slides mention 8000 lines?
I think the 8000 lines is after the release on github, which added lots of new functionalities.
Re: Minecraft clone in Python with Pyglet
#6Why is it called "Minecraft in 500 lines of Python" when the slides mention 8000 lines?
The original project[1] was a very simple 500 line implementation of Minecraft. There is a fork[2] of that project with 8000 lines of code and many more features.
Re: Minecraft clone in Python with Pyglet
#7[deleted]
Re: Minecraft clone in Python with Pyglet
#8[deleted]
Re: Minecraft clone in Python with Pyglet
#9Thanks. My son has been asking me how to write games, and has spent some time looking around in the code for the Raspberry Pi version of Minecraft. Maybe we can make some headway in this version because even dumb old Dad can handle 500 lines.
I cannot recommend pyglet strongly enough for learning graphics and game programming, it is so quick to get started with.
I wonder if anyone has written some learn to code tutorials with it.
Re: Minecraft clone in Python with Pyglet
#10Isn't "import minecraft" enough?
Yes, this 500 lines statement is somewhat misleading. This program isn't written on Python, rather on a large specific library which does a lot of heavy lifting.
It's better than nothing, though, to be able to look at an app dissected even to a few large blocks.
Kudos.