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

  • @mikederino1412
    @mikederino14122 жыл бұрын

    I'd like to think that fluffy personally crunched lollipops for that crunching sound effect

  • @DaFluffyPotato

    @DaFluffyPotato

    2 жыл бұрын

    It was ice cubes. I don’t have any candy. :(

  • @shafayet1678
    @shafayet16782 жыл бұрын

    That's so cool man I always wanted to make games like urs you are really talented bro

  • @AkshayKumarX
    @AkshayKumarX2 жыл бұрын

    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

    @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

    @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

    @marcoantoniovalencia8694

    2 жыл бұрын

    @@DaFluffyPotato 0:44 MS paint? 👍👍

  • @dreamwork69
    @dreamwork69 Жыл бұрын

    I’d love full hours-long version walkthrough tutorial 🙏🙏🙏 It’d be the best gift for me this year 😄

  • @LoggyDev
    @LoggyDev2 жыл бұрын

    Amazing work as always 👏

  • @TheSuikoEnjoyer

    @TheSuikoEnjoyer

    2 жыл бұрын

    Slava Rosii!

  • @_avlakos
    @_avlakos2 жыл бұрын

    sprite assets made using paint... absolute legend

  • @yak-piss

    @yak-piss

    2 жыл бұрын

    They also used Aseprite at 1:20

  • @JD96893
    @JD968932 жыл бұрын

    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.

  • @Aahilhasan312
    @Aahilhasan312 Жыл бұрын

    Thas some wild shit bro your creativity is lit af ngl 🔥🔥🔥

  • @skysurfer_kon1641
    @skysurfer_kon16412 жыл бұрын

    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

    @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

    @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?

  • @Hiramale
    @Hiramale2 жыл бұрын

    Hey, how did u do that circle effect when hit the ground, like a cricle making bigger?

  • @tomanski3767
    @tomanski37672 жыл бұрын

    Dude! You are a machine! Respect!

  • @3AMBEATMAKERKIT
    @3AMBEATMAKERKIT Жыл бұрын

    bro really coded, designed and produced OST so raw and powerful broski

  • @CloudlessStudio
    @CloudlessStudio2 жыл бұрын

    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!

  • @huistelefoon5375
    @huistelefoon5375 Жыл бұрын

    Hello, how do you legally distribute your games in combination with libraries such as PyGame? (with PyGame being under LGPL)

  • @Yahia_Hanbal
    @Yahia_Hanbal Жыл бұрын

    Your drawing is a big killer .. wow!❤👌

  • @komekko373
    @komekko3732 жыл бұрын

    Where did you learn python from? Care to share the resources?

  • @dominicballinger6536
    @dominicballinger6536 Жыл бұрын

    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.

  • @progress_games
    @progress_games2 жыл бұрын

    your games got the juice and that's dope as fuck

  • @ALXTorresC
    @ALXTorresC2 жыл бұрын

    Great work man

  • @moofy_4856
    @moofy_4856 Жыл бұрын

    dam bro you are an inspiration to me. Can you tell me a little about your history behind programming?

  • @juangroverpaxichuquichambi4577
    @juangroverpaxichuquichambi45772 жыл бұрын

    increíble buen trabajo increíble trabajo

  • @shishiron43
    @shishiron43 Жыл бұрын

    How did you make the sfx? like can you give me at least and Idea how to make your own sfx.

  • @CaidenSteele123
    @CaidenSteele1232 жыл бұрын

    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

    @CaidenSteele123

    2 жыл бұрын

    Also I love your videos and your artwork is amazing

  • @bojanjeremic1411

    @bojanjeremic1411

    2 жыл бұрын

    Its not really hard to make level editor,made one myself,but his level editor should be open source,not sure tho

  • @thisbeme5034
    @thisbeme50342 жыл бұрын

    Do you know how to use ursina engine

  • @johanneszwilling
    @johanneszwilling2 жыл бұрын

    😎 Very nicely done!

  • @thehelper9019
    @thehelper9019 Жыл бұрын

    Anyone tell me what is the second application

  • @madankrishnan633
    @madankrishnan633 Жыл бұрын

    how did you make the in-game pause menu

  • @marcosdanieltorres7253
    @marcosdanieltorres72532 жыл бұрын

    Hey guys any resources about strcturing your code for games?

  • @2MSTennis
    @2MSTennis2 жыл бұрын

    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

    @DaFluffyPotato

    2 жыл бұрын

    Yeah. It’s not hard. I just don’t play those types of games

  • @kristoff_t2013

    @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

    @tjgdddfcn

    2 жыл бұрын

    Nah both python and java are known to be the snails of programming launguages XD

  • @woobulbul
    @woobulbul Жыл бұрын

    Could you please provide a tutorial on making a tilest/sprites using MS Paint?

  • @abraxas2384

    @abraxas2384

    Жыл бұрын

    Up

  • @vinfeexceldian4070
    @vinfeexceldian40702 жыл бұрын

    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

    @spaidory874

    2 жыл бұрын

    lower the volume then

  • @itayamar3059
    @itayamar30592 жыл бұрын

    Ur making games so good u should start a big project and release it to steam or something

  • @bini420
    @bini4202 жыл бұрын

    what did you use to make the games music

  • @DaFluffyPotato

    @DaFluffyPotato

    2 жыл бұрын

    FL Studio, but the music for this game is really bad since I ran out of time. lol

  • @msaid1410
    @msaid1410 Жыл бұрын

    Thkansss, how do you make this timelapse pleassee

  • @DaFluffyPotato

    @DaFluffyPotato

    Жыл бұрын

    Chronolapse

  • @abrarmasumabir3809
    @abrarmasumabir38092 жыл бұрын

    Bro want a tutorial series of this game....a serious one..please!

  • @abraxas2384
    @abraxas2384 Жыл бұрын

    O cara cria o sprite no paint, MY LORD

  • @kaycampbell364
    @kaycampbell364 Жыл бұрын

    How did you learn please

  • @TheProFlutter
    @TheProFlutter5 ай бұрын

    You have any game dev course?

  • @DaFluffyPotato

    @DaFluffyPotato

    5 ай бұрын

    My last tutorial is sort of a free one.

  • @SKAAAAD00SH
    @SKAAAAD00SH Жыл бұрын

    Is it possible to turn it into an APK and run it on my phone.

  • @animesongs3992
    @animesongs39922 жыл бұрын

    What game engine is this

  • @DominicNweze
    @DominicNweze Жыл бұрын

    Man dope this is yes.

  • @Kittanaaa
    @Kittanaaa Жыл бұрын

    how make textures

  • @haikamu7178
    @haikamu71782 жыл бұрын

    Hello, can you make videos about stuck with game ideas? I'm glad if you make it.

  • @bulaloitech
    @bulaloitech2 жыл бұрын

    Can u publish this games into playstore? That would be awesome

  • @rayanme215
    @rayanme2152 жыл бұрын

    Did you ever considered making pygame game engine?

  • @ethanevans8909

    @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

    @rayanme215

    2 жыл бұрын

    @@ethanevans8909 that's fucking cool. is there any way to get it ?

  • @basicallybrand
    @basicallybrand2 жыл бұрын

    amazing

  • @mrcheese7393
    @mrcheese73932 жыл бұрын

    man had aseprite but still decided ms paint was better for drawing the design, madlad

  • @daveatsea9465
    @daveatsea94652 жыл бұрын

    your level editor is open source?

  • @DaFluffyPotato

    @DaFluffyPotato

    2 жыл бұрын

    No

  • @daveatsea9465

    @daveatsea9465

    2 жыл бұрын

    @@DaFluffyPotato That's a impressive work, Well done!

  • @3izvilini
    @3izvilini2 жыл бұрын

    good job

  • @tjgdddfcn
    @tjgdddfcn2 жыл бұрын

    What a chad. Makes all the art in paint and uses aseprite only for animation.

  • @vaibhavjain1914
    @vaibhavjain19142 жыл бұрын

    I envy your skills.

  • @nameless4381
    @nameless43819 ай бұрын

    Mn thanks for the source code

  • @breadguyy
    @breadguyy2 жыл бұрын

    Dude i barely know hoe to type " import turtle" how the hell

  • @andrewvk8166
    @andrewvk81662 жыл бұрын

    wow This is amazing, 8.5/10!

  • @yldz9435
    @yldz94352 жыл бұрын

    Neat

  • @yamidhossain8870
    @yamidhossain88702 жыл бұрын

    How do you publish games if you are under 18?

  • @rc8s

    @rc8s

    2 жыл бұрын

    There's no age limit

  • @wakasobaid
    @wakasobaid10 ай бұрын

    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

    @DaFluffyPotato

    10 ай бұрын

    I've been coding for 10 years

  • @vitorgabrielgomesrodrigues
    @vitorgabrielgomesrodrigues2 жыл бұрын

    It'd be cool if you tried the ursina engine for python

  • @Blinkers2007GameDev

    @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

    @vitorgabrielgomesrodrigues

    2 жыл бұрын

    @@Blinkers2007GameDev It depends, in my experience it was laggy, slow and crashed really often

  • @Blinkers2007GameDev

    @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

    @vitorgabrielgomesrodrigues

    2 жыл бұрын

    @@Blinkers2007GameDev Wdym "used Unity wrong"

  • @Blinkers2007GameDev

    @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.

  • @vasarolnik
    @vasarolnik2 жыл бұрын

    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

    @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

    @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

    @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

    @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

  • @2MSTennis
    @2MSTennis2 жыл бұрын

    Do you use PyGame?

  • @spenceabeen
    @spenceabeen2 жыл бұрын

    Gonk :]

  • @mohamed_aariz6315
    @mohamed_aariz63152 жыл бұрын

    how do i play this????

  • @DaFluffyPotato

    @DaFluffyPotato

    2 жыл бұрын

    There’s a link in the description

  • @mohamed_aariz6315

    @mohamed_aariz6315

    2 жыл бұрын

    @@DaFluffyPotato i saw but how do I run itt 😭😭😭

  • @Dyson_mass
    @Dyson_mass2 жыл бұрын

    How many days you spended on this masterpiece?

  • @DaFluffyPotato

    @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

    @Dyson_mass

    2 жыл бұрын

    @@DaFluffyPotato INCREDIBLE !!!

  • @tanjibulanimations5653
    @tanjibulanimations56532 жыл бұрын

    Du can you make a game like Minecraft 2d version.

  • @developerdeveloper67
    @developerdeveloper672 жыл бұрын

    Hear me out: you should learn Monogame, it's just as easy but literally 100x faster.

  • @Blinkers2007GameDev

    @Blinkers2007GameDev

    2 жыл бұрын

    Unity is better

  • @clarisrichter7966
    @clarisrichter79662 жыл бұрын

    You used paint??!?!?! WHAAAT

  • @DaFluffyPotato

    @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.

  • @leoncedzimebie8418
    @leoncedzimebie84182 жыл бұрын

    second

  • @nynx8269
    @nynx82692 жыл бұрын

    First

  • @meneerjansen00
    @meneerjansen002 жыл бұрын

    Congratulations. When Python 4 comes out nobody will be able to play your game anymore.

  • @DaFluffyPotato

    @DaFluffyPotato

    2 жыл бұрын

    That’s not how that works

  • @ggg-mu3eo
    @ggg-mu3eo2 жыл бұрын

    imagine programming a game in python 🤧🤮🤮

  • @Blinkers2007GameDev

    @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

  • @miumenk
    @miumenk2 жыл бұрын

    Love your work

  • @haikamu7178
    @haikamu71782 жыл бұрын

    Hello, can you make videos about stuck with game ideas? I'm glad if you make it.

Келесі