add photo

This commit is contained in:
Anna
2026-06-23 15:21:17 +08:00
parent 54c2cf9ee6
commit 598652a904
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
images/dino3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -13,9 +13,9 @@ SPAWN_ACCELERATION = 0.3
CORPSE_LIFETIME = 2.0
APPLE_HIT_RADIUS = 25
apple = Actor("apple", APPLE_POS)
apple = Actor("apple", APPLE_POS) # Sprite
sword = Actor("sword", APPLE_POS)
sword = Actor("sword", APPLE_POS) # Sprite
dinosaurs = []
corpses = []
@@ -32,7 +32,7 @@ def on_mouse_move(pos, rel, buttons):
def spawn_dinosaurs():
"""Create a dinosaur just outside one edge of the screen."""
dino_images = ("dino", "dino2")
dino_images = ("dino", "dino2","dino3")
random_dino = random.choice(dino_images)
dino = Actor(random_dino)