From 16554817c3dd43fb455fd83e4a06252817473b8b Mon Sep 17 00:00:00 2001 From: davesilver Date: Thu, 05 Aug 2010 00:29:09 +0000 Subject: Committing changes. --- 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 -- cgit v0.9.1