Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

djphan/c275-Project-2-pyGame_Attempt

Repository files navigation

c275_project


Important

The following project is written in Python 2.7. Please load the main files in Python 2.7 otherwise the project will not open properly. All instructions are tailored for Ubuntu. Documentation contains information for Windows installation, and Macs are unsupported.

You can run the program using the command:

python main.py


Installation

The following project requires these modules:

  1. pygame You can follow the instructions found in http://www.pygame.org/wiki/CompileUbuntu

Install Dependencies

sudo apt-get install mercurial python-dev python-numpy ffmpeg
libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev
libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev

Grab Source

hg clone https://bitbucket.org/pygame/pygame

Finally Build and Install

cd pygame python setup.py build sudo python setup.py install

  1. OceanGUI Files found: http://www.pygame.org/project-OcempGUI-125-.html and complete documentation: http://ocemp.sourceforge.net/gui.html

Download tar and install with command:

sudo python setup.py install


Asset import from other sources

From Assignment 4 the following modules were taken and modified:

  1. sounds.py Adjusted the file path to load in the sounds for the game.

  2. animation.py

  3. bmpfont.py

The 'Face Your Fears' font file was used for in game rendering: http://www.urbanfonts.com/fonts/scary-fonts_page-1.htm

The tiles.png file was taken from the dungeon scroller Deadly Sin.


About

c275 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages