minor fix: error with the finding the path to the arrow.png
This commit is contained in:
parent
d5c3c794d8
commit
0d39238967
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (si23traktor)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -4,7 +4,7 @@
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.10 (si23traktor)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
2
main.py
2
main.py
@ -18,7 +18,7 @@ class Lines:
|
||||
class Tractor:
|
||||
def __init__(self, parent_screen):
|
||||
self.parent_screen = parent_screen
|
||||
self.block = pygame.image.load(r'resources\arrow.png').convert()
|
||||
self.block = pygame.image.load(r'resources/arrow.png').convert()
|
||||
self.x = 100
|
||||
self.y = 100
|
||||
self.angle = 0
|
||||
|
Loading…
Reference in New Issue
Block a user