|
Last change
on this file since 010086b was c56629f, checked in by Dmitry Portnoy <dmp1488@…>, 9 years ago |
|
Add Windows instructions to the README
|
-
Property mode
set to
100644
|
|
File size:
574 bytes
|
| Line | |
|---|
| 1 | On linux, you need to install tkinter:
|
|---|
| 2 | sudo apt-get install python3-tk
|
|---|
| 3 | sudo apt-get install python3-opengl
|
|---|
| 4 |
|
|---|
| 5 | On mac, install pygame like this:
|
|---|
| 6 |
|
|---|
| 7 | brew install python3
|
|---|
| 8 |
|
|---|
| 9 | # Not sure if this is actually needed
|
|---|
| 10 | brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi
|
|---|
| 11 |
|
|---|
| 12 | pip3 install pygame
|
|---|
| 13 | pip3 install pyobjc
|
|---|
| 14 | pip3 install PyOpenGL PyOpenGL_accelerate
|
|---|
| 15 | # PyOpenGL_accelerate is needed on OSX, not sure if it's needed on
|
|---|
| 16 | # other platforms
|
|---|
| 17 |
|
|---|
| 18 | On Windows, install python3 (which should install pip) and then:
|
|---|
| 19 |
|
|---|
| 20 | pip install pygame
|
|---|
| 21 | pip install pyopengl
|
|---|
| 22 |
|
|---|
| 23 | Run the game with:
|
|---|
| 24 | python3 game.py
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.