import pygame import random # Initialize pygame pygame.init() # Screen dimensions WIDTH, HEIGHT = 800, 600 # Colors WHITE = (255, 255, 255) BLACK = (0, 0, 0) # Set up the screen screen = pygame.display.set_mode((WIDTH, HEIGHT)) pygame.display.set_caption("NPC Joke Interaction") # Fonts font = pygame.font.Font(None, 36) # Jokes list jokes = [ "Why don’t skeletons fight each other? They don’t have the guts!", "What do you call fake spaghetti? An impasta!", "Why did the math book look sad? It had too many problems!", "Why can’t your nose be 12 inches long? Because then it would be a foot!", "How does a penguin build its house? Igloos it together!", ] # NPC properties npc_text = "Press E to talk to the NPC!" npc_x, npc_y = WIDTH // 2 - 100, HEIGHT // 2 - 50 # Game variables joke_displayed = "" # Main game loop running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False elif event.type == pygame.KEYDOWN: if event.key == pygame.K_e: # Player interacts with NPC joke_displayed = random.choice(jokes) # Clear the screen screen.fill(WHITE) # Display NPC prompt npc_surface = font.render(npc_text, True, BLACK) screen.blit(npc_surface, (npc_x, npc_y)) # Display joke if any if joke_displayed: joke_surface = font.render(joke_displayed, True, BLACK) screen.blit(joke_surface, (WIDTH // 2 - 200, HEIGHT // 2 + 50)) # Update the display pygame.display.flip() # Quit pygame pygame.quit()
@@Arctic_Jew I actually started doing jokes in March of 2020 (lighten the mood during Covid). They were only on Facebook & the. I decided to do videos(much more fun) I use a lot of different web pages & input from people. Thanks for watching!
You have a great day too
I love seeing these pop up on my feed! My dad used to send me jokes like this in college to help me get through the day 💖
@@ryleecarlton9415 I started my jokes during Covid in 2020 to keep everyone’s spirits up. Been doing videos for about last 2 years
Frozen assets is a great punchline 😂😂
@@bentobrocke4843 thanks
😂🤣
Dude isn’t funny
@@RickyBobby4-Real not supposed to be… bad jokes
@@mellovegas960DUDE looks like a lady…..Jokes on you! 😂😂😂😂
Very Punny 😊
Ha
it's my daily routine to crack the pun before your sip 😂
@@yasho. do you succeed often?
Wow that one is really good lol!
@@akittu 😎😎thanks
😊
Chewie 😂😂
That was a side splitter with tongue splinters
I don’t care these are the best kinds of jokes! 😅
Law-ffles?
That was soooo bad. 😂😂😂😂 but yet still (again) I am laughing.
@@FFrank-ic6go my goal is usually cringy worth badness 🤣
Love it! Keep em comin! 🍻
@@malamstafakhoshnaw6992 thanks!!!
@ Thank you sir
😊
I thought it was gonna be "case-adilla"
I was almost stumped. Nice mug.
Very funny, have a great day!
Good one
Lol!
Why don’t sharks eat lawyers? Professional courtesy. 😂
GROOOAAAANNN
@@gail9566 😎😎it’s what I do
You have a great day too, sir 👍
@@Some_Dumb_Nerd Sir?
As always, thanks.
verdy nice !! 🐟⚖️
Good one
@@amyboone125 thanks
I needed this video, so glad it was recommended to me!!
@@ryleecarlton9415 thanks for watching!
😂😂😂
The amount of dedication this man has is crazy. Why isn’t he getting more views (He’s been doing this for 2 years)
@@Silver_Titan thanks!! I do appreciate your vote of confidence, I have a blast doing these
Thank you. You also have a wonderful day
@@Scorchclaw thank you
import pygame import random # Initialize pygame pygame.init() # Screen dimensions WIDTH, HEIGHT = 800, 600 # Colors WHITE = (255, 255, 255) BLACK = (0, 0, 0) # Set up the screen screen = pygame.display.set_mode((WIDTH, HEIGHT)) pygame.display.set_caption("NPC Joke Interaction") # Fonts font = pygame.font.Font(None, 36) # Jokes list jokes = [ "Why don’t skeletons fight each other? They don’t have the guts!", "What do you call fake spaghetti? An impasta!", "Why did the math book look sad? It had too many problems!", "Why can’t your nose be 12 inches long? Because then it would be a foot!", "How does a penguin build its house? Igloos it together!", ] # NPC properties npc_text = "Press E to talk to the NPC!" npc_x, npc_y = WIDTH // 2 - 100, HEIGHT // 2 - 50 # Game variables joke_displayed = "" # Main game loop running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False elif event.type == pygame.KEYDOWN: if event.key == pygame.K_e: # Player interacts with NPC joke_displayed = random.choice(jokes) # Clear the screen screen.fill(WHITE) # Display NPC prompt npc_surface = font.render(npc_text, True, BLACK) screen.blit(npc_surface, (npc_x, npc_y)) # Display joke if any if joke_displayed: joke_surface = font.render(joke_displayed, True, BLACK) screen.blit(joke_surface, (WIDTH // 2 - 200, HEIGHT // 2 + 50)) # Update the display pygame.display.flip() # Quit pygame pygame.quit()
you too
Gramma ain't bout to let her young'uns starve!!
That was punny as hell 😂
🤣
Lets keep that camera off from now on
No need to be mean
Subscribing for hopefully more dry dad jokes. Perfect execution. I laughed so much
@@mars6233 thank you!!!! Trust me the jokes are bad
@mellovegas960 I love it!! I'm in!! You have my full attention
Always love tuning in every once in a while! Great joke!
I don't know about this one mellowvegas, but much appreciated <3
@@akittu yeah….. not my best (worst) but bad enough to suit me
@@mellovegas960 it's ok, can't wait for more though!
Love the mug. Thanks for the jokes
That looks cold today. I’m glad it’s 78 today for me!!
Stupid not funny
@@MariaOSullivan42 never claimed to tell funny jokes, just bad jokes 😀
Pretty rude
Yum 🤤 😋🍺😂
What's with the change of scenery today?
@@kittsumiiplays1525 I volunteer at a Lion habitat and I start at 7:00 so leave early morning
@@kittsumiiplays1525 it gets to the 60’s mid day. Vegas is not hot all year round for sure! 🤣
@@mellovegas960 a lion habitat?? that's sick as hell!!!
how do you keep coming up with these
@@kittsumiiplays1525 a lot of research 😎
Lol!
My wife’s favorite joke yet!!
Its crazy that youve been doing this for 2 years! How do you not run out of jokes?
@@Arctic_Jew I actually started doing jokes in March of 2020 (lighten the mood during Covid). They were only on Facebook & the. I decided to do videos(much more fun) I use a lot of different web pages & input from people. Thanks for watching!
Impressivd