This repository was archived by the owner on Apr 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md~
63 lines (43 loc) · 2.02 KB
/
README.md~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
2. 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
------------------------------------------------------------------------------------