terrain options by commandline
No an issue, just a suggest.
added terrain option by command line params and global values. feel free to have a look, may benefit all, especially with world saving in place. (see my fork)
it all takes place in def initialize(self):
With pyglet on Python26 I am excited by this marvellous program. But do I need to create my own texture.png file in the pyglet image directory? Is this a ptglet issue? File "C:/Python/Python36/mycopy/Minecraft_master.py", line 139, in init self.group = TextureGroup(image.load(TEXTURE_PATH).get_texture()) File "C:\Python\Python36\lib\site-packages\pyglet\image_init_.py", line 180, in load file = open(filename, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'texture.png'
@nickums Hi, the texture.png is provided in this repository. Make sure you run Minecraft_master.py from the directory where you extracted it.
I don't know much about Windows, but you should probably download https://github.com/fogleman/Minecraft/blob/master/texture.png to C:/Python/Python36/mycopy/ then run something like in the console:
cd C:/Python/Python36/mycopy/
py Minecraft_master.py
PS: when using Github, please open a new issue for your problem, instead of adding an answer to a random existing one.
Thank you very much indeed for your splended response!!! Season';s greetings Nick
On Tue, 25 Dec 2018 at 13:35, Valentin Lorentz [email protected] wrote:
@nickums https://github.com/nickums Hi, the texture.png is provided in this repository. Make sure you run Minecraft_master.py from the directory where you extracted it.
I don't know much about Windows, but you should probably download https://github.com/fogleman/Minecraft/blob/master/texture.png to C:/Python/Python36/mycopy/ then run something like in the console:
cd C:/Python/Python36/mycopy/ py Minecraft_master.py
PS: when using Github, please open a new issue for your problem, instead of adding an answer to a random existing one.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fogleman/Minecraft/issues/21#issuecomment-449850996, or mute the thread https://github.com/notifications/unsubscribe-auth/APFWFT2eBgx2naUNUxkHRibpIXdvV8hcks5u8imngaJpZM4Ai1Ws .
-- Nick "Mac" McElwaine
Very many thanks. A very stupid oversight on my part. The program works excellently.
I'm glad to hear it :)