Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
343 commits
Select commit Hold shift + click to select a range
a608abe
Merging
jkunimune Apr 17, 2016
9db3eb6
some changes to attack sprite drawing
leonjunwei Apr 18, 2016
c1695cc
merge conflicts in .pyc files - why?
leonjunwei Apr 18, 2016
adb2487
just comitting so we don't get merge errors later
leonjunwei Apr 18, 2016
4a62c48
Made dialogue work (sort of).
jkunimune Apr 18, 2016
86623ae
Made dialogue work (sort of).
jkunimune Apr 18, 2016
391d70a
Made the dialogue work much better
jkunimune Apr 18, 2016
af24dfd
I made the movement all smooth!
jkunimune Apr 19, 2016
07032a1
hi
Apr 19, 2016
a8992bf
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 19, 2016
553f851
implementing monster sprites
leonjunwei Apr 19, 2016
d7974a7
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei Apr 19, 2016
5a37fdc
small syntax changes
leonjunwei Apr 19, 2016
b238188
Trying out a new terrain generation algorithm for the labyrinth. I do…
jkunimune Apr 19, 2016
a1390b5
Fixing conflicts in the pycs
jkunimune Apr 19, 2016
975b6fb
Wrote some dialogue. Now I'm gonna implement it.
jkunimune Apr 19, 2016
d0ffb60
This is the checklist spreadsheet to keep track of what the player ca…
Apr 19, 2016
f4c488a
hi
Apr 19, 2016
63ca71a
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 19, 2016
9d6d2b6
added more dialogues
Apr 19, 2016
850a3a9
added more dialogue
Apr 19, 2016
5f8f786
Should encompass all events for the first dungeon
Apr 19, 2016
806dc3c
Started working on NPCS'
jkunimune Apr 19, 2016
aec93b0
awful awful monster drawing
leonjunwei Apr 19, 2016
5ca95f9
mostly pyc and saved dungeon merge errors, shouldn't be a problem
leonjunwei Apr 19, 2016
1fa3661
MERGE
jkunimune Apr 19, 2016
75416c9
Added files via upload
Apr 19, 2016
b6e660e
commenting out reference to activemonsterlist which we don't need
leonjunwei Apr 19, 2016
6396aa2
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei Apr 19, 2016
0f1101c
MERRRGE
jkunimune Apr 19, 2016
0ec5965
MEEEERRRRGGE
jkunimune Apr 19, 2016
2b95d3a
added the interactions for part 1
Apr 19, 2016
56d1802
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 19, 2016
bbd7bcd
sort of fixed monster movement and attack. moving into a monster's sp…
leonjunwei Apr 20, 2016
d40eaa6
adding monster movement and attack. they freak out and freeze if you …
leonjunwei Apr 20, 2016
ffc61c5
I don't know how there were merge conflicts, but I just fixed them.
jkunimune Apr 20, 2016
c99a980
Fixed some bugs with monsters
jkunimune Apr 20, 2016
9338cf7
Reimplemented dialogye
jkunimune Apr 20, 2016
3d0b91b
hi
Apr 20, 2016
79f9312
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 20, 2016
bfd9c23
Monsters are now somewhat slower than the player
jkunimune Apr 21, 2016
1ca88d0
merge
Apr 21, 2016
dfdd156
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 21, 2016
403f018
now you have to already be facing that direction to move
leonjunwei Apr 21, 2016
ae5c903
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei Apr 21, 2016
ab3df55
Rewrote some of the monster movement code in an attempt to smoothify …
jkunimune Apr 21, 2016
b24bc1a
What is happening
jkunimune Apr 21, 2016
6d63252
Fixed a little glitch in monster movement
jkunimune Apr 21, 2016
467a75a
ghost clusterfuck still happening, zombies can't stack though
leonjunwei Apr 21, 2016
c43a8ab
fixing merge conflicts, preventing zombie stacking
leonjunwei Apr 21, 2016
7f3a391
Monster movement mostly works
jkunimune Apr 21, 2016
9ed5e8d
Fixing merareffe
jkunimune Apr 21, 2016
5863876
Finished smooth motion
jkunimune Apr 21, 2016
e976ee8
weird, it worked before
leonjunwei Apr 21, 2016
1849aa6
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei Apr 21, 2016
1bb3da7
monsters are impassable now
leonjunwei Apr 21, 2016
96f3212
sword
Apr 21, 2016
30b128b
Added files via upload
Apr 21, 2016
6d6b9a4
Reorganized some code and broke up the display method
jkunimune Apr 21, 2016
313e36f
margung
jkunimune Apr 21, 2016
de7cc27
ACTUAL SWORD NOW GET HYPED
leonjunwei Apr 21, 2016
137b883
Added files via upload
Apr 21, 2016
8f4cc5c
hi
Apr 21, 2016
da7565e
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 21, 2016
d0298b1
hi
Apr 21, 2016
6c0983a
streamlining event list management
leonjunwei Apr 21, 2016
9735997
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei Apr 21, 2016
6e68079
more merge conflicts
leonjunwei Apr 21, 2016
cc3a06c
more syntax errors
leonjunwei Apr 21, 2016
d7e793e
I can't remember what I changed. I think it was monster spawning.
jkunimune Apr 21, 2016
2854b13
I got the naming down, now just getting merge fixes.
Apr 21, 2016
968b241
some coreMechanics stuff
leonjunwei Apr 21, 2016
be949e7
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 21, 2016
94c5a27
hi
Apr 21, 2016
a6d98ba
Merging into the next lane
jkunimune Apr 21, 2016
4abd9b0
Why are there more conflicts?!
jkunimune Apr 21, 2016
7d0ae68
NAME WORKS YOU CAN NAME YOUR PLAYER BASED PYTHON
Apr 21, 2016
22a6355
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 21, 2016
3a0dd96
WASD for easier travel, arrow keys for precision
leonjunwei Apr 21, 2016
73b338e
removing debug print statements
leonjunwei Apr 21, 2016
b7387b1
trying to merge
Apr 21, 2016
32a9fe4
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 21, 2016
8fea317
Fixed dialogue, now leaves off at a reasonable point
Apr 21, 2016
952e6f5
Made controls more intuitive
jkunimune Apr 22, 2016
4cc9272
Made monsters stop phasing through each other
jkunimune Apr 22, 2016
7cc23b2
Improved monster AI
jkunimune Apr 23, 2016
c5902ad
Fixed some dialogue bugs
jkunimune Apr 23, 2016
a81a3bb
merge
Apr 24, 2016
3d76e5d
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 24, 2016
84b5283
fixed
Apr 24, 2016
ec857c9
added Mr. E's Sprite. we need to change some things to allow for mor…
Apr 24, 2016
b3c96fb
monsters die when they are killed
leonjunwei Apr 25, 2016
0c9d48b
Doors can be closed now.
jkunimune Apr 25, 2016
ad15cec
*You're* a merge conflict
jkunimune Apr 25, 2016
58bd32a
fixing passive move and aggro
leonjunwei Apr 25, 2016
f650136
passive move debug removed, you now listen for nearby monsters
leonjunwei Apr 25, 2016
47417ce
merge attempt
Apr 25, 2016
15472cc
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 25, 2016
ed7596c
Added a new sound sprite
jkunimune Apr 25, 2016
f964804
You can't hear things that you can see
jkunimune Apr 25, 2016
642017c
passive move debug removed
leonjunwei Apr 25, 2016
330d1ed
merge conflict
leonjunwei Apr 25, 2016
cff4e1e
fixed a text bug.
Apr 25, 2016
80ea46c
text changes
Apr 25, 2016
eaea402
merge
Apr 25, 2016
5385330
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 25, 2016
c17dd57
swapped LRUD for WASD
leonjunwei Apr 25, 2016
47ccc6c
NPCs have no armor so they're not attackable so their hp is redundant
leonjunwei Apr 25, 2016
dbe51a8
turns out NPC health wasnt redundant after all, also increment dungeo…
leonjunwei Apr 25, 2016
bc399e7
merge
Apr 25, 2016
02bd060
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 25, 2016
1e5057f
merge
Apr 25, 2016
19fd13a
You can play multiple songs now to kill things
jkunimune Apr 25, 2016
3beec98
Margeing
jkunimune Apr 25, 2016
c6ecc3f
Update README.md
Apr 25, 2016
5a00b95
Added different attacks that you can toggle with x and z
jkunimune Apr 25, 2016
85728a1
People die when they are killed!
jkunimune Apr 25, 2016
da03434
Finished implementing the different song attacks
jkunimune Apr 25, 2016
f0bbeae
Create reflection-and-synthesis.md
jkunimune Apr 26, 2016
5644e7c
Cleaned up some combat stuff
jkunimune Apr 26, 2016
30c41cb
Made it easier to switch songs
jkunimune Apr 26, 2016
06ce62b
Made the HUD look nicer
jkunimune Apr 26, 2016
041c29c
Implemented respawning
jkunimune Apr 28, 2016
7d3ce55
pycs always ruining things for me
leonjunwei Apr 28, 2016
65ee585
merge conflicts again
leonjunwei Apr 28, 2016
c60ba05
Changed sound files
jkunimune Apr 28, 2016
d21f351
Mergity mergity merge merge
jkunimune Apr 28, 2016
c1ec2c7
merge conflictz
leonjunwei Apr 28, 2016
56193a3
music pls
leonjunwei Apr 28, 2016
8dc84df
Reimplemented terrain generation and made attack cooldowns work better
jkunimune Apr 28, 2016
447f051
Fixin the marge kunflikes
jkunimune Apr 28, 2016
d0d562d
merge attempt
Apr 28, 2016
21e163d
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 28, 2016
edd61cc
dungeony stuff
leonjunwei Apr 28, 2016
09a7911
getting new code
leonjunwei Apr 28, 2016
155f1b1
Adjusted weapons and implemented the gun
jkunimune Apr 29, 2016
2ce17b1
I accidentally committed an error!
jkunimune Apr 29, 2016
0843362
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 30, 2016
28386a3
merge
Apr 30, 2016
c9dc6b4
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
Apr 30, 2016
2fbbe41
f key no longer does anything
leonjunwei Apr 30, 2016
7fb9e51
merge conflicts, removing f key functionality
leonjunwei Apr 30, 2016
7277d34
fixing merge conflict, removing f key functionality
leonjunwei Apr 30, 2016
8749f40
Added Furniture
jkunimune Apr 30, 2016
b5c09c1
Doing the merge thing
jkunimune Apr 30, 2016
54901cd
minor comment fixes
leonjunwei May 1, 2016
da82b79
merge conflicts
leonjunwei May 1, 2016
689b649
Songs now spawn in chests
jkunimune May 1, 2016
495b8d0
Merging
jkunimune May 1, 2016
7421b4d
Ghosts can now burn and stun
jkunimune May 1, 2016
29a3997
fixing merge conflicts again
leonjunwei May 1, 2016
7468e03
mergeconflict again
leonjunwei May 1, 2016
1b05c32
Changed the dialogue
May 1, 2016
938e6fa
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 1, 2016
cf9bf78
merge
May 1, 2016
8b2f98e
merge
May 1, 2016
3872b87
merge
May 1, 2016
eb15bbe
mr e is automatically talked-to
leonjunwei May 1, 2016
7a3c7f4
mergeconflict, mr e autonatic interaction
leonjunwei May 1, 2016
f85f512
mr e proper initialization
leonjunwei May 1, 2016
8079db6
"fixed the text skipping. Now should flow smoothly"
May 1, 2016
1a56888
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 1, 2016
b29b6aa
TRUE no skipping
May 1, 2016
f720dc0
Gave demons a basic ranged attack
jkunimune May 1, 2016
0820b3f
Morge
jkunimune May 1, 2016
fb85922
OK. So I done messed up. So methods have paren after them. TRUE TR…
May 1, 2016
2e539ef
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 1, 2016
2426b6c
Added skeletons that come to life after death
jkunimune May 1, 2016
1d2ffb3
You can jump over the spooky scary skeletons now
jkunimune May 2, 2016
01b0dea
Fixed some bugs
jkunimune May 2, 2016
43b26c0
Monsters now generate with unique names
jkunimune May 2, 2016
1f91b9c
Made the player stop appearing in front of walls
jkunimune May 2, 2016
a76fd66
Made the first dialogue sequence stop looping
jkunimune May 2, 2016
f605dc6
Added some story type stuff at the end of the dungeon
jkunimune May 3, 2016
747a1ad
merge
May 3, 2016
1b6ab18
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 3, 2016
697b4cd
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 3, 2016
04ef7bc
Took screenshots of the different dungeons
jkunimune May 3, 2016
01838e2
merge
May 3, 2016
7ca324c
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 3, 2016
e7654f4
Tweaked skelingtons
jkunimune May 3, 2016
8afca7f
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 3, 2016
1308da5
commenting some code
leonjunwei May 4, 2016
d786d3e
commenting code!
leonjunwei May 4, 2016
858afb1
commenting code
leonjunwei May 4, 2016
acaf628
removing player attack stuff on init
leonjunwei May 4, 2016
4c52999
merge
May 4, 2016
b4e36c4
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 4, 2016
085006d
you can pick up stuff now! press I to print your inventory in the ter…
leonjunwei May 4, 2016
5d50acf
you can pick up stuff now! press I to print your inventory in the ter…
leonjunwei May 4, 2016
6d0bcd2
sprite walks front back to both sides
May 4, 2016
6cdee75
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 4, 2016
fccae3e
Added files via upload
May 4, 2016
45f1869
Added files via upload
May 4, 2016
ce8b7ee
I'm sorry! I didn't mean to change the pyc files!
jkunimune May 4, 2016
7a196a7
Retook the screenshots
jkunimune May 4, 2016
8142b21
Made an executable!
jkunimune May 4, 2016
46f61eb
Updated sprites.
jkunimune May 4, 2016
d938834
Updated player sprites
jkunimune May 4, 2016
b4cf6db
Added a screen at the beginning to replace the terminal question
jkunimune May 4, 2016
c3dd6ee
Updated the executable
jkunimune May 4, 2016
5c58f53
merge
May 4, 2016
a1bf4d0
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 4, 2016
c99cae1
merge
May 4, 2016
63dd186
you can drink potions now. cure potions don't work because we don't h…
leonjunwei May 5, 2016
d9e45b5
fixing merge conflicts, adding inventory management - heal potions wo…
leonjunwei May 5, 2016
890aea0
merge
May 5, 2016
115fcbc
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 5, 2016
82abd57
merge
May 5, 2016
92cab22
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 5, 2016
68a15cb
Made more furniture
jkunimune May 5, 2016
586a348
MOOOOOORJ
jkunimune May 5, 2016
ad8f6a1
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 5, 2016
13d2d7a
guitar
May 5, 2016
7b4169d
Got some snazzy sound effects
jkunimune May 5, 2016
56e01af
merge
May 5, 2016
3888bec
merge
May 5, 2016
5bff8ea
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 5, 2016
35a051e
Made Kerberoge spawn
jkunimune May 5, 2016
5c92240
merge
May 5, 2016
853bb88
What did I even change? The code doesn't even work!
jkunimune May 5, 2016
1a9be3e
more guitar
May 5, 2016
3e57c41
another guitar
May 5, 2016
76cad6c
last of the guitars
May 5, 2016
7264062
bunch of decorations
May 5, 2016
99b7dcc
Fixed some bugs with Kerberoge and Nike spawning
jkunimune May 5, 2016
3038fb1
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
jkunimune May 5, 2016
693f333
Updated the executable
jkunimune May 5, 2016
b744674
Update README.md
jkunimune May 5, 2016
33dcb3c
Added a link to the Readme
jkunimune May 5, 2016
c78934c
merge
May 5, 2016
72b6586
merge
May 5, 2016
f9fec7e
Why are all my pycs different?
jkunimune May 5, 2016
f50d7c0
Surprise, surprise; they caused conflicts.
jkunimune May 5, 2016
44148e0
Added sound (I think)
jkunimune May 5, 2016
8794f90
Tweaked all the sound
jkunimune May 6, 2016
5317670
Adjusted volume on sound effects
jkunimune May 6, 2016
64704a1
Added files via upload
May 6, 2016
e14802f
changed loads of stuff. made sprites better, implemented zombie walki…
May 9, 2016
ce404ce
merge
May 9, 2016
e47245b
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 9, 2016
c5fee1f
mergeconflicts
leonjunwei May 9, 2016
4e3adb4
more mergeconflicts
leonjunwei May 9, 2016
0101e52
fixed dialogue merge errors
May 9, 2016
8906c4d
mergeconflicts
May 9, 2016
38e4cb5
merge
leonjunwei May 9, 2016
b6482ef
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
leonjunwei May 9, 2016
c8a0b2d
Merge branch 'master' of https://github.com/abuchele/DungeonCrawler
May 9, 2016
dd3b6f9
merge conflicts
leonjunwei May 19, 2016
cff679e
updated some sprites
May 23, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .exe.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- mode: python -*-

