import arcade WIDTH = 1280 HEIGHT = 800 x = 210 y = 235 window = arcade.Window(WIDTH, HEIGHT, "Звезда и Метеор") background = arcade.load_texture("assets/background.png") hero = arcade.load_texture("assets/astronaut.png") def draw_image(texture, x, y, size): arcade.draw_texture_rect(texture, arcade.XYWH(x, y, size, size)) def draw(): window.clear() arcade.draw_texture_rect(background, arcade.LBWH(0, 0, WIDTH, HEIGHT)) draw_image(hero, x, y, 132) window.on_draw = draw arcade.run()