Hello! Could you please do a tutorial on how to use other code in github and run it on visual studio microsoft.
@justnormal481819 күн бұрын
Thankyou so much
@justnormal481819 күн бұрын
Thankyou
@pablovasconcelos9394Ай бұрын
Dino is teleporting to top, try put the gravity to jump speed logic for fix it
@kittybread340Ай бұрын
Thank you so much <33
@TristanSimondsenАй бұрын
Did you distinguish between "picking" a door from "picking a door, able to open it and get the item behind that door"? Because you still have a 1/3 probability to "pick" a door that is "removed entirely" by Monty in Python. How do you then have the capability to open that door and also retrieve the item behind it? This will go down as the biggest hoax in mathematics history. What you just explained are 3 different games where the car didn’t move, and player picks Door A in game 1, Door B in game 2 and Door C in game 3. When in reality, each game player only has the capability to pick one door. ⅔ switch is actually ⅔ of the time you won’t pick the car so switch to the door with the car. The two doors you didn’t pick are (1-X). Can’t use (1-X) as X to then say you are twice as likely to pick these doors so switch. Player picks ONE door per game. He only has one door that he’s able to stay at or switch from. He doesn’t have two doors to stay at or switch from. In order for player to be able to switch from a no-car door, that door needs something tangible behind it. Otherwise a no-car door will always be recognized and calculated as the complement of 1. Replace the two no-car doors with a dog and a horse so you’re not letting two goats confuse what is the probability behind each single door. Sims, i.e. Python, require very specific language and prompts to get precisely what you’re looking for. “Picking” a door is different from being able to then “get the item behind that door”. “Eliminating” a door is different from the door being “removed entirely”. P.O.V. is also sensitive. Asking for player’s probability to the item is different from the probability of an item behind a specific door. Paul Erdős, the “Albert Einstein of Mathematics”, along with thousands of mathematicians and university math professors did not believe it was ⅔ always switch. Paul only relented because the simulations kept showing him ⅔. In 2024, there are ChaptGPT and other AI for everyday people like myself to play around with the language and isolate the flaws in those sims. The only way for you to clearly see what is happening, you need to solve for 9 Xs - finding player’s probability to pick a specific door, being able to open that door to get the car, the dog or the horse, all at the same time. Let’s call this player “Max”: 1. What is Max's probability to pick Door A, open Door A to get the car? 2. What is Max's probability to pick Door B, open Door B to get the car? 3. What is Max's probability to pick Door C, open Door C to get the car? 4. What is Max's probability to pick Door A, open Door A to get the dog? 5. What is Max's probability to pick Door B, open Door B to get the dog? 6. What is Max's probability to pick Door C, open Door C to get the dog? 7. What is Max's probability to pick Door A, open Door A to get the horse? 8. What is Max's probability to pick Door B, open Door B to get the horse? 9. What is Max's probability to pick Door C, open Door C to get the horse? In ONE game, this will be the result if you code it correctly: Max picking Door A, opening Door A and getting the car behind Door A ½ Max picking Door B, opening Door B and getting the car behind Door B 0 Max picking Door C, opening Door C and getting the car behind Door C ½ Max picking Door A, opening Door A and getting the dog behind Door A ⅓ Max picking Door B, opening Door B and getting the dog behind Door B 0 Max picking Door C, opening Door C and getting the dog behind Door C ⅓ Max picking Door A, opening Door A and getting the horse behind Door A ⅓ Max picking Door B, opening Door B and getting the horse behind Door B 0 Max picking Door C, opening Door C and getting the horse behind Door C ⅓ As you can clearly see, in this one sim, Door B was removed entirely, which means Max randomly picked either Door A or Door C. Probability to get the car in either door is the same whether he stays or switches. If Max picked Door A and stays at Door A, he has a ½ probability to get the car. And if he switches to Door C, which is the other door that wasn't removed entirely, he has a ½ probability to get the car. If Max picked Door C and stays at Door C, he has a ½ probability to get the car. If he switched to Door A, he has a ½ probability to get the car. If you are getting a different answer just ask yourself, and AI, does Max have ANY probability to pick, open and get something behind a door that is no longer even there? Gotta love 2024 for you to find these simulation mistakes. Even AI will tell you, it’s made a mistake. I’m sure the programmers for these current AIs are all ⅔-always-switch cult members. In THREE games or more, this will be the result if you code it correctly: ⅓ (Max's probability of picking Door A, opening Door A to get the car) ⅓ (Max's probability of picking Door B, opening Door B to get the car) ⅓ (Max's probability of picking Door C, opening Door C to get the car) ⅓ (Max's probability of picking Door A, opening Door A to get the dog) ⅓ (Max's probability of picking Door B, opening Door B to get the dog) ⅓ (Max's probability of picking Door C, opening Door C to get the dog) ⅓ (Max's probability of picking Door A, opening Door A to get the horse) ⅓ (Max's probability of picking Door B, opening Door B to get the horse) ⅓ (Max's probability of picking Door C, opening Door C to get the horse) In these games, the probability is ⅓ because Max's initial pick is random, and Monty’s elimination process does not alter Max’s chances of picking, opening a door, and getting a specific item behind it. Vos Savant said of the thousands of letters that came in to dispute this claim, 65% were from mathematicians and university math professors. Right; they're ALL wrong. Now I know why the sims are always 2/3. Hey Paul - this is for you. I’d take your word regarding math over a Sunday columnist for a celebrity newspaper any day.
@C_Plus_PyАй бұрын
Such efficient code. It's almost hard to believe how much better this looks. I'll be incorporating this in my next pygame programs! Thank you so much
@LersdayАй бұрын
why didnt you just use pygame gui?
@rip_vision3043Ай бұрын
merry
@ramazandurmaz3012Ай бұрын
The apple can spawn in snake's body. That was not being checked. Either a while loop or recursive function needed for that.
@xoxo.lxly.D4rk_W0lFАй бұрын
Ummm my isnt working its saying at line 27 that there s a comma issue?
@kidspositivelessons7934Ай бұрын
Please provide the source code 🙂
@fabianandrestullo9518Ай бұрын
DEJA LAS PALABRAS GLOBALES AHIIII
@gamelad12352 ай бұрын
whenever i run it opens a widow with a green backround ad loads of lillte balls
@camilam.teszkiewicznovick80482 ай бұрын
good tutorial man, ie subscribed and liked. good Luck with future projects!
@ChickenSandwich-vi8bz2 ай бұрын
i'm getting and error and i can't figure out why its saying "No file 'font.ttf' found in working directory".
@pain73592 ай бұрын
what is this call the font.ttf
@darkultimate67232 ай бұрын
Video does not work for me I watched the tutorial for hours but it only works when I hold space or any other key down.
@Dreabpy2 ай бұрын
way too underated
@Dreabpy2 ай бұрын
186 views is wild
@KyleGameTesting3 ай бұрын
I like the way you explain bro. Appreciate the detail!
@samhonor66313 ай бұрын
your voice changed a lot from the button video to this one, thanks for the vids
@KnaniBody3 ай бұрын
what is a rect
@llamaben293 ай бұрын
What does the NULL pointer error mean
@CaseyBlase3 ай бұрын
Okay... but like... what happens if you push them both... do they layer!? Damn it... that's the only thing I watched for to see.
@rdproduction43613 ай бұрын
PLN 10.00 hello
@creepy2223 ай бұрын
hey i saw your video on making a colour picker with pygame gui, it was useful but i cant find any other tutorials on the pygame gui module. it would be really cool if you had the time to make one!
@ok-hb6hh4 ай бұрын
nice video!
@kevincarter37534 ай бұрын
awesome tutorial!
@kevincarter37534 ай бұрын
Great video!
@brooklynstizzi30474 ай бұрын
loll why would we want the illusion of a different screen?
@abhipatel45954 ай бұрын
How old are you? You look young in this video, its good u start your channel when ur young :)
@granpajestaz2924 ай бұрын
Nice try lol
@abhipatel45954 ай бұрын
What?
@Vyom_064 ай бұрын
Hello, I have a question if you reply with ur email I could forward you my code and the issue is that I’m having trouble implementing this games menu into my existing game
@brunopauletti19614 ай бұрын
in "def get_font(size):" what you put in?
@el_mapache44864 ай бұрын
Very usefull thank you very much, I edit the code a little bit because I made the buttons transparent because I already made in paint the menu backgrounds with the buttons lol, so I only situated empty png images over the "buttons" to seems like that you're pressing a button xd
@marcinbaryka14905 ай бұрын
I think you forgot about mixer initialization. Without this it would not gonna work: "pygame.error: mixer not initialized".
@Geometrydashing-f8xАй бұрын
Sa,w
@Geometrydashing-f8xАй бұрын
Same
@dgofficial-r5f5 ай бұрын
I need help. When I finish creating the paddles, the game screen shows nothing but a black screen. Is there anyway to fix it?
@TheDefilerAzog5 ай бұрын
u need more subs this is actually so good.
@TheDefilerAzog5 ай бұрын
thank you
@tbinaryg5 ай бұрын
thanks, this was really useful
@ludvig77495 ай бұрын
btw if you want the ai a bit faster just chance the value to 2 it moves faster :)
@gordonmctague17235 ай бұрын
I'm haveing trouble importing the gui
@UsernameaBad5 ай бұрын
thanks
@tasmiatasnim-pw7gm5 ай бұрын
I don't understand one thing, y_pos = y_pos - jumpvel(10) wouldn't it go way up the screen then vel would become 9,8... to 0 won't this be beyond our screen. i get it how it goes up and then down but i didn't understand this part. Upward movement: 10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 55 units Downward movement: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55 units why it doesn't look like it jumped 55 units
@Darkmatter3216 ай бұрын
Can I have the goat?
@popomasher6 ай бұрын
I found a work around for this gettging the FONT errors and put in LargeText but now am putting the elif event.key, and I am getting no module for key? pygame.event.event' object has no attribute 'key' anyone else get that or know a work around??
@sanaaaaa6666 ай бұрын
if i want to use multiple files how do i call the functions as the mouse is pressed?
@yarin83506 ай бұрын
Amazing tip on how to use multiple screens! I had a big issue with having different resolutions for my main menu and gameplay and this really helped. Thanks a lot!