Finales Produk
This commit is contained in:
parent
1493ba9471
commit
ef1eda95e5
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -61,6 +61,7 @@ class Player(pygame.sprite.Sprite):
|
||||||
return "scene_4"
|
return "scene_4"
|
||||||
if current_scene == "scene_2" and self.rect.x >= 1880:
|
if current_scene == "scene_2" and self.rect.x >= 1880:
|
||||||
self.rect.x = -80
|
self.rect.x = -80
|
||||||
|
self.rect.y = 830
|
||||||
return "scene_9"
|
return "scene_9"
|
||||||
if current_scene == "scene_3" and self.rect.x >= 1880:
|
if current_scene == "scene_3" and self.rect.x >= 1880:
|
||||||
self.rect.x = -80
|
self.rect.x = -80
|
||||||
|
@ -109,7 +110,7 @@ class Player(pygame.sprite.Sprite):
|
||||||
return "scene_9"
|
return "scene_9"
|
||||||
if current_scene == "scene_9" and self.rect.x <= -80:
|
if current_scene == "scene_9" and self.rect.x <= -80:
|
||||||
self.rect.x = 1880
|
self.rect.x = 1880
|
||||||
self.rect.y = 795
|
self.rect.y = 780
|
||||||
return "scene_2"
|
return "scene_2"
|
||||||
if current_scene == "scene_9" and self.rect.y <= -80:
|
if current_scene == "scene_9" and self.rect.y <= -80:
|
||||||
self.rect.y = 1080
|
self.rect.y = 1080
|
||||||
|
|
Loading…
Reference in a new issue