block_cipher = None


a = Analysis(['.exe', 'driver.py'],
pathex=['/home/jkunimune/DungeonCrawler'],
binaries=None,
datas=None,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='.exe',
debug=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='.exe')
Binary file added DungeonCrawlerCompiled.zip
Binary file not shown.
Binary file added HUD_sprites/Dead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/Dialogue_GUI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/Hud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/Opening.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/Paused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HUD_sprites/song7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation Poster.pdf
Binary file not shown.
59 changes: 57 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,57 @@
# DungeonCrawler
Our final project for Software Design!
DungeonCrawler
=======
[abuchele.github.io/DungeonCrawler](abuchele.github.io/DungeonCrawler)

You wake up in a dark stone room. You can't remember who you are or where you came from. All you know is that you're here to save a friend. You stand and examine the dimly-lit room. It looks like a dungeon. And the doors are pretty low. Looks like you'll have to become a Dungeon Crawler!
_by Anna Buchele, Justin Kunimune, Leon Lam, and Max Wei_

### Install and Play:
Start by downloading the github repository. Once you open it, you will have two options to play.

For best results, you will need pygame, pickle, and Python 2.7 to play this game. If you do not have pygame or pickle, use
`$ sudo apt-get install pygame pickle`
If you don't have Python 2.7, go to [python.org](https://www.python.org/downloads/) and download it.
Once everything is installed, simply direct yourself to the directory of the repository and run `driver.py` using Python or BASH.
Ex:
`$ cd ~/Downloads/DungeonCrawler-master`
`$ python driver.py`

