I made my game engine

Sdílet
Vložit
  • čas přidán 17. 07. 2022
  • Discord / discord
    Patreon / benblodgett
    Engine benjaminblodgett.itch.io/ben-...
    Tamkish Music tamkish.bandcamp.com/
    I made my own 2D game engine / framework / renderer using OpenGL with the help of learnopengl.com and various sound and text rendering libraries. It ended up being a very simple project and I even made a game with it. Although I did not include that in this video. I am somewhat proud of the engine itself but mostly I am glad I undertook this project because of how much I've learned and how much that new knowledge informs me when working in higher level tools. Basically after working on this I'll have no trouble working with Unity or Godot even if the workflow isn't 100 the way I'd like it to be.

Komentáře • 59

  • @scottcastle9119
    @scottcastle9119 Před rokem +20

    More and more people are building their own engines, I think this is a new flex and I’m loving the tread.

  • @NinjacksonYT
    @NinjacksonYT Před rokem +73

    Impressive, very nice... let's see Paul Allen's engine.

  • @jankajura5922
    @jankajura5922 Před rokem

    man, not gonna lie when I looked at your subscriber count I thought instead of 1 thousand it was 1 million subscribers, keep up the great content and never give up

  • @cheeseman1153
    @cheeseman1153 Před rokem

    I just got recommended this video and I can't wait to see where everything goes!

  • @Soykaf_
    @Soykaf_ Před rokem +2

    Very cool Ben, Very cool. definitely bought that 200$ source.

  • @J.E.L.2658
    @J.E.L.2658 Před rokem +2

    Now you gotta host a game jam with it

  • @mNotebook

    a year late to this, but at

  • @evilmurlock
    @evilmurlock Před rokem +2

    Cool! I couldn't deal with the Unity game engine, so I made my own. Pretty cool to come across a fellow custom engineer.

  • @Hazanko83
    @Hazanko83 Před rokem +1

    Also, I was about to recommend SoLoud but just came across that part. I'm developing an engine for my game as well, and I'm using SoLoud with a couple of my own simple tweaks to the code for more functionality. I ended up having to figure out how to build for both windows and linux, as my intention is to have a client/server architecture with the server running on linux(although at this point I think all OS-dependent code has been removed). Learning to build a library was definitely a learning experience, but a very good one. Linux was much, much easier to build for in comparison to windows.

  • @latefid
    @latefid Před rokem

    rain world's music is really amazing

  • @LowLevelLemmy
    @LowLevelLemmy Před rokem

    That distorted bruh is something Unity could never.

  • @n8dev
    @n8dev Před rokem +1

    Yessss

  • @maricapilas2847
    @maricapilas2847 Před rokem

    wow i found this

  • @Dustballable
    @Dustballable Před rokem

    I don't think you need a pointer to any textures. You only ever call "use" which only accesses "id". You don't need a pointer member to the image data from stb_image, and it is pointing to null anyway once you call stbi_image_free. Unless I'm missing something your texture* member of drawable could just be a texture. Glad you decided to make a video about your renderer.

  • @deepvertic
    @deepvertic Před rokem +4

    Great job dude, i kinda wanna explore that same topic now as a fellow c++ purist! For the memory allocation try using smart pointers, they really make your life easier! 😄 looking forward to the next video!

  • @ubire2676
    @ubire2676 Před rokem +2

    You should use miniaudio instead of soloud. It's a single header library under the public domain. It has an intuitive low-level and higher level API. Libraries such as raylib use it.

  • @on-hv9co
    @on-hv9co Před rokem

    very nice! though, I hope you also discovered the delete keyword as well lol

  • @LvUhcX
    @LvUhcX Před rokem

    Would you recommend building a game from scratch or use a low level (code only no GUI) game engine?

  • @adamrushford

    SFML and OpenAL... my newest trick is minimp3