diff options
author | Destinyyyyyyy <abhiramvsa7@gmail.com> | 2023-07-30 16:49:30 +0530 |
---|---|---|
committer | Destinyyyyyyy <abhiramvsa7@gmail.com> | 2023-07-30 16:49:30 +0530 |
commit | 7b660120b29dfddb6228ed61fa3158f53d031f90 (patch) | |
tree | dc0ca44c06e61a256775ba952c216873a0501dab /game.py | |
parent | 95632b625fcccb3076b638c06874b353b6342bfe (diff) | |
parent | 70cff6174240c575300abbf39955845bb4a506fc (diff) |
Merge branch 'main' of https://github.com/compromyse/cockroach_fight
Diffstat (limited to 'game.py')
-rw-r--r-- | game.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,13 +13,13 @@ from asteroid import Asteroid pygame.init() # Define screen dimensions -SCREEN_WIDTH = 600 -SCREEN_HEIGHT = 400 +SCREEN_WIDTH = 1920 +SCREEN_HEIGHT = 1080 class MyGame: def __init__(self) -> None: # Open the webcam (0 is usually the default) - self.cap = cv2.VideoCapture(0) + self.cap = cv2.VideoCapture('rtsp://10.20.89.139:8080/h264_aac.sdp') # Create a list to hold cockroaches self.cockroaches = [] |