Alternatively, you can open the `DungeonCrawlerCompiled.zip` archive and run the `\_ADungeonCrawler\_` executable. It will be slightly more taxing on your CPU, but you won't need to install anything.

### Controls:
When you start the game it will prompt you to continue from where you left off or start over. Respond by simply pressing 'y' or 'n'. If it is your first time playing, press 'n'.

Once you enter the game, controls are as follows:
W - Move up
A - Move left
S - Move down
D - Move right
E - Interact
R - Attack
TAB - Equip next song
LSHIFT - Equip previous song
ESC - Pause
G - Fire gun (you only have one bullet; use it wisely)

### Usage Rights:
MIT License

Copyright (c) 2016 Buchimunelawei

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
22 changes: 22 additions & 0 deletions TR1/framing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Anna Buchele, Justin Kunimune, Leon Lam, and Max Wei present:

Technical Review 1: Project Orpheus
Dungeon Crawler: Preparation and Framing

Background and Context
Project headline: Dungeon Crawler
The MVP for our final project is a simple roguelike game in which the player must explore a series of underground regions in order to save a friend. The adventure will be based on Greek Mythology. We also plan on implementing side-quests, NPCs, combat, stealth, fog of war, bosses, and a save system.
Max and Leon worked on a dungeon crawler in the last project, so we are iterating on that and making it into a real game. We will include several different levels and terrains, as well as combat systems and a variety of monsters and bosses. We also hope to include background music, sprites, and side-quests.

