Block offset should be properly set now.
This commit is contained in:
@@ -51,6 +51,6 @@ class Block(worldobject.WorldObject):
|
|||||||
|
|
||||||
def draw(self, window):
|
def draw(self, window):
|
||||||
window.blit(self.img, (self.x - 32 - self.level.camera_x,
|
window.blit(self.img, (self.x - 32 - self.level.camera_x,
|
||||||
self.y - self.img.get_size()[1]
|
self.y - self.img.get_size()[1] + 24
|
||||||
- self.level.camera_y))
|
- self.level.camera_y))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user