Initial Commit

This commit is contained in:
Cutieguwu
2025-02-26 14:40:25 -05:00
commit d9dc0e390c
129 changed files with 4106 additions and 0 deletions

27
TESTING/Time.py Normal file
View File

@@ -0,0 +1,27 @@
import pygame
from icecream import ic
from time import sleep
CLOCK = pygame.time.Clock()
testOn = True
timeStart = pygame.time.get_ticks()
while testOn: # Pretend game loop.
if ic(pygame.time.get_ticks() - timeStart) >= 2000: # Once 2000 ms has elapsed.
ic("Time has elapsed.")
testOn = False
del testOn, timeStart
# ---------------------------------------------------------
sleep(2)
# ---------------------------------------------------------
timeStart = pygame.time.get_ticks()
while ic(pygame.time.get_ticks() - timeStart) < 2000:
pass
ic("Time has elapsed.")