Key questions
- What do you think of our game ideas?
- Is there anything we’re doing or planning on doing that is obviously a bad idea?
- What combat system should we use?
- Should the game be in real-time, or turn-based?
- Is our story compelling?
- Which dungeon generation algorithms do you like best?

Agenda
- Introduction, background and explanation of our game ideas and story (5 minutes)
- Show-and-tell of what we have so far (12 minutes)
- Explanation of our questions, and receiving advice (8 minutes)
17 changes: 17 additions & 0 deletions TR2/reflection-and-synthesis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Reflection and Synthesis
## Feedback and Decisions
The best information we got during this technical review was the feedback on our motion system. Playtesters (specifically Matt) noted that the movement was
* too slow,
* did not render keys being held down properly,
* and did not always do what was expected.

We can incorporate this by tweaking the movement system to be more intuitive and smoother.

One of the other game groups also gave us some useful advice about pygame.clock, which could help us to manage the speed of our game if it becomes an issue. We will look into it and see how it can be implemented.

The other main piece of feedback we got was the general approval of our idea to use a guitar as a weapon, which will help us design dialogue and sprites moving forward.

Other than that, the feedback was generally positive, which means we are probably doing something right and will continue on our general trajectory.

## Review Process Reflection
The review itself went quite smoothly. There was a bit of difficulty playing on one computer that did not have scipy (that import was actually vestigial, so that error was a helpful reminder to delete it), but other than that, we were able to get it running on everyone's computer and watch their reactions to the game. It helped us to gague the speed of the game and how people in the game behave with relatively little effort on our part. It was also very flexible time-wise which made it easy to stay on schedule. It seems that playtesting once a game is mostly playable is, in fact, a viable technical review method.
Binary file added TechnicalReview1ReflectionandSynthesis.docx
Binary file not shown.
11 changes: 11 additions & 0 deletions TerrainGeneration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from coreMechanics import Dungeon
from time import sleep
import pickle


