Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: arikel/ariclient
base: 50119c1534
...
head fork: arikel/ariclient
compare: 7d2d744d36
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +2 −2 sprite.py
View
4 sprite.py
@@ -83,7 +83,7 @@ def __init__(self, name, _map):
self.tileHeight = self._map.tileHeight
self.rect = pygame.Rect(0,0,1,1) # screen position
- self.mapRect = pygame.Rect(0,0,self.tileWidth,self.tileHeight) # map position
+ self.mapRect = pygame.Rect(0,0,4,4) # map position
self.anim = {}
self.currentAnim = ""
@@ -122,7 +122,7 @@ def setTalk(self, msg):
def addAnim(self, name, imgPath, x, y, w, h, nbFrames, frameTime=20, mirrored= False):
self.anim[name] = Animation(name, imgPath, x, y, w, h, nbFrames, frameTime, mirrored)
- def setAnim(self, animName="idle-south"):
+ def setAnim(self, animName="idle-down"):
if animName in self.anim and animName != self.currentAnim:
self.currentAnim = animName
self.rect.w = self.anim[self.currentAnim].w

No commit comments for this range

Something went wrong with that request. Please try again.