various fixes
This commit is contained in:
@@ -32,7 +32,7 @@ def main() -> None:
|
||||
|
||||
pyg.display.set_caption('')
|
||||
window = pyg.display.set_mode((720, 480))
|
||||
#pyg.display.toggle_fullscreen()
|
||||
pyg.display.toggle_fullscreen()
|
||||
|
||||
reel = imgReel(IMG_DIR, window)
|
||||
|
||||
@@ -40,7 +40,7 @@ def main() -> None:
|
||||
while running:
|
||||
reel.draw_next()
|
||||
|
||||
time.sleep(0.5)
|
||||
time.sleep(10)
|
||||
|
||||
for event in pyg.event.get():
|
||||
if event.type == pyg.QUIT:
|
||||
@@ -58,6 +58,7 @@ class imgReel:
|
||||
self.images = []
|
||||
|
||||
for path in os.listdir(IMG_DIR):
|
||||
ic(path)
|
||||
self.images.append(pyg.image.load(str(IMG_DIR) + path))
|
||||
|
||||
ic(self.images)
|
||||
|
||||
Reference in New Issue
Block a user