source

Infinite 8-Bit platformer is Free and Open Source Software, licensed under the GPLv3.

To check out the code, you will need to use the Bazaar VCS.

Use the following commands to check out the source code:


		bzr co http://infiniteplatformer.com/dev/Infinite8BitPlatformer/
		
		# networking library
		bzr co http://infiniteplatformer.com/dev/PodSixNet/
		cd PodSixNet
		python setup.py develop # you will need to be root/admin to do this step
		cd ..
		
		# PodSix utilities library
		cd Infinite8BitPlatformer
		bzr co http://infiniteplatformer.com/dev/PodSix/
	

Dependencies

Python, pygame, setuptools, simplejson (if you are on Python 2.6 or later you don't need this), imagemagick (optional - if you want to regenerate the icons), psyco (optional - improves speed). On windows you will also need the pywin32 library.

Under Debian GNU/Linux, or Ubuntu, you can issue the following command to install the dependencies:


		apt-get install python-pygame python-setuptools python-simplejson python-psyco imagemagick 
	

Under Mac OSX you can either use macports to install these, or download binaries from their respective pages.

Under Windows you can download binaries from their respective pages.

Running it

Run the game:


		python Infinite8BitPlatformer.py
	

You can run in debugging mode like this:


		python Infinite8BitPlatformer.py debug
	

You can run in profile mode like this:


		python Infinite8BitPlatformer.py profile
	

You can run your own local version of the server like this:


		python Infinite8BitPlatformerServer.py
	

You can connect to your locally running version of the server like this:


		python Infinite8BitPlatformer.py localhost
	

Building it

The build.py script can be used to build a binary distributable version of the game on Mac and Windows.

Web code

Finally, if you like you can check out the sourcecode of this website like so:


		bzr co http://infiniteplatformer.com/dev/InfinitePlatformerWebsite/