Making a Game in Python with No Experience
Today I made my first game in the Python programming language using Pygame, which is a graphics library. Let's see if I can create a holiday inspired game with no experience.
Checkout Don't Touch My Presents here: goodgis.itch.io/dont-touch-my...
► Source Code: github.com/Gooodgis/dont-touc...
Shout out to my boys @barj & @PolyMars for inspiring/encouraging me to make this video!
✦ Discord - / discord
✦ Twitter - / gooodgis
✦ Games - firith.itch.io/
Chapters:
0:00 Intro
0:31 Python Setup
0:55 The Game Idea
1:17 Drawing a Window
1:30 Adding Artwork
2:00 Basic Movement
2:32 Goal of the Game
3:07 Adding More Features
3:56 Collisions
4:23 The Game is Fun
4:40 Audio & Music
5:23 Conclusion
┈ Similar Videos ┈
Goodgis - I've Secretly Been Working on an MMORPG
• I've Secretly Been Wor...
Goodgis - How To Get Started With Game Dev (Beginner's Guide)
• How To Get Started Wit...
Polymars - 2 Python Developers VS $1000
• 2 Python Developers VS...
Barji - So I Made a Python Game in 48 Hours…
• So I Made a Python Gam...
Polymars - C++ Developer Learns Python
• C++ Developer Learns P...
I've been wanting to create a game without an engine for some time now. Specifically the Python programming language because it's easy to learn and used by many companies today. I decided to use the Pygame graphics library and see if I could create a game in 48 hours...though it may have taken me a couple days longer... If you're wondering "How to Make a Game in Python?" or better yet "How Easy is Python to Use" then you were on the same page as me. Hence why this video exists.
#Gamedev #Programming #Python #Pygame
Пікірлер: 808
I love the mindset of, "if I can make this blue square appear, I can do anything", it's such a great mindset to have especially when programing :))
@Goodgis
Жыл бұрын
Absolutely!! haha
@amira.ismail8004
Жыл бұрын
I'm keeping your likes this way *69!*
@s1ndd3r87
Жыл бұрын
We all started with a simple “Hello World!” :)
@GuizinPE81
Жыл бұрын
if you can fill the screen, draw pixels in the screen and refresh the screen, you can do anything
@keithle_
Жыл бұрын
Literally
honestly one of the only youtubers that can entertain me these days. keep it up!
@Goodgis
Жыл бұрын
Aww, thanks so much! :D
@Macabremedia935
Жыл бұрын
frrrr
@rafshkim
Жыл бұрын
So true
@punkseth1
Жыл бұрын
true. im tired of youtube but if i see a new goodgis video: instant click
@___idk
5 ай бұрын
...
Pygame is really fun to use. I would never be able to tell that you have used python for the first time. Good job!
@Goodgis
Жыл бұрын
Thanks so much! :D
@andres3665
Жыл бұрын
It is kinda like GDScript so very beginners friendly.
@bubbleboy821
Жыл бұрын
Yeah it's because it's a lie.
@illford6921
Жыл бұрын
@@bubbleboy821 explain, can't drop a comment like that and not explain
@cftpafan
Жыл бұрын
@@illford6921 just salty that they can't accomplish anything in life
My highscore is 13. I know it's not a lot but there were many unavoidable situations I really liked how polished this game is inspite of being made in 3 days Good job
@Goodgis
Жыл бұрын
Woah nice! Yeah, there are some pretty cheap hand placements.
@ffheadshotgaming9833
Жыл бұрын
Same
I remember seeing this appear on twitter a few times! It's so nice, and looks very inviting. Well done!
@Goodgis
Жыл бұрын
Thanks, dude! :D
I love seeing people experiment with other languages and frameworks for game dev! This game looks hella polished too, about to play it on itch! I remember making a game in a Javascript Framework called Phaser 3 and something about working outside of an engine just made the whole process a lot more fun? This reminded me a lot of that :3
@Goodgis
Жыл бұрын
It was a ton of fun to work on!
SUBSCRIBE if you love or hate Python. (Source code in the description.)
@clifDev
Жыл бұрын
I wanted to tell you this, you are my biggest inspiration for game dev. You got me to start messing with Godot and some other engines. Thanks Goodgis ❤
@csd4ni3l
Жыл бұрын
I love Python! (and i am already subscribed)
@Macabremedia935
Жыл бұрын
what if i think pythons just mid? been subbed since 5k anyways lol
@maybeanonymous6846
Жыл бұрын
I love and hate Python at the same time
@VerySmartPerson
Жыл бұрын
Unsubscribe if you don't feel strongly either way!
Python is a pretty good choice for beginners ngl. It's straightforward most of the time, and it only gets as complicated as you make it. Though some things just go over my head, like converting .csv files into tile maps. That's a pain...
@bluesillybeard
Жыл бұрын
Yeah, python is absolutely amazing when you're first learning. But when it comes to more complex applications that aren't just a one-off deal, it gets very complex and headache-inducing very fast.
@RedHair651
3 ай бұрын
Have you tried using Pandas? It can read CSVs directly
*”If you don’t know how to code python, type print(“Goodbye World”).”* *-A wise python programmer*
@Phymacss
9 ай бұрын
This made me laugh a lot
This game looks incredible! I love your art style so much!
I’m glad to finally see a new video! I know you’ve probably been super busy with having Babygis and who knows what else but I’m glad to see you making a game again!
@Goodgis
Жыл бұрын
That's for sure, but she's so worth it. :D
@colliercubing3990
Жыл бұрын
Aw, Babygis, I love that!
@VengefulSpectre
Жыл бұрын
@@Goodgis I can see her coding like a champ when she's grown lol. Anyways, I look forward to the next vid!
Dude, I love your videos and your mindset and just how entertaining you are. Amazing videos man, keep it up!
Cool! you are so close to 100k subscribers!
@Goodgis
Жыл бұрын
🎉 We're so close! :D
@SirAU
Жыл бұрын
@@Goodgis yay
@LocalTrashyt
Жыл бұрын
I keep forgetting that goodgis isn’t at 1mil. The video quality should get him 1mil.
You just got a new subscriber. Great work and well made entertaining video!
Great video man! Definitely makes me want to get back into PyGame 😍
I love the way you used your firth vector art style for the game! Never really thought about making a game engineless. Maybe I'll have to give it a try one day. Great video once again!
@Goodgis
Жыл бұрын
You totally should, this was a ton of fun. And thanks so much! :D
@Seedx
Жыл бұрын
I’ve made dozens of games, but never one with a framework or game engine lol
Dude, that video is truly awesome. Nice work
You did such a great job with the style of the game! Thats amazing!!!
You are an absolutely amazing KZreadr and I personally love watching your videos, it’s amazing that you’ve learned how to (partially) use JavaScript on your own! Keep up the amazing work!❤
I’m learning Python now, and it’s really cool to slowly be able to read other peoples scripts and understand what they do as you learn each topic.
You seemed to have a really good time on this one, definitely have to try Python for good very soon ! Really nice job
@Goodgis
Жыл бұрын
You should!
I've just started to learn to code and was looking up some videos when I found this masterpiece and it's crazy how you created a whole ass game for a 5-minute video I love content creators like this man you must really love your job this was such a great video
Amazing game! Congratulations on the baby!!!
Excited to see what you made after seeing your short preview on twitter!
@Goodgis
Жыл бұрын
:D It actually turned out way better than I thought!
You inspired me to be a game dev and after watching tons of your videos plus other peoples videos I’ve made my first game it sucks but it’s my game
@ScopeCrepe
9 ай бұрын
Everyone starts out as a newb. Good job!
This is wonderfully entertaining keep making these great videos
@Goodgis
Жыл бұрын
Thanks so much! :D
That thumbnail, your art style and the color palette, they are just perfect and are the reasons I clicked on this video
@forbiddenbox
Жыл бұрын
The thumbnail is so polished!
@ahmetemiruludag
Жыл бұрын
@@forbiddenbox yeah
@Goodgis
Жыл бұрын
Aww, thanks so much!
I also got into coding because of a love for video games and I want to figure out a way to make them using Python so this video is very timely!
I started watching you a while back and you inspired me to start with godot and game development in general. Thank you so much for
@Goodgis
Жыл бұрын
That's awesome! My goal is to encourage. :D
@limeedhot
Жыл бұрын
nice im glad he gave you
yeyyy finally you used python for game development! :) i create games with python as a hobby and its great that you tried it out! i dont use pygame anymore, i use another module called pyglet(a high-level OpenGL wrapper) for gameplay and arcade(pyglet wrapper, because pyglet is only for rendering, and not for anything else like collision detection, etc. and it even has builtin Tiled(a map maker program} loader and builtin pathfinding!) for gui. Also great video! (Your voice is calming btw 😂)
@Goodgis
Жыл бұрын
Oh, I'll have to check it out in the future!
Just found your channel, the content is really good! A lot of decking’s are just too low level or meme-y. But your style and ideas have a lot of personality. Here’s a sub!
@Goodgis
Жыл бұрын
Thanks so much, and welcome aboard.
I have no experience with python so I signed up for a 3 month python gamedev course and it's starting next week! Great vid as always by the way!
@seanc6228
Жыл бұрын
Good luck!
This is very cool. Especially for those who have not studied Python before) I always knew that you would bring any idea to ideal (or almost). Also very good video presentation. I also love your games. I'm waiting for release of Wiz Birds online 2) Crepe told me that it will be released soon)😄
@Goodgis
Жыл бұрын
Thanks so much! :D (also soon as in...after Dewdrop) haha
@KiteGamedev
Жыл бұрын
@@Goodgis hah)
congrats on 100k!!!
Your so close to 100k! Wish you the best of luck!
@Goodgis
Жыл бұрын
I know, we're so close! Thanks so much :D
Great work man. Proud of you.
1:50 you legit said :" I created this cute little "cute" present" 😂
woo!! making game art with illustrator!! its a blast i love it
@Goodgis
Жыл бұрын
;)
good job in getting out a hit vid with a simple journey credits to quality of video and title
I don't know y but u made me feel that coding this game is a piece of cake ! I might be wrong though need to try it for myself. Anyway good job!🥳
nice video! now i'm interested in trying out pygame after watching a bit of the video
@Goodgis
Жыл бұрын
You should! :D
@Lestro
Жыл бұрын
I have been working with pygame for nearly 8 months and it has been a favourable experience making games and handling games with sprites is easier and better.
really cool video, loved the usage of pygame :)
@Goodgis
Жыл бұрын
Thanks so much!
I am a newbie in this field your content is really nice
amazing fun game!
It is actually hard haha, and I think thats part of what makes it so fun, you actually need to focus sometimes, and overall it looks amazing haha good job
@carlostorres-yk4vc
6 ай бұрын
My highscore is 15, it sometimes impossible
Yup! definitely worth subscribing!!!
Ahhhhhhhh This brought back my excitement, love and passion for coding :>
Bro I learned how to use pycharm and that was hard enough but this takes it to a whole new level good job
@xseis.
Жыл бұрын
pycharm is the same as vscode when it comes to python
I got 17 after a few tries. It's rly good for what you made in 3 days and no experience. I tryed to do a game with python but never really had the time for it. Now that I've seen this I might just try to finish it for once.
Wow bro no experience?! and you made that, very impressed
Neat! Love it, Goodgis!
@Goodgis
Жыл бұрын
Thanks so much!
Love your thumbnails!
@Goodgis
Жыл бұрын
Thanks so much!
This is so fccking awesome.
Cool I always wanted to use Python. I liked hearing from your experience.
@Goodgis
Жыл бұрын
You should!
I have a bachelor's and master's in computer science and the main focus throughout college was programming in c and c++. When I first started programming in python I started making functions for tools that already existed like a make a function to detect a substring or something of that nature. It took a while for me just to use what is there instead of making it myself.
great video and congrats 🎉
@Goodgis
Жыл бұрын
Thank you!!
i'd hate to make something like this without a game engine. but it is good experience, just subscribed, i wanna see more stuff like this it was really interesting!
@Goodgis
Жыл бұрын
It's fun for non-commercial projects for sure. Also thanks so much!
You're funny and you're still giving the info. 💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯💯 you're great man.
that present looks so cute!
Nice video! Pretty creative
wow this is amazing!!
This is a nice thing to watch since it’s so relatable
@Goodgis
Жыл бұрын
Aww, thanks so much!
Honestly, when you mentioned pong I thought it was gonna be a game where you catch flying toys in presents to box them up lol. This looks fun too though!
Can you share the list of packages you installed in sublime because it looks really good and I want to make mine look the same
Game 10/10 BRO, SUPER!
Really cool to watch, especially bc I wanna learn how to code in python
How was the switch from GDScript to python? I jumped from python (for gamedev and for work) to GDScript and it was basically a seamless transition, so I'm curious how it is the other way round.
Thanks for the video
broooo this is sooo amazingg man. wow.
@Goodgis
4 ай бұрын
Thanks so much!
Great it helped a lot 🎉😊
Gg on 100k
great video, i'm subbing
This is the most inspirational video I have ever seen this video itself is a present!
@Goodgis
26 күн бұрын
haha thanks so much!
Thank you~~
Goodgis, you´re my favourite youtuber of all time!
@Goodgis
Жыл бұрын
Aww, thanks so much!
this is the first video of you that im seeing so cool! how long do you think i would need to learn python to be able to write a game like that?
You was so close to 100k🎉🎉
Him just completely ignoring the fact that his art is amazing
this was a good video, thanks for me entertain.
Despite watching a lot of game dev videos I'm suddenly realizing that maybe games aren't usually coded from scratch and I should figure out a game engine so that maybe I can actually get some projects done instead of getting stuck at reinventing physics and trying to draw icons for 4 hours straight
@limeedhot
Жыл бұрын
yeah 99% of games are made in a game engine
@limeedhot
Жыл бұрын
and thats not much of an exaggeration the only games that arent made in a game engine are like nintendo games. nintendo makes their own custom engines just for one single game if they care enough on that one game. so like super mario odyssey uses a custom engine. not sure about others like ps and xbox because i know nothing about those but yeah
@MrCmon113
Жыл бұрын
Bingo.
@ScopeCrepe
9 ай бұрын
They used to be, but you should learn how to finish game in an engine. Then try to finish a game without one
dude this is actually a pretty fun game. looks great aswell. could you make it into a small mobile game with Godot or smt. would be fun to just fidget with it while thinking
@Goodgis
Жыл бұрын
That's a great idea!
@Vexxel256
Жыл бұрын
It is possible to port a pygame to android
This gives me encouragement. I have an idea, but no experience. It's not even hard to create, i just have no experience
@PAFBEAST
19 күн бұрын
Get experience by doing it directly
@kylespevak6781
19 күн бұрын
@@PAFBEAST Facts. I was messing with Godot for a bit and made some stuff. Game development is definitely a beast of a task
That was a pretty good video and I can’t wait to try out the game. I have a question though: what program did you use to convert the python file and it dependencies to an .exe file?
@ScopeCrepe
9 ай бұрын
pyinstaller
This was soo cool because of how easy it is to download it
This is really inspiring
omg never thought that anyone can ever make sublime text this cool
Wahhhhhh u are the best and ur coding too
Amazing video, although the Mario Paint reference has me feeling my years :P
i checked out the game, its amazing, the art and everything felt really polished, except the gameplay, occasionally there would be impossible scenarios like two hands forming a wall that's impossible to clear
Congrats on the baby dude
@Goodgis
Жыл бұрын
Thank you!! 😊
this is incredible
Pygame is such a bless of a library for a bless of a programming language. I'm currently using it to learn OpenGL, pretty fun stuff.
@Goodgis
Жыл бұрын
Sounds fun! :D
I have been working with pygame for nearly 8 months and it has been a favourable experience making games and handling games with sprites is easier and better.
for little projekts like this could you make some sort of trailer or glamoure shots maby like a preview (love the game btw)
that was amazingly great content! However I believe that there was experience , in coding at least .
hi ….. i watched this vid like a day after it was released….. it has been 2 months and back then i had no idea how to use python but then i got into it and i m very close to master it ….. i hve been making a game which includes every stage of my game for the past 2 months for example , 2 months ago i couldn’t do complex coding so the game was a bit simple but as my ability to code grew, i added more complex features . and now i m done with my game . it is a game that is similar to bedwars and the graphics too ! so i m here just to say thanks alot as i received my first customer or a stranger who tried my game and rated it 5/5 . i m crying due to happiness….. i hope this story of mine inspires people just like how u did …….. my goal IS TO MAKE 3GAMES THAT ARE CLOSELY RELATED TO FORTNITE AND OTHER BR WITH OP GRAPHIC THIS YEAR( yeeeee i need more software aaaaa ) so WISH ME LUCK AND GOOD LUCK EVERYONE!!!
my high score is 15, i gotta say, I love the sound tracks. also loving the artwork.
Hell yeah! A new pydeo!
@Goodgis
Жыл бұрын
;)
yes! great video!
@Goodgis
Жыл бұрын
Thank you!!
I dont specfically like or appreciate videos but as a biggenner software engineer this was a source of motivation for me.