Today, I worked on a game in collaboration with my friends Ean and Christian. I worked on gathering assets such as images and sound effects, Christian handled the editing of the images, while Ean handled most of the programming and map design.
def __init__(self):
self.black = pygame.Surface((800, 800))
self.black.fill((0, 0, 0))
^This will create the game window.
# Fade-in effect
self.alpha = 255
self.fade_speed = 2
^This will create a smooth fade-in effect for the title screen.
def generate_static(self):
"""Creates a grainy static effect."""
for x in range(0, 800, 4):
for y in range(0, 800, 4):
shade = random.randint(0, 40)
pygame.draw.rect(self.static_surface, (shade, shade, shade), (x, y, 4, 4))
^This will create a grainy, static effect for each camera, making it harder for the player to see.

This game has helped me learn the differences in audio files(FLAC, MP3, WAV, etc.) and their different use cases. MP3s can be lossy depending on bitrate, but are smaller compared to FLAC files which preserves the crystal-clear studio quality of a sound.
Leave a Reply