Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2
diff options
context:
space:
mode:
authordavesilver <nibor123@gmail.com>2010-08-05 00:29:09 (GMT)
committer davesilver <nibor123@gmail.com>2010-08-05 00:29:09 (GMT)
commit16554817c3dd43fb455fd83e4a06252817473b8b (patch)
tree125ecd80a7ddd6fb5a119566f8573aef41cb518c /MAFH2
parent08c643345ba31474e8ed8e38448f1f998464dc9a (diff)
Committing changes.
Diffstat (limited to 'MAFH2')
-rw-r--r--MAFH2/Map.py7
-rw-r--r--MAFH2/assets/image/character/anim_test.psdbin0 -> 165479 bytes
-rw-r--r--MAFH2/assets/image/character/dragon.psdbin0 -> 718631 bytes
3 files changed, 4 insertions, 3 deletions
diff --git a/MAFH2/Map.py b/MAFH2/Map.py
index 6c88c9b..659e238 100644
--- a/MAFH2/Map.py
+++ b/MAFH2/Map.py
@@ -86,9 +86,10 @@ class Map(GameEngineElement):
mapView=pygame.transform.rotate(mapView,angle)
angle=180
- sideDifference=self.sizeX-self.sizeY
- angle=angle*(math.pi/180)
- curSect=pygame.Rect(0,0,200,200)
+ sideDifference=self.sizeX-self.sizeY #Getting the difference between the height and width of the dungeon
+ angle=angle*(math.pi/180) #Getting the angle the dungeon is rotated to
+ curSect=pygame.Rect(0,0,200,200) #Creating the rectangle for the mini-map
+ #Sets the position of the mini-map rectangle
curSect.top+=((x*40-81)*math.cos(angle))-((y*40-81)*math.sin(angle))
curSect.left-=((x*40-81)*math.sin(angle))+((y*40-81)*math.cos(angle))
diff --git a/MAFH2/assets/image/character/anim_test.psd b/MAFH2/assets/image/character/anim_test.psd
new file mode 100644
index 0000000..1b4fe08
--- /dev/null
+++ b/MAFH2/assets/image/character/anim_test.psd
Binary files differ
diff --git a/MAFH2/assets/image/character/dragon.psd b/MAFH2/assets/image/character/dragon.psd
new file mode 100644
index 0000000..b2ca16b
--- /dev/null
+++ b/MAFH2/assets/image/character/dragon.psd
Binary files differ