Python simulator of a puny universe. (How many words can I stick into one?)
Find a file
2014-02-02 16:47:05 -05:00
punyverse Used context managers to control GL attributes and matrices. No more stray GL_BLEND, much faster! 2014-02-02 16:47:05 -05:00
.gitignore Permanently banned all C files from being included in the repository. 2013-11-25 16:46:28 -05:00
bootloader.py Removed annoying error message in py2exe launcher. 2014-01-05 20:12:47 -05:00
launcher.py Updated the launcher and its utilities. 2013-10-30 19:09:04 -04:00
LICENSE Initial commit 2013-10-22 14:53:53 -07:00
README.md Updated description. 2013-11-06 21:39:42 -05:00
small_images.py Image shrinker now reads a list of files to resize, instead of using a hard coded list. This now doesn't need the launcher to be rebuilt for every new texture. 2013-11-01 19:26:25 -04:00

punyverse

Python simulator of a puny universe. (How many words can i stick into one?)

Installation

To install, simply clone this repository, or download a copy [here] (https://github.com/xiaomao5/punyverse/archive/master.zip).

After that, download the launcher, 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.

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.

Advanced Install

If you wish to use your own python installation, to run punyverse, you can clone the code. Here are the things you need:

  • 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

After getting the dependencies done, you can now run the punyverse module using python -mpunyverse.

See above if you run into texture issues.