free friday 4/17

So, this was the start of the game, Five nights in Atlanta, a game where you much survive against a bunch of online influencers.

I thought of what I wanted for the game in the first place…
” Hmm… how many rooms…. where would it be…? “

And then I remembered, Kim Kardashian exists, So I’ll make her house the main location.

So, to start off, I need an office. (AKA, her living room.)

firstly, I added her living room to the game, the main office.

class OfficeScene:
    def __init__(self):
        self.background = pygame.transform.scale(
            pygame.image.load("assets/Backroom1.jpg"), (800, 800))


And then, when I was scrolling to see what rooms to add, I saw this ugly hallway in her house, So i though…”This should be the second for use… later, whatever, i’ll figure it out.”

So, I decided to get to work on the main space, you start off in the living room, but can turn around to her hallway.

 self.arrow = pygame.transform.scale(

            pygame.image.load(“assets/arrow_icon.png”), (80, 80)

        )

        self.arrow_rect = self.arrow.get_rect()

        self.arrow_rect.topleft = (700, 360)


I added an icon, for the button to turn around.

 for e in events:
            if e.type == pygame.MOUSEBUTTONDOWN:

                # Turn-around arrow
                if self.arrow_rect.collidepoint(e.pos):
                    return OfficeBackScene()

Then the hitbox.

It took me a while to figure it out, but it worked.


So, after that, I wanted to set the mood, I decided for a fnaf feel, I need to make both rooms grainy, and darker than normal.

# Darkness overlay
        self.dark_overlay = pygame.Surface((800, 800))
        self.dark_overlay.fill((0, 0, 0))
        self.dark_overlay.set_alpha(120)  # base darkness

        # Vignette (dark edges)
        self.vignette = pygame.image.load("assets/vignette.png")
        self.vignette = pygame.transform.scale(self.vignette, (800, 800))
        self.vignette.set_alpha(180)

        # Flicker settings
        self.flicker_alpha = 0
        self.flicker_timer = 0

I added this large block of code to both rooms, as it makes it darker around the edges of the window, and then also some flashes, so represent how terrible the light were (They didn’t pay the electricity bill)

And thats all I worked on today.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top