Explore
Sign up
Make games on your phone.
Get the app!
Android
iOS
Discord
Dweller
Sign up
Play in App
Sign up
Play in App
iOS
Android
Sign up
qhimcelisAdmin
5.1k
48
10 Comments
Next up
qhimcelisAdmin
Fnf test (: #donotreportmepls #donothate #donotviewdecksource #fnftest #fnf #spam #donotreportpls #plsreactthis #plscomment
ghdhdbx
7w
I rect
1
Reply
chicken183k
2w
Do this its a baldi basics sound main menu
Reply
k-o-0-k-0-o
6w
447474747/10
Reply
Dyllenati0nnnn
6w
But on tablet.. use use your fingers
Reply
Dyllenati0nnnn
6w
import pygame # Initialize Pygame pygame.init() screen = pygame.display.set_mode((500, 500)) clock = pygame.time.Clock() player_pos = [250, 250] speed = 5 running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False # Get the state of all keyboard buttons keys = pygame.key.get_pressed() # Movement logic if keys[pygame.K_w]: player_pos[1] -= speed # Up if keys[pygame.K_s]: player_pos[1] += speed # Down if keys[pygame.K_a]: player_pos[0] -= speed # Left if keys[pygame.K_d]: player_pos[0] += speed # Right # Drawing screen.fill((0, 0, 0)) # Clear screen pygame.draw.circle(screen, (0, 255, 0), player_pos, 20) # Draw player pygame.display.flip() clock.tick(60) # Limit to 60 FPS pygame.quit()
Reply
Dyllenati0nnnn
6w
import pygame # Initialize Pygame pygame.init() screen = pygame.display.set_mode((500, 500)) clock = pygame.time.Clock() player_pos = [250, 250] speed = 5 running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False # Get the state of all keyboard buttons keys = pygame.key.get_pressed() # Movement logic if keys[pygame.K_w]: player_pos[1] -= speed # Up if keys[pygame.K_s]: player_pos[1] += speed # Down if keys[pygame.K_a]: player_pos[0] -= speed # Left if keys[pygame.K_d]: player_pos[0] += speed # Right # Drawing screen.fill((0, 0, 0)) # Clear screen pygame.draw.circle(screen, (0, 255, 0), player_pos, 20) # Draw player pygame.display.flip() clock.tick(60) # Limit to 60 FPS pygame.quit()
Reply
Comment in the App