I Made a Game in 20 Hours with Python [Timelapse]
Ғылым және технология
I made a game using Python and Pygame within the 48 hour time limit of the 50th Ludum Dare with the theme "Delay The Inevitable". I spent about 20 hours working on the game and made all the assets (sfx, artwork, etc) myself. Get the game (+ source code) here:
dafluffypotato.itch.io/explont
Music:
OneShot Soulstice - Sunrise Remix [Kamex]
• OneShot Solstice - Sun...
Patreon: / dafluffypotato
My Discord Server: / discord
Potato Tier Patrons:
Abeastsgaming
Agent Effe
Chris Birster
Dale Topley
Eivind Teig
GaryTMSFruitcake
kirat=1
#gamedev #python #pygame
Пікірлер: 115
I'd like to think that fluffy personally crunched lollipops for that crunching sound effect
@DaFluffyPotato
2 жыл бұрын
It was ice cubes. I don’t have any candy. :(
That's so cool man I always wanted to make games like urs you are really talented bro
I would love to see tackle a complete different project way out of your comfort zone. I'm not saying its a cake walk but most of your projects seem more like a iteration treading the same old ground. But I understand if you love this genre and style you've got going on for yourself.
@DaFluffyPotato
2 жыл бұрын
I'm mostly just trying to perfect my art style for platformers (selling games effectively largely depends on designing based on skillset). Additionally, this is the first time I've made a platformer for the Ludum Dare in over 3 years, so I wanted to see how it would do. I also hadn't won an Alakajam in a while, which is why Gleamshroom was a platformer. I can and have made top-down games, isometric games, turn based RPGs, RTS games, puzzle games, and more. I'm even working on an online game right now for fun. In terms of code, the only stuff outside of my comfort zone is 3D stuff. For near-future game jams, I'll probably do less platformers for a bit since I just did them for both the LD and Alakajam.
@AkshayKumarX
2 жыл бұрын
@@DaFluffyPotato I completely agree that your priorities should lie towards making a living and if this stuff is your jam then I'm not anyone to stop you. The games you've showcased on this channel have definitely got more going on for them in depth and complexity than the surface level appearance that I criticized. Remember to craft a meaningful and enjoyable experience that would keep everyone coming back for more.
@marcoantoniovalencia8694
2 жыл бұрын
@@DaFluffyPotato 0:44 MS paint? 👍👍
I’d love full hours-long version walkthrough tutorial 🙏🙏🙏 It’d be the best gift for me this year 😄
Amazing work as always 👏
@TheSuikoEnjoyer
2 жыл бұрын
Slava Rosii!
sprite assets made using paint... absolute legend
@yak-piss
2 жыл бұрын
They also used Aseprite at 1:20
this is amazing! I've been thinking about what to do with python now i have the basics down. As a gamer i have always wanted to make games, even made some simple unity games but i never got past the basics. I've been wondering how far you can go with just python and it seems like you can make some pretty complicated stuff! I congratulate you for your great work! It is motivating and inspiring! Could only be cooler if it had been done on a Raspberry pi lol.
Thas some wild shit bro your creativity is lit af ngl 🔥🔥🔥
I was lucky enough to manage to catch all streams (apart from one)! It was really interesting how you managed to make this game, and the result has amazing graphics! I have a few questions: - how do you make the background shadow behind each sprite? - can I use your tree sprites and vfx (like for example the animated foliage, grass, sparks, font) in my game?
@DaFluffyPotato
2 жыл бұрын
1. A shifted mask 2. Only the font and sparks at the moment. The others are all rights reserved. (Sparks are open source from Aeroblaster and the font is public domain on my website.)
@skysurfer_kon1641
2 жыл бұрын
@@DaFluffyPotato Thanks! When will the grass/animated foliage be free to use (if it will ever be open source)? So the shifted masks are all drawn before the sprites? Couldn't it overlap with the front?
Hey, how did u do that circle effect when hit the ground, like a cricle making bigger?
Dude! You are a machine! Respect!
bro really coded, designed and produced OST so raw and powerful broski
Amazing. Since python is my strongest language I’m thinking of switching to PyGame at least for 2d projects. Well done man you are inspiring!
Hello, how do you legally distribute your games in combination with libraries such as PyGame? (with PyGame being under LGPL)
Your drawing is a big killer .. wow!❤👌
Where did you learn python from? Care to share the resources?
Can you make a level editor tutorial? I want to try and make one, but the prospect kinda scares me and I don't know how to save files for that kinda thing lol.
your games got the juice and that's dope as fuck
Great work man
dam bro you are an inspiration to me. Can you tell me a little about your history behind programming?
increíble buen trabajo increíble trabajo
How did you make the sfx? like can you give me at least and Idea how to make your own sfx.
How did you make that level editor or what did you make it with? Also how long did it take you to make a level editor because I’m wondering if I should make one or just manually put the images in (I’m new to this lmao)
@CaidenSteele123
2 жыл бұрын
Also I love your videos and your artwork is amazing
@bojanjeremic1411
2 жыл бұрын
Its not really hard to make level editor,made one myself,but his level editor should be open source,not sure tho
Do you know how to use ursina engine
😎 Very nicely done!
Anyone tell me what is the second application
how did you make the in-game pause menu
Hey guys any resources about strcturing your code for games?
You have any experience with turn based stuff? I’m thinking about jumping over to Python because I hear it’s much faster than Java!
@DaFluffyPotato
2 жыл бұрын
Yeah. It’s not hard. I just don’t play those types of games
@kristoff_t2013
2 жыл бұрын
Java isn't faster than java. It's much slower. Trust me. Python is still a great language, so you don't waste time learning it. After I spent learning it for 4 months, 4 hours daily, it's really hard to me to learn another language like Java or C++, Because they are much complicated ):
@tjgdddfcn
2 жыл бұрын
Nah both python and java are known to be the snails of programming launguages XD
Could you please provide a tutorial on making a tilest/sprites using MS Paint?
@abraxas2384
Жыл бұрын
Up
nice video. One tipps for the future: the music is louder than in normal video. Consistent volume important for people who have their speaker on high volume otherwise they will no longer want to watch your videos
@spaidory874
2 жыл бұрын
lower the volume then
Ur making games so good u should start a big project and release it to steam or something
what did you use to make the games music
@DaFluffyPotato
2 жыл бұрын
FL Studio, but the music for this game is really bad since I ran out of time. lol
Thkansss, how do you make this timelapse pleassee
@DaFluffyPotato
Жыл бұрын
Chronolapse
Bro want a tutorial series of this game....a serious one..please!
O cara cria o sprite no paint, MY LORD
How did you learn please
You have any game dev course?
@DaFluffyPotato
5 ай бұрын
My last tutorial is sort of a free one.
Is it possible to turn it into an APK and run it on my phone.
What game engine is this
Man dope this is yes.
how make textures
Hello, can you make videos about stuck with game ideas? I'm glad if you make it.
Can u publish this games into playstore? That would be awesome
Did you ever considered making pygame game engine?
@ethanevans8909
2 жыл бұрын
He kinda already did. His framework has a lot of the abstractions that an engine would, it just doesnt have a UI.
@rayanme215
2 жыл бұрын
@@ethanevans8909 that's fucking cool. is there any way to get it ?
amazing
man had aseprite but still decided ms paint was better for drawing the design, madlad
your level editor is open source?
@DaFluffyPotato
2 жыл бұрын
No
@daveatsea9465
2 жыл бұрын
@@DaFluffyPotato That's a impressive work, Well done!
good job
What a chad. Makes all the art in paint and uses aseprite only for animation.
I envy your skills.
Mn thanks for the source code
Dude i barely know hoe to type " import turtle" how the hell
wow This is amazing, 8.5/10!
Neat
How do you publish games if you are under 18?
@rc8s
2 жыл бұрын
There's no age limit
Amazing man! How long do you have to code to get this good? I am in my third week of learning mainly Python lol, it does not feel real that I could someday create a game, an app, or anything nearly functional for people to use.
@DaFluffyPotato
10 ай бұрын
I've been coding for 10 years
It'd be cool if you tried the ursina engine for python
@Blinkers2007GameDev
2 жыл бұрын
It’s great for making 3D and 2D games with python, but honestly he should just learn unity trust me I’ve been there and it’s the best.
@vitorgabrielgomesrodrigues
2 жыл бұрын
@@Blinkers2007GameDev It depends, in my experience it was laggy, slow and crashed really often
@Blinkers2007GameDev
2 жыл бұрын
@@vitorgabrielgomesrodrigues huh. Maybe you’re computer isn’t that good? For me it works much much better and is the best plattform. I have tried all of them, I tried pygame ursina engine OpenGL and Unity and it’s by far the best one. Now If you want to make 2D game and design like you want and kniw python pygame is the best but other than that for 2D and 3D games Unity is the best. Also, you might have used unity wrong.
@vitorgabrielgomesrodrigues
2 жыл бұрын
@@Blinkers2007GameDev Wdym "used Unity wrong"
@Blinkers2007GameDev
2 жыл бұрын
@@vitorgabrielgomesrodrigues idk man when I used it for the first time I hated it and immediately switched back to ursina. When ursina couldn’t help me with my game I decided to give Unity annother go and it turns out it was a lot better. It could be personal preference it could be because you haven’t given it much time attention and effort it could be the performance somehow is worse for you it could be that it doesn’t fit you and it could be that you simply don’t want to switch to a new engine. I get that. But overall and for most people Unity is the best and I promise you use it enough and it will be good for even you.
Not trying to be harsh here, just would like to specify - did you REALLY make it whole in 20hrs? Because I can clearly see features and effects from your older videos used here, effects that you spent multiple videos explaining, soooo..Could you make an estimation how long would it take if you started from scratch, please?
@holmnerd
2 жыл бұрын
By that logic wouldn't it also be cheating to use more fleshed out game engines like Unity and especially packages like their Camera controller, Tilemap system, Particle system, HDRP render pipeline? The code in these tools isn't something you've made during the game jam time, so therefor it shouldn't be allowed. I don't think that would make any sense. Reusing code, especially your own code is allowed in most game jams.
@vasarolnik
2 жыл бұрын
@@holmnerd as I wrote, I'm not negative here, just wanted to know an estimation, how long would it take from scratch..Like whether it would actually be possible to have this kind of quality and polish in a game jam scenario..But since you brought it up...I DO feel it's a bit "clickbaity" and..not really honest to use this king of thumbnail and name (I made a game in 20 hours with Python)..I don't know.. it feels...off.. If someone new came over and saw this, they would think this was made in Python in 20 hours from scratch, since there is no disclosure about custom self made "tools", and that doesn't actually feel right to me.. But I am not judging, just sharing my own opinion.
@DaFluffyPotato
2 жыл бұрын
All of my framework code that I used was either open source or accessible under my Patreon (similar to how you might buy a Unity plugin). Pre-existing code must be publicly accessible (even if it’s behind a paywall) as a requirement for the Ludum Dare. As stated above, it’s no different than using a game engine. The whole idea of the “COMPO” category in the Ludum Dare is that the project is built from scratch. I followed all of the rules to meet that requirement. That said, if I used Tiled instead of my custom level editor, took out the foliage/grass vfx, wrote my own physics (which 99.9% of people in game jams don’t do), used Pygame’s font system instead of my own, and made a custom tile system (also something that the majority of people don’t do), it would take about 35 hours. (All of the circles, sparks, and all of the particles except the leaves were written from primitive Pygame functionality entirely during the event.) The grass system is heavily optimized for general use, but you could theoretically write something for a project like this quicker. Many of the other systems work similarly, so the total time spent for the code actually used is much higher than it needs to be if you didn’t use any modular functionality. The total hours for everything combined is probably around 100. But once again, this is like asking how long it’d take someone who made a game with Unity to make Unity themselves *and* their game. My level editor, grass, and foliage systems will probably be fully open sourced (as in free with a license, not behind Patreon) within the year, which would mean that someone could reasonably make what I did in 20 hours for free.
@DaFluffyPotato
2 жыл бұрын
Qualifying for the Ludum Dare’s COMPO category is pretty much the colloquial definition of “from scratch” since it’s the largest game jam (over 100,000 games since 2002) that actually requires games to be made from scratch in the rules. (And I didn’t even say “from scratch” in the title.) ldjam.com/events/ludum-dare/rules
Do you use PyGame?
Gonk :]
how do i play this????
@DaFluffyPotato
2 жыл бұрын
There’s a link in the description
@mohamed_aariz6315
2 жыл бұрын
@@DaFluffyPotato i saw but how do I run itt 😭😭😭
How many days you spended on this masterpiece?
@DaFluffyPotato
2 жыл бұрын
The time is visible on my taskbar in the video. It was 20 hours of time spent within a 48 hour period spanning Friday through Sunday.
@Dyson_mass
2 жыл бұрын
@@DaFluffyPotato INCREDIBLE !!!
Du can you make a game like Minecraft 2d version.
Hear me out: you should learn Monogame, it's just as easy but literally 100x faster.
@Blinkers2007GameDev
2 жыл бұрын
Unity is better
You used paint??!?!?! WHAAAT
@DaFluffyPotato
2 жыл бұрын
It’s great for low-rez static assets. It’s not so great for animation though, which is why I used Aseprite to animate the player and enemies.
second
First
Congratulations. When Python 4 comes out nobody will be able to play your game anymore.
@DaFluffyPotato
2 жыл бұрын
That’s not how that works
imagine programming a game in python 🤧🤮🤮
@Blinkers2007GameDev
2 жыл бұрын
It’s good it’s just not as good as other stuff like unity. If you wanna make 2D games Python is totally enough and fine for that but for 3D unity is much better. Even for 2D if you know C Sharp
Love your work
Hello, can you make videos about stuck with game ideas? I'm glad if you make it.