Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hockey <Blitzkev@gmail.com>2010-08-05 00:42:57 (GMT)
committer Kevin Hockey <Blitzkev@gmail.com>2010-08-05 00:42:57 (GMT)
commitdd022bf1f2dec9b9d76d6c836fa2a812362384cd (patch)
treebff9429ed5ef4325b9283293a46f850ffc3e3bb3
parent868aa7724aa05e6236e8fdff3a922403fc53c8ea (diff)
parent16554817c3dd43fb455fd83e4a06252817473b8b (diff)
Merge branch 'animationrework' of ssh://git.fedorahosted.org/git/fortune_hunter into animationrework
-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