method = "whole"
test = Dungeon(120, 120, method=method)
print test
f = open("saves/pregeneratedDungeon.dun", 'w')
pickle.dump(test, f)
f.close()
65 changes: 65 additions & 0 deletions _ADungeonCrawler_.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/usr/bin/python


import time
import pygame
import pickle
from pygame.locals import QUIT, KEYDOWN, MOUSEMOTION

from dungeonGraphics import DungeonModelView
from interfaceClasses import PyGameKeyboardController
import coreMechanics
import pickle



def loadDungeon():
return coreMechanics.load("saves/last_save.dun")



if __name__ == '__main__':
pygame.init()
screenX = 1080
screenY = 720
size = (screenX, screenY)
delay = 0.15 #length of each tick

screen = pygame.display.set_mode(size)
screen.blit(pygame.image.load("HUD_sprites/Opening.png"),(0,0)) # the opening screen
pygame.display.update()

running = False
while not running: # start by determining where to load the dungeon from
for event in pygame.event.get():
if event.type == pygame.locals.KEYDOWN:
if event.key == pygame.K_y: # last save,
model = loadDungeon()
running = True
elif event.key == pygame.K_n:
model = coreMechanics.Dungeon(120, 120, method="whole")
running = True # or brand new one?

model.terminal = False # makes this happen without the terminal

view = DungeonModelView(model, screen, size)
controller = PyGameKeyboardController(model)
events = []
view.update() # then jump into the main loop
while running:
start_time = time.time() # start the timer
end_time = start_time+delay

running = controller.handle_all_events(events) # update all objects
model.update()
view.update()

if controller.reset: # reset to last save if necessary
model = loadDungeon()
controller.setModel(model)
view.setModel(model)

events = [] # I know what you're thinking: "What is this convoluted events variable? pygame does all that automatically. This variable should be entirely unnecessary to make the game function properly." to which I respond, "Yes, it should."
while time.time() < end_time: #after each update is called, this while loop runs for (delay) seconds before the next update can happen
events = events+pygame.event.get()
view.display((time.time()-start_time)/delay)
33 changes: 33 additions & 0 deletions _ADungeonCrawler_.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- mode: python -*-

block_cipher = None


a = Analysis(['_ADungeonCrawler_.py'],
pathex=['/home/jkunimune/DungeonCrawler'],
binaries=None,
datas=None,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='_ADungeonCrawler_',
debug=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='_ADungeonCrawler_')
Loading