Who’s gonna tell him about the graphing calculator?
@ArthurFelipePalandi6 күн бұрын
i gotta recrate this in scratch(thats gonna be harrd)
@ahmedabdo265YT6 күн бұрын
kzbin.info/www/bejne/jmOnmKKQg6dqqM0
@William-nani8 күн бұрын
that's sad :(
@federicoprietoaramburu937310 күн бұрын
Three's voice actor?!?!? 😮
@Moiz-u-din11 күн бұрын
polyymars and other people check my game and tell what else can ido in itK? here is the code run on python idle and also instalkl neccessary libraries heres the code with step by step explaination: warning (dont publish without permission): import pygame pygame.init() #this game has 4 things 2 players 1 enemy and score which is adjusted according to need (rn milisec) # Set up the display window win = pygame.display.set_mode((1000, 1000)) pygame.display.set_caption("Bounded Movement Example") # Load images and scale them player1_image = pygame.image.load("sigma.png") player1_image = pygame.transform.scale(player1_image, (100, 80)) player2_image = pygame.image.load("sigma.png") player2_image = pygame.transform.scale(player2_image, (100, 80)) #loads image of players and enemtyyyyyyyyyyyyy enemy_image = pygame.image.load("hello.png") enemy_image = pygame.transform.scale(enemy_image, (100, 80)) # Player and enemy properties player1 = {'x': 200, 'y': 200, 'width': 100, 'height': 80, 'vel': 700} player2 = {'x': 500, 'y': 500, 'width': 100, 'height': 80, 'vel': 700} enemy = {'x': 400, 'y': 400, 'width': 100, 'height': 80, 'speed': 300} #player and enemy speed width and hieght font = pygame.font.Font(None, 36) score = 0 run = True clock = pygame.time.Clock() start_time = pygame.time.get_ticks() # Function to move the enemy def move_enemy(enemy, player1, player2, dt): # Calculate distances to both players dist_to_player1 = ((enemy['x'] - player1['x'])**2 + (enemy['y'] - player1['y'])**2)**0.5 #distance calculatorrrrrrrrrrrrrrrr dist_to_player2 = ((enemy['x'] - player2['x'])**2 + (enemy['y'] - player2['y'])**2)**0.5 # Target the closer player target = player1 if dist_to_player1 < dist_to_player2 else player2 # targets the more close player instead of far oneeeeeeeeeeeeeeeeeeeeeeeeeee # Move towards the target player if target['x'] > enemy['x']: enemy['x'] += enemy['speed'] * dt elif target['x'] < enemy['x']: enemy['x'] -= enemy['speed'] * dt if target['y'] > enemy['y']: enemy['y'] += enemy['speed'] * dt elif target['y'] < enemy['y']: enemy['y'] -= enemy['speed'] * dt # Function to check collision def check_collision(player, enemy): return ( player['x'] < enemy['x'] + enemy['width'] and player['x'] + player['width'] > enemy['x'] and player['y'] < enemy['y'] + enemy['height'] and player['y'] + player['height'] > enemy['y'] ) # Main game loop while run: dt = clock.tick(30) / 1000 # Frame time in seconds for event in pygame.event.get(): if event.type == pygame.QUIT: run = False # Player 1 movement keys = pygame.key.get_pressed() if keys[pygame.K_w] and player1['y'] - player1['vel'] * dt >= 0: player1['y'] -= player1['vel'] * dt if keys[pygame.K_s] and player1['y'] + player1['height'] + player1['vel'] * dt <= win.get_height(): player1['y'] += player1['vel'] * dt if keys[pygame.K_a] and player1['x'] - player1['vel'] * dt >= 0: player1['x'] -= player1['vel'] * dt if keys[pygame.K_d] and player1['x'] + player1['width'] + player1['vel'] * dt <= win.get_width(): player1['x'] += player1['vel'] * dt # Player 2 movement if keys[pygame.K_UP] and player2['y'] - player2['vel'] * dt >= 0: player2['y'] -= player2['vel'] * dt # just movement dont pay that much atention if keys[pygame.K_DOWN] and player2['y'] + player2['height'] + player2['vel'] * dt <= win.get_height(): player2['y'] += player2['vel'] * dt if keys[pygame.K_LEFT] and player2['x'] - player2['vel'] * dt >= 0: player2['x'] -= player2['vel'] * dt if keys[pygame.K_RIGHT] and player2['x'] + player2['width'] + player2['vel'] * dt <= win.get_width(): player2['x'] += player2['vel'] * dt # Check if the 2-second delay has passed current_time = pygame.time.get_ticks() if current_time - start_time > 2000: score += 1 move_enemy(enemy, player1, player2, dt) # Check collisions if check_collision(player1, enemy) or check_collision(player2, enemy): print("Game Over!") run = False # Draw everything win.fill((0, 0, 0)) # Clear the screen score_text = font.render(f"Score: {score}", True, (255, 255, 255)) # White text win.blit(score_text, (10, 10))#scoreeeee win.blit(player1_image, (player1['x'], player1['y']))#draws 1player image (2 playerss) win.blit(player2_image, (player2['x'], player2['y']))#draws 2player image (2 playerss) win.blit(enemy_image, (enemy['x'], enemy['y'])) pygame.display.update() # Update the screen pygame.quit()#quits game end of the game when enemy touchessss #hope you like it
@Moiz-u-din11 күн бұрын
also name the pictures you wnat to on enemy and players and name them as in the code and place the m same place at code
@willjohnson501314 күн бұрын
now wheres my port for atari 2600
@willjohnson501314 күн бұрын
or my game and watch port >:( 💀💀
@jovisineto14 күн бұрын
Dear Poly, i played your game,Fish chomp 2, and i like this game. i liked the new mecanics and ads and rocketfishes. Hooray!
@Tarlecinia15 күн бұрын
python do have allow semicolon to stack to eg.a:int=10;b:int=20;c=a+b;print(c)
@mirabilis15 күн бұрын
TIL Python lands you games in the US.
@Grafha16 күн бұрын
Please, upload a video about installing SDL2 and MinGW in VS Code.
@fahdmashadi538018 күн бұрын
I wonder if a horror vr game on psvita would be a good idea
@Ominake19 күн бұрын
bruh 4:27.
@hireplays119 күн бұрын
Finally nice to see a dev live in RI🥹
@Julio-ct6yr20 күн бұрын
You eat a flower
@AleksandarNedeljkovic-ym7se21 күн бұрын
Can you port it to the 3ds?
@one_step_sideways19 күн бұрын
1. why 2. 3DS is backwards compatible with DS
@Boxplx22 күн бұрын
The DS port dosen't work for me. I have it on my DSI XL trough twilight menu++ and it just shows a black screen. Did anybody else have that problem, and if, does anybody know how to fix it?
@Greemman-h3q24 күн бұрын
I’m about to play the Ds version on my modded 3ds I’ll post my review later
@L721-d5i24 күн бұрын
damn no mobile port ...is mobile really *that* hated?
@bluecoldknuckles173824 күн бұрын
Who Is Voicing This?!
@Collectors-Corner26 күн бұрын
I just realized he was in the Ludum Dare before Funkin'
@AngelGrande-xz1wc26 күн бұрын
Mmm como que este juego se parece mucho a un minijuego del pou🥵
@TheErrorExe27 күн бұрын
Please add the Wii Port to the Open Shop Channel 🥺👉👈
@mariovelezescalantedelagar396127 күн бұрын
I miss polymars before he became psychotic.
@BrodyBradshaw-qc4mf28 күн бұрын
It doesn’t work on delta (ds) the screen flashes white for a quarter of a second and turns to a black screen. What is going on???????
@jmanbesleepy28 күн бұрын
We don’t care, port it to the Sega Pico
@Blackops3-thebest28 күн бұрын
This is cool, you should try to port it to the gba/gba-sp
@guitarteen200328 күн бұрын
DO ANDROID PORT PLZ IM BEGGING!
@DogEatingCakeInDaFridge28 күн бұрын
I HAVE THIS ON MY WII
@yasinkashubeck325629 күн бұрын
Sorry man, Ratatouille the video game has you beat
@GunSpyEnthusiast29 күн бұрын
" I've made a game for 5 different platforms! " Doom: " why'd you lower your reach? "
@ManDesignPro29 күн бұрын
THERES ONLY 4 CONSOLES QJGDUOSHFILWDHOIDHV
@UnskilIednpcАй бұрын
ludum dah ray
@jcdagoat14Ай бұрын
Licensed games in the 2000s: YOU THINK YOU CAN CHALLENGE ME?
@GuxoanimatingsАй бұрын
I wish if it was for Nintendo 3ds too
@NicIsNotEpicАй бұрын
it should work if you mod your 3ds and get a ds emulator
@Guxoanimatings29 күн бұрын
@NicIsNotEpic Oh yeah, that should work.
@LiterallyFaniiАй бұрын
Why were you with Cary Huang…
@BurensHortsАй бұрын
Polymars be learning from Dani
@ccolouredАй бұрын
do you happen to be an eddsworld fan
@nagger-iАй бұрын
playing bad apple in twitter snake?
@Randomthings0192Ай бұрын
0:33
@TheAndrejPАй бұрын
going from c++ to python is super easy except fo all the frustration of python being a broken language a realy shit way with dealing with inheritance.
@M1H1ytАй бұрын
4:49 why does the code look like a gun 😂
@nagger-iАй бұрын
that comment on unity is pretty outdated lmao
@gamerestboiАй бұрын
The fact you made the vita port touch only hurts my brain
@LanaDragons-x8dАй бұрын
I really like this game because youtubers are YANKING trash out of the ocean to save our Earth I wish to join Team Seas one day to help the ocean.