Project Tadadada

import pygame

Set up the screen

screen = pygame.display.set_mode((800, 600))
pygame.display.set_caption(“Retro Bowl”)

Set up the clock

clock = pygame.time.Clock()

Define some colors

BLACK = (0, 0, 0)
WHITE = (255, 255, 255)

Set up the player character

player_image = pygame.image.load(“player.png”)
player_rect = player_image.get_rect()
player_rect.centerx = 400
player_rect.bottom = 600

Set up the ball

ball_image = pygame.image.load(“ball.png”)
ball_rect = ball_image.get_rect() = (400, 300)

Set up the game loop

running = True
while running:
# Handle events
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False

# Clear the screen

# Draw the player character
screen.blit(player_image, player_rect)

# Draw the ball
screen.blit(ball_image, ball_rect)

# Update the display

# Tick the clock

Quit the game



uh, what? i think this is the wrong forum


Sir this is the flowlab forums


This seems interesting!

1 Like

that moment when you realize you can understand the code perfectly…O_O


Hello @Pldidjfvffjgjg

This is the flowlab forum. Are you posting on the right forum?

Flowlab doesn’t use coding, (to be honest, I have no idea what any of that code means :sweat_smile:).

Thank you for your cooperation, -Ember. Y

Is this like a hack or something!??! because it looks python


What’s python?

Is it another game making studio?

Python is a coding language @JUSTPLAINOP

1 Like

Ooh. Well, that was off topic. :sweat_smile:

1 Like

Not really

But I would suggest to get off this page. The code is a little sussy

I guess, in a way, that it was related to the topic.

I know.

uuuh no it’s not, it’s just regular python code, it can’t do anything to your machine or flowlab, i guess this guy just wanted to show off his code

more specifically, this seems like a tutorial

It’s normal python code wdym

i don’t know anything about python but this looks like it could be a script for Pong

also, flowlab does use Haxe and Ruby, Haxe code is used in Expression blocks


Ok, ok.

If @Pldidjfvffjgjg meant to post on the Flowlab Forums, then I’m sure he wouldn’t want any of us to go off topic or spam his post. Let’s wait to see if he responds to any of our questions.

Thank you, -Ember.Y

1 Like

im currently learning python so this is cool

1 Like