Simple Minecraft Clone in 580 lines of Python
11–20 of 113 posts
Re: Simple Minecraft Clone in 580 lines of Python
#12Got this error though. Any ideas?
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find: /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
Re: Simple Minecraft Clone in 580 lines of Python
#13How are the graphics being drawn? Is Pyglet being used to so this?
Re: Simple Minecraft Clone in 580 lines of Python
#14I'd image something like :
def setDefaultBlockColor(color): # recall that this is a function that takes in a variable called 'color' as its argument, write the code that will set the current game files configuration file to either 'red', 'blue' or 'green' (p.s. DONT FORGET TO INDENT YOUR CODE!)
Just writing this function and seeing it work once you load up the game is enough to hook almost anyone that has the potential to enjoy programming but just doesn't know it yet.
Re: Simple Minecraft Clone in 580 lines of Python
#15More than 100 lines of this are textures! Got this error though. Any ideas? OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find: /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
Re: Simple Minecraft Clone in 580 lines of Python
#16More than 100 lines of this are textures! Got this error though. Any ideas? OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find: /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
It was built with an old version of pyglet trying to run on 64bit python. Update.
Re: Simple Minecraft Clone in 580 lines of Python
#17Re: Simple Minecraft Clone in 580 lines of Python
#18How do people do this? How do their minds work?
Re: Simple Minecraft Clone in 580 lines of Python
#19If someone were to make something like this a step-by-step tutorial/template appropriate for a classroom setting it would be huge. Imagine a class at High School where you start off learning the basics of Python for the first few weeks and the rest of the semester is spent writing the chunks of code into a template that has lots of notes for guidance. I'd image something like : def setDefaultBlockColor(color): # reca…
Re: Simple Minecraft Clone in 580 lines of Python
#20More than 100 lines of this are textures! Got this error though. Any ideas? OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find: /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
"arch -i386 python main.py" solve the problem for me.