Block offset should be properly set now.
This commit is contained in:
parent
12cfda78f1
commit
db5b23d0e0
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue