Making a Game With C++ and OpenGL

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 109

  • @rileyhawksworth8362
    @rileyhawksworth8362 10 месяцев назад +87

    goose. nice choice. geese are nice.

    • @pyscrap
      @pyscrap 10 месяцев назад +1

      goose? geese? GEESES?

    • @shadowlordalpha
      @shadowlordalpha 10 месяцев назад +3

      no they are not, they are very mean

    • @kjellbeats
      @kjellbeats 10 месяцев назад +5

      ​@@shadowlordalphathey're nice to cool people

    • @timmygilbert4102
      @timmygilbert4102 9 месяцев назад

      Except in final fight 😢

    • @crazycdn8327
      @crazycdn8327 5 месяцев назад +1

      They’re angry cobra chickens.

  • @Rafael-yo6hd
    @Rafael-yo6hd 10 месяцев назад +25

    Nice work! Loved the goose pixel art.
    One thing I would modify is the level creator, instead of using a txt file, I would use a image file and read the color of the pixels. For the long run and customization, would save time and be faster to iterate the level designs.
    But still, great job and keep it up!

  • @AdrienTD
    @AdrienTD 9 месяцев назад +5

    As someone who wrote C++ for a decent time, I have one tip: AVOID using new/delete if possible.
    For example in your struct Player you define the position as a pointer to a Vector2 (Vector2* position;) instead of a Vector2 directly (Vector2 position;). With the latter the Vector2 is always constructed/destroyed with the Player struct and you won't need to use new/delete manually.
    I guess if you come from C#/Java using the new keyword might seem normal, but in C++ it's usually considered bad practice.

    • @halfbakedproductions7887
      @halfbakedproductions7887 9 месяцев назад +1

      Unreal Engine expects most things to be done in that way, but it has its own garbage collection going on.
      But yes, what's being used here is susceptible to memory leaks if you forget to free the pointer when the struct falls out of scope. You could use a smart pointer, something like std::unique and std::make_unique I guess.

    • @AdrienTD
      @AdrienTD 9 месяцев назад +1

      @@halfbakedproductions7887 Yes, with large classes nothing wrong with allocating them separately (best with smart pointers), but with small trivial structs like Vector2 it just makes more sense to make the Vector2 part of the struct (composition). Allocating each Vector2 individually on the heap can also cause some issues like memory fragmentation and waste.

    • @MirrorsEdgeGamer01
      @MirrorsEdgeGamer01 9 месяцев назад +1

      I always try to allocate on the stack whenever possible.

  • @borbzaby
    @borbzaby 10 месяцев назад +15

    Kinda looks like a Goodgis thumbnail but a completely different game. In a good way. It looks awesome

  • @Diverse_Gaming_Zone
    @Diverse_Gaming_Zone 9 месяцев назад +10

    I love your video I’m 11 years old and learning to code a game but it has been super boring and your making it entertaining🎉

  • @Claude-bg6ef
    @Claude-bg6ef 9 месяцев назад +3

    Listen, you're really smart, I admire you

  • @victornas91
    @victornas91 10 месяцев назад +1

    Zyger uploading, another treat for my weekend.

  • @diwakar_tsn
    @diwakar_tsn 10 месяцев назад +8

    I used raylib for my c++ game pong
    semester project

  • @itsyaboijoe6389
    @itsyaboijoe6389 10 месяцев назад +2

    ZYGER UPLOAD LETS GOOOO

  • @swiftcreepa2096
    @swiftcreepa2096 9 месяцев назад

    Thats freaking awesome!

  • @merc.5802
    @merc.5802 7 месяцев назад

    this is the coolest thing I've ever seen

  • @Uranerdbro
    @Uranerdbro 10 месяцев назад +1

    W goodgis thumbnail

  • @Demonicbuilds8
    @Demonicbuilds8 6 месяцев назад

    I LOVE YOUR VIDEOS AND C++ ❤

  • @kwameopareasiedu
    @kwameopareasiedu 9 месяцев назад

    Nice one. Currently creating a pacman game in C and ncurses. Just finished a level generator using wave function collapse algorithm.
    Took 2 weeks and multiple attempts to get just that working... 😅

  • @Sunrymoon
    @Sunrymoon 9 месяцев назад

    The thumbnail almost got me

  • @JoinasTV
    @JoinasTV 9 месяцев назад +2

    As a goose and gamedesigner myself, I enjoyed your video very much!

  • @Icie145
    @Icie145 10 месяцев назад +3

    Mmyes a banger

  • @timmygilbert4102
    @timmygilbert4102 9 месяцев назад

    Kween is back 🎉

  • @tomasberzinskas8960
    @tomasberzinskas8960 9 месяцев назад

    Great game, I love the goose!

  • @leonardo01570
    @leonardo01570 9 месяцев назад

    Nice video! What resources did you use to implement 2d texture animation??

  • @atiedebee1020
    @atiedebee1020 9 месяцев назад +2

    But where is the OpenGL part
    Ive been baited

  • @Nkanyiso_K
    @Nkanyiso_K 10 месяцев назад +4

    Is *Project Jude* still on your itinerary?

  • @bluishturtle763
    @bluishturtle763 Месяц назад

    How did you learn c++ im struggling to get anywhere and can’t find anywhere that will teach me what im going to need to begin any game dev. I completed it in codecademy and just don’t know my next step.

  • @KostasCpp
    @KostasCpp 3 месяца назад

    make a full course about unity and c#

  • @WafflerSupreme
    @WafflerSupreme 8 месяцев назад

    Wouldn't A* or Dijkstra help with generating the level?

  • @OpvVR
    @OpvVR 17 дней назад

    Thanks ChatGPT too

  • @Isaaclolwastaken
    @Isaaclolwastaken 7 месяцев назад

    The new Dani

  • @marsimplodation
    @marsimplodation 10 месяцев назад +1

    finally some c++ love. Is the source code available? Would love trying out some proper fsm for the enemies, as they seem a bit dull

  • @baker_dev
    @baker_dev 8 месяцев назад

    nicee

  • @OtavioCorrea-nh7fq
    @OtavioCorrea-nh7fq 4 месяца назад

    Meu Deus! Que vídeo ótimo, poderia fazer um tutorial ensinando... Mas, muito obrigado por compatilhar seu conhecimento.

  • @A_Dad_Playing_Games
    @A_Dad_Playing_Games 9 месяцев назад

    question. I have a multiplayer game that I'll be releasing on steam. I can't find a clear answer anywhere. Does steam provide us with the use of their servers? Or do I have to pay for 3rd party servers and implement it to be used in steam?

  • @只是約翰紐約市
    @只是約翰紐約市 10 месяцев назад +9

    it's a goose. Geese is plural form like feet, teeth, meese

  • @benpecto.benpecillton
    @benpecto.benpecillton 9 месяцев назад

    cool channel bro

  • @IbytheGOAT
    @IbytheGOAT 7 месяцев назад

    what about a 3d game in C++ and OpenGL 👀

  • @Tech_Code127-76
    @Tech_Code127-76 10 месяцев назад

    Nice

  • @TecnocraciaLTDA
    @TecnocraciaLTDA 10 месяцев назад +1

    Do a 3D game now with opengl, plss, can be simple

  • @Mr.WarthunderGuy
    @Mr.WarthunderGuy 9 месяцев назад +1

    Do luau pls

  • @assido_hd5214
    @assido_hd5214 8 месяцев назад

    What keyboard are you using😊

  • @TKaYonYoutube
    @TKaYonYoutube 9 месяцев назад

    I do SDL2 to learn gameDev on C++

  • @UnrealCatDev
    @UnrealCatDev 10 месяцев назад

    C++ LETS GOOO

  • @imranabbas1786
    @imranabbas1786 4 месяца назад

    code?
    can we have it ? might help us in our uni project

  • @randomly2000
    @randomly2000 9 месяцев назад

    I love your Voice 😊

  • @theonewhowil
    @theonewhowil 10 месяцев назад +2

    C++ game devlopment with no engine is a mark of a great programmer

    • @OGA-b4l
      @OGA-b4l 9 месяцев назад

      S2d (what she is using) is pretty much an engine)

    • @yarpen26
      @yarpen26 8 месяцев назад

      The video title's misleading af as it makes it seem like she's going at it raw, Carmack style, even so far as tackling the actual rendering pipeline. S2D is in fact only slightly below Godot when it comes to accessibility and solely because there's no GUI (at least I think there's none, it's hard to say, there's almost nothing about it on the net anymore) so you have to code directly, but other than that, the whole library is ready, not surprising since it's just SFML coupled with Box2D. Needless to say, SFML takes care of all the OpenGL-to-Windows linkage crap, you only need to activate it in code.
      Also, what a weird choice of engine... this thing has been dead in the water since it was released back in 2015, the original Github built was moved once to a different repo which has never since been pushed to again. The website's offline, there is zero community around this... why would anybody play around with it if so many better and well supported options are available? It really looks like she just gave a blind shot at whatever the first page of the Google search yielded that required not too much reading into before jumping in.

  • @TecnocraciaLTDA
    @TecnocraciaLTDA 10 месяцев назад

    Hellooooooo Zygerrr 🇧🇷 🇧🇷

  • @mattanimations6997
    @mattanimations6997 9 месяцев назад

    I can’t wait for the second fps devlog (unless you cancelled it)

    • @ZygerGFX
      @ZygerGFX  9 месяцев назад

      No its coming soon promise. Lots of new stuff :))

  • @Abdullah-ww8yn
    @Abdullah-ww8yn 10 месяцев назад

    Any updates on ur multiplayer fps???

  • @musashi542
    @musashi542 10 месяцев назад

    ever tried Clion ? whats your opinion on it ?

  • @S0ggyW3tW4t4r
    @S0ggyW3tW4t4r 10 месяцев назад

    Why is the goose/geese so horrify

  • @whiteingale
    @whiteingale 2 месяца назад

    are you same guy who made that game where you have two ducks mirrirred on the map or no? 😃

  • @MunaAlaneme
    @MunaAlaneme 9 месяцев назад

    Bro created Pacman Maker

  • @PaulMetalhero
    @PaulMetalhero 10 месяцев назад +2

    Good project. But you should not use manual memory management in modern C++

    • @adrianhorn4962
      @adrianhorn4962 9 месяцев назад

      Why??

    • @PaulMetalhero
      @PaulMetalhero 9 месяцев назад

      Because it's not safe@@adrianhorn4962

    • @lpalaguachi2
      @lpalaguachi2 6 месяцев назад

      ​@@adrianhorn4962Did you find out why

  • @gruelingpine1857
    @gruelingpine1857 10 месяцев назад

    It's a goose. Geese is the plural word. Would you try making a game with SDL?

  • @ItsOnlyTG
    @ItsOnlyTG 9 месяцев назад

    Amazing fucking video

  • @niema4154
    @niema4154 7 месяцев назад

    i leave a subscribe, i really enjoy ur content :3 I am waiting for more ;3

  • @christiankm8820
    @christiankm8820 10 месяцев назад

    singular: goose
    plural: geese

  • @thecookieman568
    @thecookieman568 9 месяцев назад

    Hi! Im trying to become a game dev, if you can, can you please link the background music and sound effects because im having trouble finding good ones.

    • @ZygerGFX
      @ZygerGFX  9 месяцев назад

      Best of luck. And music and sound effects are from epidemic sounds

  • @foqsi_
    @foqsi_ 9 месяцев назад

    Did you know that a banana is a berry, and a strawberry is not a berry?

    • @ZygerGFX
      @ZygerGFX  9 месяцев назад

      Wait what... there's no way that's actually true

  • @Nemesisardans
    @Nemesisardans 9 месяцев назад

    What do you major in university, why did u decided to go into programming?

  • @KJ7JHN
    @KJ7JHN 8 месяцев назад

    Diagon ally. Poof! Harry? What are you doing down here? 😊

  • @ResistDemise
    @ResistDemise 8 месяцев назад

    More videos now

  • @OGA-b4l
    @OGA-b4l 9 месяцев назад +5

    There was no opengl used here...

    • @BlessedDog
      @BlessedDog 7 месяцев назад +2

      Yeah, the only OpenGL code I saw was at around 0:17
      But that was just opening the window and creating the context IIRC. Might've been some GLM stuff as well

    • @PinkeySuavo
      @PinkeySuavo 7 месяцев назад +1

      ye I was curious too cause I tried to learn openGL some time ago and it was like 70 lines to show a fucking triangle, and when she showed a duck with 2 lines i was like "wait a second"

  • @IgorBlackHusbandElenaLitun8v0
    @IgorBlackHusbandElenaLitun8v0 9 месяцев назад

    good work seniorita. (kohedlo/Imperial Game Engine 2 developer)

  • @Martyrir
    @Martyrir 10 месяцев назад +2

    SECOND....

  • @TheFrostFyr
    @TheFrostFyr 10 месяцев назад

    Peck-Man

  • @emanuelprieto
    @emanuelprieto 10 месяцев назад

    Its a Duck

  • @danielelskamp5527
    @danielelskamp5527 9 месяцев назад

    huh

  • @sharokhkeshawarz2122
    @sharokhkeshawarz2122 10 месяцев назад +3

    where is the opengl part XD

    • @QWERTIOX
      @QWERTIOX 10 месяцев назад

      I think custom library handles opengl

    • @yarpen26
      @yarpen26 8 месяцев назад +1

      This engine is a Frankenstein of SFML and Box2D, they cover all OpenGL stuff. She isn't "making a game with OpenGL" any more than I am "igniting the fuel in the tank by turning the key".

    • @PinkeySuavo
      @PinkeySuavo 7 месяцев назад

      I was curious too, I wanted to learn OpenGL last time and it had like 70 lines of code to show a triangle and she shows ducks in 2 lines of code

  • @JasonMortimer3
    @JasonMortimer3 10 месяцев назад

    learn Rust and make a game with it using Bevy 💖

    • @OGA-b4l
      @OGA-b4l 9 месяцев назад

      Love to bevy, great engine

    • @n3y
      @n3y 9 месяцев назад

      love to engine, great bevy

  • @sarmalevrajitoare
    @sarmalevrajitoare 9 месяцев назад

    like if u wanted to play the game =(

  • @einfachnurbaum6732
    @einfachnurbaum6732 10 месяцев назад

    Oh girl, it's cool. But I would still using Godot Engine for game making.
    Psst How about a video about Godot Engine?

  • @that_guy1211
    @that_guy1211 10 месяцев назад +1

    welp, although i've been learning c++
    i think my worst fear is to actually have to use c++ to anything ,.,
    i'd much rather use a safer and easier language

  • @justaguynotamanyouwouldkno2207
    @justaguynotamanyouwouldkno2207 10 месяцев назад +2

    FIRST

  • @imvinetoday
    @imvinetoday 9 месяцев назад

    You look like female Dani.

  • @2000lemuel
    @2000lemuel 4 месяца назад

    source code??🥹

  • @GuiZeroUm
    @GuiZeroUm 10 месяцев назад

    Whats your LinkedIn?