I made my game engine
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.
More and more people are building their own engines, I think this is a new flex and I’m loving the tread.
Impressive, very nice... let's see Paul Allen's engine.
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
I just got recommended this video and I can't wait to see where everything goes!
Very cool Ben, Very cool. definitely bought that 200$ source.
Now you gotta host a game jam with it
a year late to this, but at
Cool! I couldn't deal with the Unity game engine, so I made my own. Pretty cool to come across a fellow custom engineer.
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.
rain world's music is really amazing
That distorted bruh is something Unity could never.
Yessss
wow i found this
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.
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!
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.
very nice! though, I hope you also discovered the delete keyword as well lol
Would you recommend building a game from scratch or use a low level (code only no GUI) game engine?
SFML and OpenAL... my newest trick is minimp3