Isn't "import minecraft" enough?
Minecraft clone in Python with Pyglet
11–20 of 43 posts
Re: Minecraft clone in Python with Pyglet
#12 start minecraft.exeRe: Minecraft clone in Python with Pyglet
#13Isn'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.
I agree that it can be distorted, by defining everything as an external library, but it does give a good measure of how quickly one can pick up a new tool and make something useful.
Re: Minecraft clone in Python with Pyglet
#14Thanks. 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
#15Thanks. 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 made a few bootstrap scripts here [2] to make it easier to get up and running.
1. https://github.com/hoorayimhelping/Flabby-Bird 2. https://github.com/hoorayimhelping/HTML5-GameKit
Re: Minecraft clone in Python with Pyglet
#16Re: Minecraft clone in Python with Pyglet
#17What bothers me here is that people claim to program "Minecraft in X lines", when in fact all they create is a block (voxel) game engine. Minecraft is much more than that, it has redstone circuits, farming, mobs, structures, biomes, potion brewing, netherworld, fire, etc... Mind you, I don't want to belittle anyone's efforts. I think this is an awesome programming project. But its description is misleading.
Re: Minecraft clone in Python with Pyglet
#18[deleted]
Re: Minecraft clone in Python with Pyglet
#19What bothers me here is that people claim to program "Minecraft in X lines", when in fact all they create is a block (voxel) game engine. Minecraft is much more than that, it has redstone circuits, farming, mobs, structures, biomes, potion brewing, netherworld, fire, etc... Mind you, I don't want to belittle anyone's efforts. I think this is an awesome programming project. But its description is misleading.
Re: Minecraft clone in Python with Pyglet
#20What bothers me here is that people claim to program "Minecraft in X lines", when in fact all they create is a block (voxel) game engine. Minecraft is much more than that, it has redstone circuits, farming, mobs, structures, biomes, potion brewing, netherworld, fire, etc... Mind you, I don't want to belittle anyone's efforts. I think this is an awesome programming project. But its description is misleading.
Line count is always misleading.