Info_edupage/UI/video_example.py
2021-09-08 18:58:59 +02:00

20 lines
286 B
Python

from UI.Scenes.VideoScene import VideoScene
from numpy import array as a
import time
screen_size = a([1200, 800])
scene = VideoScene(screen_size)
mouse_pos = [0, 0]
clicked = False
scene.update()
try:
time.sleep(20)
except KeyboardInterrupt:
pass
scene.stop_bgt_objects()