Closed tw6987 closed 7 years ago
Any chance you guys can come to Rangos?
Also, have you guys tried running from the command line instead of in IDLE? IDLE might not be the best for running a GUI
It doesn't look like pymunk actually does any drawing for you. If you look at the examples in it's github repo it uses pygame to draw on screen. (https://github.com/viblo/pymunk/blob/master/examples/bouncing_balls.py)
When you say that the example from online doesn't run, what error does it put out?
I'm guessing there is an import error with PyGame, can you import PyGame by itself?
The example code and output from the website is shown in the screenshot. We tried to run pymunk example programs but couldn't find them. We also installed pygame, which works separately, but not with pymunk.
Hmm okay. This would be much easier in person, if you could come to the UC it would be easier to help, Schlag is awfully far away!
Okay, the file from @dsyang's link runs perfectly fine. I think we're good now. Thanks guys :)
Oh, great! I'm glad it is working for you guys
Hacker name(s): Varun Gudibanda, Thomas Wong Physical location: Hamerschlag House, 1st floor "Schtudy" Operating system(s): OSX El Capitan, Crouton (Linux on Chromebook) Programming Langugage: Python (pymunk, pygame)
Description
We are having issues installing and running pymunk. Example code from the pymunk website isn't running. The while loop runs properly, but no window appears with the simulation.
Screenshots