From 6ef6a1eea0ecd1ab5be22a3d3f5717aca34d8191 Mon Sep 17 00:00:00 2001 From: TRS_MML Date: Fri, 13 Jun 2025 21:31:37 +0100 Subject: [PATCH] started work work on fire button and yOffset system --- __main__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/__main__.py b/__main__.py index 172d5c3..e5c7646 100644 --- a/__main__.py +++ b/__main__.py @@ -1,7 +1,9 @@ import pygame +from random import randint screenx = 1280 screeny = 720 +yOffset = 0 pygame.init() screen = pygame.display.set_mode((screenx,screeny)) @@ -15,6 +17,9 @@ while running: screen.fill("black") + fireButton = pygame.Rect(0,0,300,100) + pygame.draw.rect(screen, (30,30,30), fireButton) + pygame.display.flip() clock.tick(60)