Making My Platformer HARDER and PRETTIER in C++ - SFML Gamedev - Devlog 2

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • Visit brilliant.org/... to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
    Making an indie platformer game project with infinite jumps using C++ and SFML. Added 2 new enemies and improved the graphics. This is the second devlog of my gamedev progress.
    Demo: / new-version-is-67821655
    Previous part: • Making a Platformer wi...
    Discord: / discord
    Github: github.com/Kof...
    Itch io: kofybrek.itch.io
    Patreon: / kofybrek
    Subreddit: / kofybrek
    Twitter: / kofybrek
    This video was sponsored by Brilliant.
    #coding #gamedev #programming

КОМЕНТАРІ • 67

  • @Kofybrek
    @Kofybrek  2 роки тому +4

    Visit brilliant.org/Kofybrek/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.

    • @effdotsh
      @effdotsh 2 роки тому +2

      He got a sponsor!!! They grow up so fast :)

    • @skoooter9056
      @skoooter9056 2 роки тому

      congrats on the sponsor

  • @daadirroorow5214
    @daadirroorow5214 2 роки тому +31

    PLEASE DON'T STOP MAKING VIDEO'S I DON'T EVEN KNOW WHAT YOU ARE DOING WITH YOUR MATHS AND SHIT BUT IT'S STILL ENTERTAINING ❤️

  • @kenan2386
    @kenan2386 2 роки тому +12

    Epic! You can also make the game show more that you are inside a computer, because it just looks like a level, maybe you could add a background, make the ground blocks look like memory and the antiviruses have a shield logo

  • @TheMadProgrammers
    @TheMadProgrammers 6 днів тому

    I find this to be a very interesting concept.

  • @daadirroorow5214
    @daadirroorow5214 2 роки тому +1

    FINALLY, A NEW VIDEO!!!
    YOU'RE GREAT 😭❤️❤️❤️

  • @PegaFox
    @PegaFox 2 роки тому +1

    Thank you for everything you do on this channel, you've inspired me to make my own games with c++ and sfml!

  • @TR_Arial
    @TR_Arial 2 роки тому +2

    This turned out much better than you would expect for a simple mechanic.
    I have a suggestion... Well more of a major gameplay change, how about making the movement a bit more restricted, so the player has infinite jumps, but only in the direction of the first jump. Basically, you can't change your x velocity mid-air, you have to either touch a wall or the ground. This would even make the ground tiles more useful.

  • @4n0nym0u5
    @4n0nym0u5 Рік тому

    Amazing idea and implementation!

  • @Test-iv4pm
    @Test-iv4pm 2 роки тому

    The technical things in the middle all came together to make something that looks great

  • @erc0re526
    @erc0re526 2 роки тому

    You made this game look awesome!! Also the little animations you're using to explain concepts are really, really well made. And your code is crystal clear to read, with simple efficient naming conventions! You're inspiring, sir

  • @Santi-xo4nz
    @Santi-xo4nz 2 роки тому

    Amazing series.

  • @otto_ueue
    @otto_ueue 2 роки тому +3

    1:32 That animation was fluid.

  • @scottpinkston5571
    @scottpinkston5571 2 роки тому

    Really cool solutions to those problems. I'm glad you didn't take the easy path out with the graphics. Definitely worth it.

  • @SuboptimalEng
    @SuboptimalEng 2 роки тому

    I really like the mix of programming and gameplay you add in your videos. Good stuff!

  • @mr.capoone5008
    @mr.capoone5008 2 роки тому

    really good explanation of your engine design and class hierarchies! this stuff is so interesting for those of us with a technical background.

  • @C0playeR
    @C0playeR 2 роки тому +1

    I lovee itt
    I was waiting for new video
    Good work 👏

  • @pixelrunner2775
    @pixelrunner2775 2 роки тому +3

    You should add some destructible blocks that break when the player hits them at a certain velocity or when an enemy/bullet hits them

  • @CrusherKingZ
    @CrusherKingZ 2 роки тому

    Wow this is looking really good

  • @k1ng_frnk519
    @k1ng_frnk519 2 роки тому

    YESS. THE KING HAS RETURNED

  • @teggundrut
    @teggundrut 2 роки тому +1

    too underated of a youtube :D

  • @krishivgoel2122
    @krishivgoel2122 2 місяці тому

    You can literally replace
    death_animations.push_back(Animation(..args));
    With,
    death_animations.emplace_back(..args);
    This avoids un necessary copying
    It also returns the reference to object so created

  • @Zac8668
    @Zac8668 2 роки тому

    NEW VIDEO HELL YEAH

  • @InfiniteCoder01
    @InfiniteCoder01 2 роки тому

    I've never seen an approach to split auto arranging cells into quarters! Love you videos! 🙂

    • @brollix
      @brollix 2 роки тому

      for one second i thought he was gonna implement the wave function collapse algorithm for random map creaation

    • @InfiniteCoder01
      @InfiniteCoder01 2 роки тому

      @@brollix @Kofybrek you should implement random level generation!

  • @kissinmaxim2627
    @kissinmaxim2627 2 роки тому

    Really cool

  • @jakubbednarski3448
    @jakubbednarski3448 2 роки тому

    Stunning

  • @cool-eo7um
    @cool-eo7um 2 роки тому

    Awesome as usual

  • @gytiskau1865
    @gytiskau1865 2 роки тому

    This. Is. Amazing... Nice

  • @WinterNox
    @WinterNox 2 роки тому +1

    4:15 "Now we need to die when we touch them."

  • @floggyx5849
    @floggyx5849 2 роки тому +1

    7:29 yo hol' up

  • @Cian-_-
    @Cian-_- 2 роки тому

    I literally did the EXACT same thing when I made a lil game in SFML for your Entity class, with the entity vectors etc XD

  • @Fulbion
    @Fulbion 2 роки тому

    Awesome video, like always! By the way, your voice has been slowed in some sections in the video.

  • @ashadqureshi4412
    @ashadqureshi4412 2 роки тому +1

    EPIC🔥🔥🔥

  • @noface7842
    @noface7842 2 роки тому

    ...Ya just gave me an idear for me topdown rougelike, thnks mate!

  • @nepcNK
    @nepcNK 2 роки тому +2

    ALLIVE

  • @antonmanin3521
    @antonmanin3521 2 роки тому +1

    9:33 consider using std::bitset instead of std::array, because std::array does not have space-efficient implementation for booleans (unlike std::vector)

  • @WindowsDrawer
    @WindowsDrawer Рік тому

    Nice

  • @CastelGandolfo605
    @CastelGandolfo605 2 роки тому

    2 months of waiting! Long kofi break?

  • @Test-iv4pm
    @Test-iv4pm 2 роки тому

    Very epic

  • @TheMadProgrammers
    @TheMadProgrammers 6 днів тому

    No food for today 😐
    No cash 😐
    Kofybrek video is only 13 minutes 😥

  • @tuhkiscgibin6627
    @tuhkiscgibin6627 2 роки тому

    Leaving a comment for the algorithm.

  • @alex-lar
    @alex-lar 2 роки тому

    Man.. you're like me, but better🤝

  • @kilerkai
    @kilerkai 2 роки тому

    poggers

  • @schacharkashi4371
    @schacharkashi4371 Рік тому

    1:20
    Is there no than function in c++?

  • @kapilishere
    @kapilishere 2 роки тому

    We can clearly see the reason for the time he took in the quality of the project

  • @hiidf
    @hiidf 9 місяців тому

    how is console moving with player?

  • @twistedillusion-u4s
    @twistedillusion-u4s Рік тому

    It would be funny if the first boss was just a windows defender

  • @yaxier2558
    @yaxier2558 Рік тому

    @Kofybrek do you recommend programming the player movement and physics in the same main.cpp or do you reccomend making a header file and then include it on the main.cpp? Ive been struggling because the only info I could find about player controls are proyects where they include everything on the same file.

    • @Kofybrek
      @Kofybrek  Рік тому

      Making a header file and including it in the main file. Putting everything in the main file is not a good idea.

  • @featherless656
    @featherless656 2 роки тому

    This is awesome, could we please get a game engine from this dude?(and maybe a c++ neural network tutorial)

    • @Kofybrek
      @Kofybrek  2 роки тому +1

      I've already made a video about neural networks. And I'm actually planning on making a game engine.

    • @featherless656
      @featherless656 2 роки тому

      @@Kofybrek epic, you’re one of my favorite channels on UA-cam man. Also, by a neural network video, I mean going deeper into the topic and kinda going through your code to show us what’s going on. Anyways, thanks for making these videos, they brighten my day.

  • @KristOFF-T
    @KristOFF-T Рік тому

    3:46

  • @rumisbadforyou9670
    @rumisbadforyou9670 2 роки тому

    Why would you use pointers for something that can be stored in place? RAII, man.

  • @iamnoob7201
    @iamnoob7201 4 місяці тому

    really insine

  • @daadirroorow5214
    @daadirroorow5214 2 роки тому

    Kofybrek I have a question...
    What is the background music you use?

    • @Kofybrek
      @Kofybrek  2 роки тому +1

      It's from the UA-cam Audio Library. I don't remember the name though, sorry.

  • @LoggyDev
    @LoggyDev 2 роки тому

    I love smart pointers! Raw pointers suck!
    Jk, raw are fine I just hate when you call new you have to delete.

  • @fdevstudio5692
    @fdevstudio5692 2 роки тому

    About what?

  • @netfri25
    @netfri25 2 роки тому

    For containers that do a lot of push_back and pop_front its better to use std::list instead of std::vector

    • @Kofybrek
      @Kofybrek  2 роки тому +1

      Thanks for the suggestion!

  • @houcinechammakh4789
    @houcinechammakh4789 2 роки тому

    Use a game engine

  • @Jagi125
    @Jagi125 2 роки тому

    Sorry, but that was painfull. Just guard your include files with
    #ifdef SOME_NAME_YOU_LL_NEVER_USE_AGAIN
    #define SOME_NAME_YOU_LL_NEVER_USE_AGAIN
    // your header goes here
    #endif
    Apart from that cool video.