Easy Way to Make Jumping in PyGame! (7 Mins)

preview_player
Показать описание
📑 SUMMARY
In this video, I show you how to make jumping in PyGame. I show you how to use Python to create games and how to make games in PyGame. In this PyGame tutorial, I show you how to make jumping by creating Mario in PyGame (not really). I show you how you can use jumping in PyGame so that hopefullly, you can create a platformer with PyGame. You can also use this tutorial to make PyGame platfomer physics. Hopefully Susan likes my keywords 🥺.

🔗 LINKS

⌚ TIMESTAMPS

0:00​ | Intro/Demo
0:44 | Making Mario Jump
5:59 | Disclaimer
6:55 | Thanks for Watching!

🎬 MY SETUP:
💻 PC: Custom Built:
✅ Intel Core i5-10400F
✅ Gigabyte NVIDIA GeForce GTX 1060 3 GB WINDFORCE OC
✅ Gigabyte B560M DS3H AC
✅ G-Skill Ripjaws V DDR4-3200MHz CL16 RAM (2x8 GB)
✅ DeepCool MACUBE 110 Micro-ATX Case
✅ Western Digital Blue SN550 500 GB NVMe SSD
✅ EVGA 500 BR 80+ Bronze Power Supply
⌨️ Keyboard: Razer Huntsman Gaming Keyboard (Razer Opto-Mechanical Purple Switches)
🖥️ Monitor: Acer Nitro VG240Y
🖱️ Mouse: VicTsing 2.4GHz Wireless Mouse
🎙️ Mic: Blue Yeti USB Condenser Microphone
💻 Secondary Laptop/Monitor: Dell Inspiron 11-3185 2-in-1

🎵 MUSIC

Track: Rainy Paradise — Next Route & WOMA [Audio Library Release]
Music provided by Audio Library Plus

🏷️ TAGS
- PyGame
- Make Mario with PyGame
- Jumping in PyGame
- Make Games with Python

Hashtags:
#Python #PyGame #Mario
Комментарии
Автор

This was the only thing I needed for my portion of the code in my group to be complete thank you so much!

seba
Автор

So satisfying seeing code work so perfectly

MowiWowi
Автор

I like the way you explain bro. Appreciate the detail!

KyleGameTesting
Автор

Clearly explained and simple! Exactly what I needed!

rajpulapakura
Автор

Nice. Now I can enable jumping for my PyGame Slime Destroyer project. You got a subscriber.

gamalielgerona
Автор

i found so much stuff that had like 10x your code and i understood your tutorial way better than all of the other ones ty for that

sasamak
Автор

THANK YOU MUCH!!

I WAS MAKING MY GAME ENGINE, AND WAS Stuck

BUT NOT ANYMORE
BECAUSE OF YOU

BE SURE TO CHECK MY ENGINE

Ishaan_Garud
Автор

Thank you! I never thought about how you'd make the character move up without teleporting it

Kal-elB
Автор

Thanks to this video, I can break copyright correctly

dualscreenchef
Автор

THE BEST tutorial, thanks man, very handy indeed

bhaveerathod
Автор

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

tasmiatasnim-pwgm
Автор

I have an issue where my character will land a little bit higher than where he jumps from every time I jump. My variable values are the same as yours.

Ray-sbqi
Автор

hey is there a way to make it so the "S" key would make you fast fall?

realjonav
Автор

Thanks man it works great. What does the boolean variable ‘jumping’ do in the code?

romanward
Автор

Great video! My suggestion is you should also show how to make it in sprite class. I saw many people usually used sprite class since it is more organizable. Love the content😁

ahmadsyahmibinjamaludin
Автор

cool tutorial, thank you. for some reason, mario_rect is at x=376 and y =568, so he's hovering over the ground... any ideas? i used the same values in the tutorial 400, 600

KeyGilz
Автор

very helpful tutorial, but how do i make it just fall though the ground and i cna make it jum again even if it doesn't stand on anything

Vitvab
Автор

for some reason it jumps and never comes down, i checked 100 times and i cant find the difference between my adn your code

tskvito
Автор

Thank you so so so much.Your amasing!!!!

seal
Автор

the sprite can jump how much it want like flying not just one time it can go up infinatly help

Ganav_ha_shtihim