Making a Game With C++ and SDL2

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 1K

  • @Goodgis
    @Goodgis  ปีที่แล้ว +179

    Subscribe for more EPIC pencil content! ✏

    • @LeoSquared
      @LeoSquared ปีที่แล้ว +2

      Pencils are epic

    • @GrushV2
      @GrushV2 ปีที่แล้ว +1

      i bet you cant program in italian 🤌🤌🤌🤌

    • @WohaoG
      @WohaoG ปีที่แล้ว

      Speed Running or Speedrunning
      Is it about going as fast as possible or 🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂🏃‍♂🚶‍♂?

    • @MrDiverXHD
      @MrDiverXHD ปีที่แล้ว

      How about Raylib?

    • @PengiiiiGameDev
      @PengiiiiGameDev ปีที่แล้ว

      You need to learn bf next. It is the greatest language in all of programming

  • @glerg6051
    @glerg6051 ปีที่แล้ว +1149

    Fun fact! Pygame is actually a python wrapper for sdl2, so technically this isn't the first time you've used sdl2.

    • @darkfllame
      @darkfllame ปีที่แล้ว +21

      pygame uses a python sdl2 wrapper but it just built on top of it

    • @amiteshwarsingh6099
      @amiteshwarsingh6099 ปีที่แล้ว +8

      It is not called wrapper it is called wrangler

    • @cacto1680
      @cacto1680 ปีที่แล้ว +8

      ​@@amiteshwarsingh6099 what's the diffrence

    • @Vichion
      @Vichion ปีที่แล้ว +71

      @@cacto1680 about 3 letters

    • @WindowsDrawer
      @WindowsDrawer ปีที่แล้ว +12

      ​@@cacto1680 wrapper - wrangler = bkgch

  • @hectormejia499
    @hectormejia499 ปีที่แล้ว +266

    Writing C in C++ is perfectly valid, it's actually preferred by a ton of people. Most C code is valid C++, the latter just has extra powerful features built on top

    • @swirl6996
      @swirl6996 ปีที่แล้ว +24

      "Every C++ programmer knows C"

    • @TheHomelander2099
      @TheHomelander2099 11 หลายเดือนก่อน

      ​@@swirl6996bro what if they didn't learn about printf() in c++? They mostly use cout. So... Just saying.

    • @gaffclant
      @gaffclant 10 หลายเดือนก่อน +24

      @@swirl6996 i think its more "every C programmer knows C++" since while all C code is valid in C++, the other way around is false. In fact, if you only know C++, you may have trouble with a simple hello world in C because C++ does this evil thing called "operator overloads" where now the code we write isn't even doing what we think it is doing.

    • @iambored1528
      @iambored1528 7 หลายเดือนก่อน +13

      @@gaffclantC programmers don't know all the concepts of C++, but C++ programmers know all the concepts of C

    • @SheqqySully
      @SheqqySully 7 หลายเดือนก่อน +2

      @@gaffclant What you said here is to use C++, you need to understand the fundamentals of C, but to use C, you don't need to fully understand C++, but with glean certain aspects of it. In this case, the individuals who use C++ understand all aspects of C, but not vice versa. Similar to the rectangle and square discussion. Not all rectangles are squares, but all squares are rectangles.

  • @IXxJordan
    @IXxJordan ปีที่แล้ว +60

    Seeing someone else have great pain to create a window in SDL brings me great enjoyment

    • @cirkulx
      @cirkulx 3 หลายเดือนก่อน +1

      me too, my shooter game in alpha has 700 lines of code and i have a huge feature list still..

  • @Skeffles
    @Skeffles ปีที่แล้ว +21

    Fantastic to see you trying C++. It's been years since I've done C++. Videos like this make me want to try again but then I look at some C++ and nope out real quick.

    • @Gupatik
      @Gupatik 10 หลายเดือนก่อน

      ohh that headach again...

    • @pythonuser-f7t
      @pythonuser-f7t 11 วันที่ผ่านมา

      try python instead

  • @sauliusvincevicius8688
    @sauliusvincevicius8688 ปีที่แล้ว +136

    Goodgis: uses SDL despite it being C instead of C++
    Raylib: that has c++ wrapper O_o

    • @_Enderpuff
      @_Enderpuff ปีที่แล้ว +14

      you don't even need a c++ wrapper for c libraries most of the time

    • @hjrgf
      @hjrgf ปีที่แล้ว +3

      ​​@@_Enderpuff true c libraries are compatible with c++

    • @glitchy_weasel
      @glitchy_weasel ปีที่แล้ว +2

      There a really nice one called SFML, lots of advaced but easy to use graphics+audio utilities.

    • @hjrgf
      @hjrgf ปีที่แล้ว +3

      @@glitchy_weasel I personally either use imgui + sfml or imgui + opengl

    • @v01d_r34l1ty
      @v01d_r34l1ty ปีที่แล้ว +8

      i know this is 4 months late as a reply, but i just find it funny the dude thought he was a failure for 'coding in C instead of C++' like 99% of C code is perfectly valid C++ code lol

  • @bonehelm
    @bonehelm ปีที่แล้ว +14

    Damn, your graphic design is on POINT!

  • @NotPalliot
    @NotPalliot ปีที่แล้ว +65

    I love Devlogs! This looks great! good job goodgis!

    • @Goodgis
      @Goodgis  ปีที่แล้ว +9

      Thank you!! 😊

    • @simasharma3040
      @simasharma3040 ปีที่แล้ว +1

      ​@@Goodgis you are still using c language to code this game

  • @hypatia-du-bois-marie
    @hypatia-du-bois-marie ปีที่แล้ว +11

    05:32 Haskell.

  • @will.bailey
    @will.bailey ปีที่แล้ว +51

    What language should I learn next? - Lua is a really nice language. Love2d and pico8 are great engines that use it! :)

    • @puddyy7010
      @puddyy7010 ปีที่แล้ว +1

      Have you tried Solar2D and MicroStudio 🤔? They both use lua

    • @will.bailey
      @will.bailey ปีที่แล้ว +1

      @@puddyy7010 I haven't but you've piqued my interest so I'm going to have a look! :) 👍

    • @puddyy7010
      @puddyy7010 ปีที่แล้ว +1

      @@will.bailey cool! Lemme know your reviews upon it 🤓do you know any other good C++ sdk, framework, API or libraries by any chance?

    • @techtime3125
      @techtime3125 ปีที่แล้ว +2

      And Boblox is the greatest

    • @TBT_ZHV
      @TBT_ZHV ปีที่แล้ว +1

      Well its extremely similar to python tho

  • @razrastudios
    @razrastudios ปีที่แล้ว +287

    I think it would be interesting to learn a language like BASIC and try to make a game with that

    • @Goodgis
      @Goodgis  ปีที่แล้ว +99

      Oh a classic.

    • @WillMakesGames
      @WillMakesGames ปีที่แล้ว +60

      Or maybe Assembly like Roller Coaster Tycoon

    • @jarPlays11
      @jarPlays11 ปีที่แล้ว +3

      That would be easy

    • @treudden
      @treudden ปีที่แล้ว +7

      @@WillMakesGames just gonna take a few years to learn

    • @ego-lay_atman-bay
      @ego-lay_atman-bay ปีที่แล้ว +9

      Do ti-basic, on a ti-84 + ce python calculator.

  • @realfictiongo8942
    @realfictiongo8942 ปีที่แล้ว +34

    What language next? Pico-8 with Lua, it will be a quite new experience for you to make a retro game in this simple language

    • @Goodgis
      @Goodgis  ปีที่แล้ว +10

      Sounds like fun. I've actually made a terrible game in Pico-8 before.

    • @costelinha1867
      @costelinha1867 ปีที่แล้ว +1

      @@Goodgis If you want an extra challenge, you could limit yourself to just pico-8, maybe even use the browser version, so you cannot use your own text editor and have to rely on pico-8's built-in tools.

    • @Your_Average_Rabbit
      @Your_Average_Rabbit ปีที่แล้ว

      @@costelinha1867 pinnacle of torture:

  • @btarg1
    @btarg1 ปีที่แล้ว +107

    Your artstyle reminds me a lot of WarioWare and it's just so pretty to look at. Game dev is so much easier when you can do art - I can't draw so it's way harder to make games, this is inspiring

    • @plebisMaximus
      @plebisMaximus ปีที่แล้ว +15

      The original textures for Minecraft were also kinda poopy. You don't need to be a sublime artist if you can make good, fun gameplay. Besides, you can always teach yourself to draw by forcing yourself to do a lot of textures. You got this, my guy.

    • @trys10studios
      @trys10studios ปีที่แล้ว +3

      As an artist myself, you do not need to be an artist to make a great game. It 'draws' people in, but it does not keep them hooked, great gameplay does.

    • @devforfun5618
      @devforfun5618 11 หลายเดือนก่อน

      as a not artist myself, the problem isn't others, if i dont like how my game looks i dont want to finish it@@trys10studios

  • @realmarsastro
    @realmarsastro 10 หลายเดือนก่อน +2

    When I heard you say this was a really hard challenge, I at first thought that was a little weird for someone who's making coding videos. Then you said you come from an artist background, not a programming background, and now I'm just left very impressed. Writing a game in C++ using SDL2 without a programming background is really commendable, well done!

  • @gungun974
    @gungun974 ปีที่แล้ว +49

    Next could be make a game with Rust.
    Rust is not really the hardest language of programming but it’s one of those language when after use it for a while.
    Everything around it look less fun and Rust just being amazing xD

    • @LocalTrashyt
      @LocalTrashyt ปีที่แล้ว

      Plza Goodgis do it

    • @Goodgis
      @Goodgis  ปีที่แล้ว +11

      That could be awesome!

    • @andres3665
      @andres3665 ปีที่แล้ว +6

      @@Goodgis Try Bevy!

    • @Holsp
      @Holsp ปีที่แล้ว +7

      @@Goodgis He is lying. Learning rust is a completely different experience to other languages and while it can be satisfying to learn, it will be a drag to get through

    • @enochsadventures
      @enochsadventures ปีที่แล้ว +4

      Rust is an awful language. The promotion of it is so bizarre and basically has no explanation besides people refusing to use C++, which is the best language.

  • @jamesoliphant8178
    @jamesoliphant8178 19 วันที่ผ่านมา +1

    honestly cool project! To make sure there is no confusion though Its importatnt to note that both Raylib and SDL are programmed in C and are very friendly with C++. Just that there are more tutorials and resources on using C with Raylib.

  • @FRI5B33
    @FRI5B33 ปีที่แล้ว +10

    This would be so cool as a rhythm game, for instance when you would miss a key the point if the pencil would break. I would play that in a heartbeat.

  • @feivmoon
    @feivmoon ปีที่แล้ว +6

    there is a guy that was making a tetris with raylib, the trick is that he was teaching about how to make raylib useful to the c++ language and how you can it apply it to other c libraries

  • @zachgeyer8090
    @zachgeyer8090 ปีที่แล้ว +11

    6502 assembly nes game! It’s super fun to learn!

    • @Goodgis
      @Goodgis  ปีที่แล้ว +6

      RIP

    • @zachgeyer8090
      @zachgeyer8090 ปีที่แล้ว +4

      I’m serious it’s been such a fun and interesting challenge for me and being able to play an nes game you made is the most satisfying thing!

    • @OSharraps
      @OSharraps ปีที่แล้ว +1

      There is an alternative assembly language called wiz which is a mix between asm and C.
      It makes programming for the NES way easier.

    • @costelinha1867
      @costelinha1867 ปีที่แล้ว

      @@zachgeyer8090 Yeah, but isn't assembly like... super hard to learn? and also there probably won't be as many material covering development for retro consoles as there is for stuff like SDL2.

  • @soumyadeepghosh4428
    @soumyadeepghosh4428 11 หลายเดือนก่อน +4

    0:03 whats the font name ?

  • @HeuzyGameDevYT
    @HeuzyGameDevYT ปีที่แล้ว +4

    I’ve started watching your channel recently and you’ve inspired me to try out making some small games. So thank you for making the great content!

  • @kalelsoffspring
    @kalelsoffspring ปีที่แล้ว

    I normally binge a lot of programming/game dev/etc. on here, but I was still curious why your video was showing up for me. Then I saw your joke about Factorio and realized my YT history for the past week is 90% Factorio videos lol Thanks algorithm, you worked for once, gonna sub :)

  • @David-ng9qh
    @David-ng9qh ปีที่แล้ว +137

    Make a simple game with Rust + Bevy next, Bevy uses an ECS (Entity Component System) and it's a really different and fun experience!

  • @lonelyfloat2582
    @lonelyfloat2582 ปีที่แล้ว +4

    You were so close to the greatness of C and raylib, but so far away.

  • @bruex2277
    @bruex2277 ปีที่แล้ว +4

    2:59 i know it's a joke, but i really do love supertux

  • @float_3.14
    @float_3.14 ปีที่แล้ว +1

    "and the best part That it only took 8 hours to do yeah! 8 hours" is the most(est) c++-ing thing I've ever heard in my life

  • @jetseverschuren
    @jetseverschuren ปีที่แล้ว +9

    C and C++ are indeed quite different, but all C code is also valid C++ code. C++ just has classes and some more garbage attached. You should be able to just tell the compiler to do C++ (or use g++ instead of gcc), and boom, you've now made a C++ program'

    • @giantnoah
      @giantnoah ปีที่แล้ว +3

      Technically not all C code is valid C++ code, theres a million blog posts on the differences but they're so minute that they really don't matter 99% of the time if you just want to write C to use a C++ library.

    • @RockyMulletGamedev
      @RockyMulletGamedev ปีที่แล้ว +1

      Yeah sometimes you make a typo or something and it compiles and you're like "Why ??? this is dumb, this should not compile !" and then you realize it's to be C compatible...

    • @benhetland576
      @benhetland576 ปีที่แล้ว

      Consider: int* p= malloc(sizeof int);

    • @jetseverschuren
      @jetseverschuren ปีที่แล้ว

      ​@@benhetland576 Fair enough. Though you can use `-fpermissive` in g++ to get it to compile anyways ;)

    • @berni8k
      @berni8k ปีที่แล้ว

      Yep you can compile Raylib in C++ just fine. Been using it like that all the time.

  • @bonsaipropaganda
    @bonsaipropaganda ปีที่แล้ว +1

    you are my favorite gamedev youtuber. i have watched all your videos and wish you had more. your videos make me laugh and are entertaining and educational

  • @Mr_Pringle593
    @Mr_Pringle593 ปีที่แล้ว +3

    i just wanted to say, i just tried out your demo for DewdropDynasty, its really good, i do think that the keyboard controls arent the best, but its just the early demo, i understand, i really think this game could go somewhere, i also would like to say i think i may be switching my game to a more metrovania game than an adventure game, thanks for the inspiration!

  • @ZTimeGamingYT
    @ZTimeGamingYT ปีที่แล้ว +1

    SmallAnt would like this, seeing his popular videos on the subject manner. Amazing video, by the way!

    • @Goodgis
      @Goodgis  ปีที่แล้ว +1

      I hope so haha

  • @AsasinoManik
    @AsasinoManik ปีที่แล้ว +3

    I like how he literally made this game from complete scratch using a C++ based framework instead of using any game engine.

  • @dwadthechad
    @dwadthechad ปีที่แล้ว +1

    These are honestly my favourite kind of videos

  • @VictorRodriguez-zp2do
    @VictorRodriguez-zp2do ปีที่แล้ว +4

    So many libraries are written in C (including SDL), even libraries you would use in languages like python use C libraries under the hood. That said though if it works what stops you from using it?

  • @hannaalejandraamadorsanche6085
    @hannaalejandraamadorsanche6085 ปีที่แล้ว

    I love your videos, they gave me back the desire to program, it's not that I didn't program before, I just did it without desire, keep it up

  • @quantum_hg3299
    @quantum_hg3299 ปีที่แล้ว +3

    I can understand your pain working with SDL, lol

  • @shadamethyst1258
    @shadamethyst1258 ปีที่แล้ว +1

    4:45 the displayTime function returns a pointer to a string that is stack-allocated, meaning that you are returning and using an invalid pointer :)

    • @benhetland576
      @benhetland576 ปีที่แล้ว

      Yes, also a couple of other interesting features there for the picky ones... First, the function doesn't do what is says at all, like actually _display_ the time. Second, it counts 60 milliseconds in a second, not 1000... well they aren't milliseconds anyway, so whatever. And for the C++ learner: Hint 1, std::chrono; Hint 2, std::ostringstream (well, it isn't forbidden to use sprintf either).

    • @Goodgis
      @Goodgis  ปีที่แล้ว +3

      Don't you just love undefined behavior?

  • @carmygames
    @carmygames ปีที่แล้ว +167

    Speed run game made with the fastest programming language. Let's goooo...

    • @Goodgis
      @Goodgis  ปีที่แล้ว +28

      Gotta go fast!

    • @Kyleology
      @Kyleology ปีที่แล้ว +23

      Unless we're ignoring assembly.

    • @Another45555
      @Another45555 ปีที่แล้ว +24

      @@Kyleology and C. and C--.

    • @patatopeeler3005
      @patatopeeler3005 ปีที่แล้ว +14

      @@Kyleology not to be the "uhmmm actually" guy, but assembly is much much slower if you are a beginner since you don't know how to write it optimally, just using -o in the compiler with a c/cpp app would make it faster

    • @Staninna
      @Staninna ปีที่แล้ว +11

      Rust is faster then cpp

  • @gauthamdga1603
    @gauthamdga1603 ปีที่แล้ว +2

    similar thing had happened to me . when i am in 6th grade, i studied javascript believing its java. i didn't had any mentor though.
    it was my entry to world of programing

  • @DevDoge_
    @DevDoge_ ปีที่แล้ว +3

    Lua is a good language since it has some good frameworks (or even engines like defold i think) to make games

  • @noodle-eater
    @noodle-eater ปีที่แล้ว +1

    Thanks a lot, I watched a couple of your videos the scratch game also, it's pretty inspiring. Honestly I am kinda stuck to make my own game, my idea mostly end up bigger, but thanks to your video and your games I can use it as reference to make my game smaller dan more achievable

  • @Maewfof
    @Maewfof ปีที่แล้ว +4

    Can you make something in pico-8? It’s a pretty good game engine.

    • @Goodgis
      @Goodgis  ปีที่แล้ว

      That would be sweet!

  • @WM48_
    @WM48_ ปีที่แล้ว +2

    Since you come from an artist background, you should try the Piet esolang (esoteric language). It is not a language that can make a game, but it can be used to make some kind of art work that can be turned into actual code. And because of the way it's built, there is more than one way to write a "hello world" program.

  • @xGOKOPx
    @xGOKOPx ปีที่แล้ว +42

    Obviously you can write proper C++ while working with a C library (and that's what you've done because SDL is a C library, which kinda defeats your decision to ditch Raylib because it's C) but if you want a 2D library that by itself gives you nice C++esque interface you can try SFML

  • @apollolux
    @apollolux 4 หลายเดือนก่อน

    Going from Raylib to SDL is like switching from a boxed pancake mix to making pancakes completely from scratch having to gather _all_ the ingredients and measures yourself (instead of just some), but because SDL has plugins for everything you can completely customize your pancakes to your heart's content.

  • @modley_the_m_guy
    @modley_the_m_guy ปีที่แล้ว +9

    Nice game to sharpen you knowledge! ✏

    • @Goodgis
      @Goodgis  ปีที่แล้ว +2

      Thank you 👍

  • @JoseEsteban-s1d
    @JoseEsteban-s1d ปีที่แล้ว +1

    I was thinking of making a video game. Have you ever watched Hills of Glory 3D? To make an engine and the controller to make games. Can you help me? I don't know how to programming.

  • @fonkinstubbleduck9163
    @fonkinstubbleduck9163 ปีที่แล้ว +3

    What about OpenGL?

  • @gameclipz9890
    @gameclipz9890 ปีที่แล้ว

    bro thats sick keep it up!

    • @Goodgis
      @Goodgis  ปีที่แล้ว

      Thanks so much!

  • @LewiLewi52
    @LewiLewi52 ปีที่แล้ว +6

    Raylib and SDL2 are both C libraries. If you really wanted to go full C++ u should have went with SFML. Not saying SDL2 isn't valid, just that your reasoning to quit Raylib applies to SDL2 as well.

    • @Goodgis
      @Goodgis  ปีที่แล้ว +2

      Welp, too late now. Though I will say there was waaayyyy more information on using SDL with C++.

    • @LewiLewi52
      @LewiLewi52 ปีที่แล้ว +2

      @@Goodgis That is true, Raylib is really young compared to SDL2. Just like SDL2 and any C api for that matter Raylib works with C++ without issue. If u ever decide to revisit this challenge, i hope u give Raylib another shot. Nice video btw.

    • @berni8k
      @berni8k ปีที่แล้ว

      @@Goodgis C code compiles in a C++ compiler just fine as an supported feature. This means you can use C libraries in a C++ program. So technically you are using C++, just that the library is not using any new features that the ++ part brings.
      For graphics a lot of libraries are actually in C deep down, so if a library is C++ it is likely just a C++ wrapper around C code. Not that it is a bad thing, C can do everything, the complex code just looks nicer to read with the extra C++ features.

  • @Wyrmlayer
    @Wyrmlayer 10 หลายเดือนก่อน

    Nice video goodgis but tbh I think its funny that a video about making a game in c++ and sdl2 from polymars from 2 YEARS ago was in my feed :)

  • @j.alexanderdouglas6641
    @j.alexanderdouglas6641 ปีที่แล้ว +9

    I greatly respect you, my friend! You're always showing so much courage to branch out and broaden your horizons. Do I correctly ascertain-from your tone-that you're not switching away from Godot just yet, based on this experience? Merely splashing in the shallow end of some other language pools, for the sake of variety and to keep your skills sharp?

    • @Goodgis
      @Goodgis  ปีที่แล้ว +5

      You're correct. For making actual commercial video games Godot is the way to go. I like using these frameworks for a learning experience. :D They also force me to make my games small for these types of videos.

    • @enochsadventures
      @enochsadventures ปีที่แล้ว +1

      Godot is natively written in C++, so even with Godot it's pretty useful. Especially since bindings are fucking stupid.

  • @connect2reality
    @connect2reality 3 หลายเดือนก่อน

    As a developer, I'd be interested in you recreating this game on multiple frameworks, and then testing the differences in each. Like, which one runs faster, and are the increases in speed worth the steep learning and development curve.

  • @StrikerTheHedgefox
    @StrikerTheHedgefox 6 หลายเดือนก่อน +8

    Says a "basic hello world program takes as long as reading Les Miserables", while showing a basic C++ hello world program that's literally 11 only lines long.

    • @ChickenGamingFlamingoLegs
      @ChickenGamingFlamingoLegs 4 หลายเดือนก่อน +2

      11 lines is pretty long for a hello world script

    • @Mizu2023
      @Mizu2023 4 หลายเดือนก่อน +1

      11 lines??? It should be like 6 or 5 lines at minimum

    • @itsaducklin
      @itsaducklin 4 หลายเดือนก่อน

      you can make a hello world script in 5 lines easily if you just remove the extra separator lines (the ones with nothing in them that makes the code look pretty)

  • @carcedopro7285
    @carcedopro7285 ปีที่แล้ว +1

    I really like your art style, its so smooth and colorful, maybe you could make a video and explain how you do it or teach a few techniques idk

  • @raphaelradespiel9970
    @raphaelradespiel9970 ปีที่แล้ว +4

    Was the super tux part supposed to be a PATHETIC ATTEMPT at a joke?? I'll have you know super tux and tux cart are fantastic games developed by the linux community, AND THEY ARE OPEN SOURCE. BUT OF COURSE A WINDOID WOULDNT UNDERSTAND. I use arch btw

  • @ironoreiron
    @ironoreiron 7 หลายเดือนก่อน +1

    1:15 that thing is terrifying 💀

    • @Goodgis
      @Goodgis  7 หลายเดือนก่อน

      LOOK AWAY!

  • @TheCoolIllusion
    @TheCoolIllusion ปีที่แล้ว +9

    Learn malbolge and I’ll pay you 15 dollars

    • @bonkers622
      @bonkers622 8 หลายเดือนก่อน

      oh god

    • @dalisticfoods6755
      @dalisticfoods6755 8 หลายเดือนก่อน

      y don't u do it and I pay u

  • @omarquinho
    @omarquinho ปีที่แล้ว +1

    New vídeo made by my favorite TH-camr ever

  • @vulnoryx
    @vulnoryx ปีที่แล้ว +3

    Now do a game in Assembly.

  • @notrickzdumbo
    @notrickzdumbo ปีที่แล้ว

    I just finished rewatching all your videos for the third time yesterday haha

    • @Goodgis
      @Goodgis  ปีที่แล้ว

      Woah! That's some dedication. Thanks so much! :D

  • @killwood
    @killwood ปีที่แล้ว +3

    For your next code challenge you should make a
    mmo in assembly!

  • @wellhellotherekyle
    @wellhellotherekyle ปีที่แล้ว +2

    Man I don’t know how you do it! Maybe I just lack determination but coding in ANY language is so hard for me, haha. Maybe I just lack determination.

    • @Goodgis
      @Goodgis  ปีที่แล้ว +2

      It just takes practice. :D

  • @reeceytaylor
    @reeceytaylor ปีที่แล้ว +2

    Your UI/concept designs are so nice. Do you have any recommended places for me to learn that kind of stuff?

  • @TheRealPalliot
    @TheRealPalliot ปีที่แล้ว +2

    Speedrunning a devlog! :0

    • @Goodgis
      @Goodgis  ปีที่แล้ว

      You know it!

  • @Beanie_peep
    @Beanie_peep ปีที่แล้ว

    WOW. YOU are so good at this

  • @MathGoOli
    @MathGoOli ปีที่แล้ว +1

    Your game looks good! You cold say your skills are sharper. 😂

  • @berni8k
    @berni8k ปีที่แล้ว +2

    Raylib works with C++ just fine
    All you have to do is change the compiler from gcc to g++ and it works just fine since C++ allows for mixing C++ and C code in a single program just fine. I mostly used Raylib with C++ this way.

    • @xGOKOPx
      @xGOKOPx ปีที่แล้ว +4

      The funny thing is that he dismissed Raylib because it's a C library and went for SDL which is... also a C library lol

  • @Galomortalbr
    @Galomortalbr ปีที่แล้ว +2

    this is a interesting video, C++ was the first language i ever learned and it is interesting to see nowdays it is considered to be one of the hard ones while most people first learn Python or Javascript, for what language to learn next i recommend to learn assembly 6502, it is one of the most accessible types of assembly out there, at least if compared with modern x86-64.

  • @soulshardstudios9365
    @soulshardstudios9365 ปีที่แล้ว +2

    if you want something on a slightly smaller difficulty level, but still pretty hard and low level try bevy and rust!

    • @Goodgis
      @Goodgis  ปีที่แล้ว +1

      I've heard Bevy is pretty sweet!

    • @soulshardstudios9365
      @soulshardstudios9365 ปีที่แล้ว +1

      @@Goodgis I'm excited for their visual editor! hopefully they come out with a prototype in the next release...

    • @costelinha1867
      @costelinha1867 ปีที่แล้ว

      @@Goodgis Bevy is pretty good, but it's more of a engine than a framework, so if you still want a feel that is closer to the likes of Pygame and SDL, I'd recommend the crate Macroquad.... or just use Bevy, like I said, Bevy is pretty good. (Just be warned that the initial compilation of that library takes an eternity.)

  • @maxrdev703
    @maxrdev703 ปีที่แล้ว

    This is super cool, I should really try engineless as some point. But I challenge you to use my language, C#!

  • @tiaretik_mtg3142
    @tiaretik_mtg3142 ปีที่แล้ว +1

    Next PL should totally be assembly!

  • @krevesstcreps2398
    @krevesstcreps2398 ปีที่แล้ว +1

    Goodgis says some very nice things at 5:09, so make sure to watch at full volume😈

  • @TrashHeap64
    @TrashHeap64 6 หลายเดือนก่อน

    I understand you not wanting to release spaghetti code but what about the resources you used to used to learn? I've found finding good SDL C++ tutorials to be pretty challenging

  • @ego-lay_atman-bay
    @ego-lay_atman-bay ปีที่แล้ว +2

    You should make a game in sql

  • @alebud1403
    @alebud1403 8 หลายเดือนก่อน

    2:29 this software how is called?

  • @tdog_
    @tdog_ ปีที่แล้ว

    bugs (to improve game):
    1. the in game timer is WAY to fast
    2. when the game is closed, main.exe still runs in the background and uses a lo of computing power, requiring task manager to close (also blocks it from being able to be deleted)
    3. (more or less critical feedback) if you click your keys in a certain way, you can speed through it really fast without trying

  • @Luycaslima
    @Luycaslima ปีที่แล้ว +2

    My biggest challenge with sdl2/c++ was not learning to use but to config the fking enviroment on windows if using mingw/vs code ( at first, after that is just muscle memory)

    • @OSharraps
      @OSharraps ปีที่แล้ว +2

      It is so much easier to set up a dev environment for C++ in Linux. I would recommend using WSL to develop on Windows.

    • @O5MO
      @O5MO ปีที่แล้ว +1

      I have always wanted to install Linux, but didnt fore many reasons. But now c++ programming its THE reason to do it.

    • @Luycaslima
      @Luycaslima ปีที่แล้ว +1

      @@OSharraps exactly what I did after . I already used in linux, it so much easier

  • @kayocchiii
    @kayocchiii ปีที่แล้ว

    i really love this game lol the style is very reminiscent of those little wii games

  • @mwn02
    @mwn02 ปีที่แล้ว

    The spaghetti actually looked good!

  • @plebisMaximus
    @plebisMaximus ปีที่แล้ว

    I had a lot of fun screwing around with developing in C++ on Linux, but linking libraries on Windows is equivalent to pulling your toenails out with pliers, I'm shocked nobody ever talks about it. How'd you get everything to work?

  • @tweetyguy7347
    @tweetyguy7347 ปีที่แล้ว +1

    just change the file extension to .cpp, c++ is simply a superset of c. they arent different, and they are completely compatible (i even use .h instead of .hpp for header files 💀)

    • @Mizu2023
      @Mizu2023 ปีที่แล้ว

      You can write C in C++, but not C++ in C.

  • @flamespeng48
    @flamespeng48 ปีที่แล้ว +1

    When is dewdrop dynasty coming .your videos are so good❤❤ keep finishing it

  • @nickst2797
    @nickst2797 ปีที่แล้ว

    What keyboard do you use at 2:23?

  • @benjaminperalta9286
    @benjaminperalta9286 ปีที่แล้ว +1

    You are a Chad of GameDevelopment. And because of course you are, I challenge you to do a game in assamble language.
    Or in Power Piont, if the first one sounds insane.

    • @Mizu2023
      @Mizu2023 ปีที่แล้ว

      Go try writing in ASM yourself 😂😂😂

  • @davidvasquezgarcia9521
    @davidvasquezgarcia9521 ปีที่แล้ว +2

    Now you should try making a game in Rust as another challenge

  • @ThatsOurRobert
    @ThatsOurRobert ปีที่แล้ว

    Love your artstyle! Instant Wii vibes. Maybe a tutorial on art sometime?

  • @egegl
    @egegl ปีที่แล้ว

    great vid :D

  • @Mikenaut
    @Mikenaut ปีที่แล้ว

    Beautiful video, I love these "challenges" and also as you create graphics, I wanted to ask you if the font you use has a copyright?

  • @Charmunk3d
    @Charmunk3d ปีที่แล้ว

    Great Vid!

    • @Goodgis
      @Goodgis  ปีที่แล้ว

      Thanks!

  • @kungermoon
    @kungermoon ปีที่แล้ว +1

    Maybe try C# with Monogame?

  • @AnonDev3
    @AnonDev3 ปีที่แล้ว

    pointers, references and not garbage collector unless you write one yourself is my defintion of hell.

  • @francis_the_cat9549
    @francis_the_cat9549 ปีที่แล้ว

    Nice video, I think rust with bevy would be really interestring too

  • @CC1.unposted
    @CC1.unposted ปีที่แล้ว +2

    Try using Assembly!!!

  • @PaLy_.
    @PaLy_. หลายเดือนก่อน

    where did you learn sdl2? I just saw that on youtube there are a lot of tutorial from the 2017...

  • @hassanjomaa4073
    @hassanjomaa4073 ปีที่แล้ว

    0:46 wtf is wrong with windows ?

  • @hilariousskullnamedcatzo647
    @hilariousskullnamedcatzo647 ปีที่แล้ว +1

    He did it...
    The mad lad did it

    • @Goodgis
      @Goodgis  ปีที่แล้ว +1

      And I survived to tell the tale.

  • @dankmemequeen9581
    @dankmemequeen9581 ปีที่แล้ว +1

    Do Assembly next 😆. You're gonna wish you could go back to C++.

  • @JoeyMarleyShow
    @JoeyMarleyShow ปีที่แล้ว +1

    I challenge you to make a game in Go. Making a game in a 20yo well documented lib is easy, try to learn it just from examples in the engine website.

  • @Funifire
    @Funifire ปีที่แล้ว

    This looks very good mr goodguy

  • @nil_at
    @nil_at ปีที่แล้ว

    4:14 printf is not c++, is it? :D Should be std::cout instead.