Last change
on this file since c8cc13f was e79c833, checked in by Dmitry Portnoy <dmp1488@…>, 8 years ago |
Add basic OpenGL (along with the ability to still use 2d pygame functions) and convert game.py to UNIX-style line endings
|
-
Property mode
set to
100644
|
File size:
340 bytes
|
Rev | Line | |
---|
[b632a7c] | 1 | On linux, you need to install tkinter:
|
---|
| 2 | sudo apt-get install python3-tk
|
---|
[e79c833] | 3 | sudo apt-get install python3-opengl
|
---|
[b632a7c] | 4 |
|
---|
[1d1c77e] | 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
|
---|
[e79c833] | 14 |
|
---|
| 15 | Run the game with:
|
---|
| 16 | python3 game.py
|
---|
Note:
See
TracBrowser
for help on using the repository browser.