8000 Update glitched version.py · Yosef91/python@aba6d6d · GitHub
[go: up one dir, main page]

Skip to content

Commit aba6d6d

Browse files
authored
Update glitched version.py
1 parent e69a086 commit aba6d6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

games/falling object game/glitched version.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
wn = turtle.Screen()
1515
wn.title("falling objects game")
1616
wn.bgcolor("blue")
17-
wn.bgpic(r"c:\Users\joe\OneDrive\Pictures\game backgrounds\forest.gif")
17+
wn.bgpic(r"falling-object-game\img\forest.gif")
1818
wn.setup(width=800,height=600)
1919
wn.tracer(14)
20-
wn.addshape(r"falling-object-game\img\deer.gif")
20+
wn.addshape(r"falling-object-game\img\deer_right.gif")
2121
wn.addshape(r"falling-object-game\img\acorn.gif")
22-
wn.addshape(r"falling-object-game\img\hunter.gif")
22+
wn.addshape(r"falling-object-game\img\hunter_right.gif")
2323

2424

2525
player = turtle.Turtle()
2626
player.speed(0)
27-
player.shape(r"falling-object-game\img\deer.gif")
27+
player.shape(r"falling-object-game\img\deer_right.gif")
2828
player.color("white")
2929
player.penup()
3030
player.goto(0,-250)
@@ -48,7 +48,7 @@
4848
for _ in range(20):
4949
bad_guy = turtle.Turtle()
5050
bad_guy.speed(0)
51-
bad_guy.shape(r"falling-object-game\img\hunter.gif")
51+
bad_guy.shape(r"falling-object-game\img\hunter_right.gif")
5252
bad_guy.color("red")
5353
bad_guy.penup()
5454
x = random.randint(-380,380)

0 commit comments

Comments
 (0)
0