I'm using the arcade library, and this script keeps crashing. I think it's my function but idk. Definitely the script, I've run it from two IDEs and the file explorer and every time it shows a black screen and then after a second says "not responding". Full script below.
import os
SCREEN_WIDTH = 1000
SCREEN_HEIGHT = 2000
arcade.open_window(SCREEN_WIDTH, SCREEN_HEIGHT, "Asteroids.py.gg.bozo.gitgud")
arcade.set_background_color(arcade.color.BLACK)
arcade.start_render()
def loadKraft(x, y):
arcade.draw_line(x, y + 25, x - 14, y - 18, arcade.color.RED, 6)
arcade.draw_line(x, y + 25, x + 14, y - 18, arcade.color.RED, 6)
arcade.draw_line(x - 14, y - 18, x, y - 12, arcade.color.RED, 6)
arcade.draw_line(x + 14, y - 18, x, y - 12, arcade.color.RED, 6)
loadKraft(0, -59)
arcade.finish_render()
arcade.pause(60)
arcade.pause(60)there at all? Example Arcade projects I can find do not include this line, and the documentation says this would halt your game for a solid 60 seconds, naturally making it unresponsive. \$\endgroup\$