punyverse/README.md

38 lines
1.4 KiB
Markdown
Raw Normal View History

2013-10-22 17:53:53 -04:00
punyverse
=========
Python simulator of a puny universe. (How many words can i stick into one?)
2013-10-30 19:29:33 -04:00
Installation
------------
To install, simply clone this repository, or download a copy [here]
(https://github.com/xiaomao5/punyverse/archive/master.zip).
2013-11-06 17:46:35 -05:00
After that, download the [launcher](https://github.com/xiaomao5/punyverse/releases/download/launcher0.3/launcher.exe),
2013-10-30 19:29:33 -04:00
put it into the repository directory and let it unpack in your repository (or copy).
You may start playing any time by running `punyverse.exe`, or `punyverse_debug.exe` if you desire a console.
### A Note on Textures
If your graphics card doesn't support the massive texture sizes this module comes with, you can shrink them.
2013-11-06 21:39:42 -05:00
You can run `small_images.exe` (or `small_images.py`, if you have python) to generate smaller versions of
shipped textures, which requires either `PIL` or `pgmagick` to process the images.
2013-10-30 19:29:33 -04:00
2013-11-06 21:39:42 -05:00
### Advanced Install
2013-10-30 19:29:33 -04:00
2013-11-06 21:39:42 -05:00
If you wish to use your own python installation, to run `punyverse`, you can clone the code.
Here are the things you need:
2013-10-30 19:29:33 -04:00
2013-11-06 21:39:42 -05:00
* Python 2.7, I have no Python 2.6 install to test this.
* a C compiler to compile `_model.c` and `_glgeom.c`
* requires OpenGL headers and libraries.
* not really necessary, but it runs way faster with these.
* install `pyglet`
2013-10-30 19:29:33 -04:00
2013-11-06 21:39:42 -05:00
After getting the dependencies done, you can now run the `punyverse` module using `python -mpunyverse`.
2013-10-30 19:29:33 -04:00
See above if you run into texture issues.