Project Tadadada

import pygame
pygame.init()

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()
ball_rect.center = (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
screen.fill(BLACK)

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

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

# Update the display
pygame.display.flip()

# Tick the clock
clock.tick(60)

Quit the game

pygame.quit()

3 Likes

uh, what? i think this is the wrong forum

7 Likes

Sir this is the flowlab forums

3 Likes

This seems interesting!

1 Like

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

2 Likes

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

@Beheaded_man

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

3 Likes

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

Big Hero 6- Tadashi's Death Scene animated gif

BECAUSE TADADA IS DEAD!!!