To be fair, there's nothing about this that make it really "an engine", the title is just pure clickbait. It's just few of the most common classes that are absolutely necessary to make any kind of 3D game.
@@dwarfda which is all an engine is? It's just a collection of tools and classes that are necessary to make a game, he wasn't going to implement a complex physics engine, audio, animation, etc. all within 48 hrs. But what he built was still an engine...
@@dwarfdaif you consider it to be on the level of Unity and whatnot, sure it isn't "a game engine" but that is also a bit short sighted. An application is an application regardless of how it holds up. That scrutiny only matters when you're trying to ship a product. It is still a game engine but is it a versatile or well documented and modern game engine? No not really yet it isn't trying to be for now.
If you don't want to watch the full video, here's the steps to create your own game engine: 1. create a hello world program and make sure it compiles 2. build your engine Happy coding!
Writing your own game engine is impressive, but as a game dev, I find the completeness of the game for jam even more important. Therefore, these two aspects together makes your work amazing. Maybe it is not perfect in terms of game design, but it's very cool anyway!
I still give him credit for coming up with a complete loop with a theme-appropriate mechanic given the tools he has to work with. Sometimes it's an interesting exercise to think of the simplest possible thing that's mechanically fun or interesting. It could build good practices to prevent feature creep too.
it's a weird thing about game dev that so many are willing to just waste their time with no expectation of ever making money. Imagine thinking "I want a website for all my cat photos. I need to build a browser first".
I am that kinda guy.I built my own browser with qt, web server with my own socket library and thread pool in c++, and also made myself a website to stare at and just feel absolutely happy about it when all the things are working just fine
I liked the "I use Arch, btw" reference. Nice. Very nice work for 48 hours... I would of just coded a very simple platformer engine, but I'm pretty simple. I think my favourite part was the collision detection/physics. I've found 3D collision to be quite the pain to debug, so I really like how you simplified it to what you specifically needed for the project. Very neat :D
i'm currently thinking about building my own platformer engine.. and let me tell you i wish i could call myself simple for doing that! physics is pretty hard and so is good movement. good luck with your projects, internet stranger! :3
Instead of making a game where you were the hole in golf, you should have made Unity make the game and you the engine. Then you could have skipped that whole coming up with ideas part.
Impressive work 👏! A gameplay loop could be that you get a higher score the longer path the ball rolls before it land in the hole. So you could play it safe by putting the hole closer to the starting point, or try to get a high score by placing the hole far from the starting point.
BROO I LOVE YOU AND THIS VIDEO AND YOUR GAME AND YOUR SKILLS. you got a new sub for life my dude. Fellow game dev here. Thinking about doing a game jam soon and filming it for y’all
If you move the flag outside of the terrain you get a crash with a POSIX WinThreads error message box. Maybe it's trying to look up a point on the heightmap and gets null?
@@hexeldev Yeah the ball bounces ok. But if the flag is moved outside the terrain it crashes. Excellent work though especially within the jam timeframe!
@@RandomGuyyy ah good catch. I didn't even read your comment properly, you said "flag" not ball. I honestly didn't even think about it, completely forgot. Its funny because if I fixed the ball going OOB but not the flag.
I wanted to make the ball bounce like real golf, I also wanted a skybox (cubemap) like Unity so the sky isn't a single color and I wanted a nicer map but these features had to get cut for the sake of shadows
Definitely get an upvote for the comedy. The Windows or browser requirement is why I'll never enter the GMTK game jams, though I just might use it as inspiration and write a game anyway.
@@hexeldev I think I've heard someone mention that before, but didn't know it was a game jam. Now that I've finally looked it up, I can see myself entering the Extra category, since I am a tad slow and can't always devote time to things outside of work. Might be time to finally join one of the public git websites and publish something as open source.
Great video! Really liked it. I participated in the jam ( top 2k ), and I have made my own game engine in the past, though it was in Java, pretty hard, Great job!
Not really, you can pretty much copy and paste bits and pieces and stitch em together into a game of sorts in very little time. It's once you want to expand your game to have multiple levels and objects with different properties and menus and so on that it gets a lot more complicated, cause you have to organise everything
I like how you walk us through each bug you experience, as well as your breaks. It's good to take breaks and know that bugs are something that ultimately plague every software dev!
I extracted the zip file of the game on a folder called game of the century, the experience was as follows I used my wits to try to predict where the ball would land and after three of those I let the flag go out of the map and the game crashed, 10/10 would unzip again
Why not just make a file reader that can read the obj files rather then include and external library? Obj files themselves are not complicated to get data from in the first place.
Wow, that is truly impressive. There is always this certain good feeling in freshly made game engines, sort of nostalgic, because of the graphics and lack of detail in the environment. I love it!
You’re S tier. Subbed. You code with the same passion I drive Hornets with in DCS. And all high skill programmers are so adept at language and optimization it shines through in your excellent narrative. No wasted words proper compressor on the music. 10/10
@@efeloteishe4675 You are right! Sorry, I confused glew with glut for some reason. I like glad, it works well for me and i dont see how its hard to get working. Can you elaborate?
For opengl, I basically just took an undergraduate course in computer graphics + a couple minor projects. In that course, we did everything you saw in this video, so I was already familiar. For the C++, checkout my other video
Game engines like Unity and Godot etc are great but often times you will be struggling to get what you have in mind implemented. They are not magic bullets. Sometimes they can actually get in the way. I highly recommend anyone with a serious interest in game dev try making a few games using only OpenGL. Its harder yeah but i don't think its as hard as most people that have nt done it think. I love and use game engines as well but ive always got a hand in a opegl only project. Ive written a couple of different model loaders for use in those projects that support pbr materials and skeletal anim for dae and gltf in windows and one for android. Qoite a piece of work but not as hard as i would have initially thought.
If I wanted to make a engine like the build engine but able to use 3d models like quake or heretic 2. What would be the way to start for a complete newbie? I want to make a retro shooter but without all the bloat that some game engine come with lol
Assuming you know C++ well, OpenGL is the best graphics api (to learn graphics programming) in my opinion, it's a bit old now so Vulkan is better but Vulkan should be learned after understanding opengl.
Btw. if you know Qt or want to learn it, you can jump right into development of pencil2D, which needs an experienced coder, at least for some weeks. You are on another level!
To clarify, I did not use python as a wrapper for C++ functions. I created a 3d model of a terrain in blender, then exported a heightmap png from blender. Then I made a python script that calculates the gradient of this image and outputs the result as another png. Then Portable Par, loads this gradient image on startup and uses it for physics. So the python is a script to convert one png to another before loading in the game
BRO, did u go the game school or something? Where did u learn the physics? I knew those math equations but didn't knew they can be applied like that. It was really cool how a single equation define a whole behaviour. 😍
This is super cool. My question is, how did you know that those were the steps to make a game engine? I really want to make one for a 2d sandbox game, but I'm stuck.
I had taken a computer graphics class at university and I had already done some small projects with opengl. I used the khronos doc and learnopengl.com as references
BRO. Making a game engine and a game in 48 hours is on a completely different level.
yea
This is second reply
To be fair, there's nothing about this that make it really "an engine", the title is just pure clickbait. It's just few of the most common classes that are absolutely necessary to make any kind of 3D game.
@@dwarfda which is all an engine is? It's just a collection of tools and classes that are necessary to make a game, he wasn't going to implement a complex physics engine, audio, animation, etc. all within 48 hrs. But what he built was still an engine...
@@dwarfdaif you consider it to be on the level of Unity and whatnot, sure it isn't "a game engine" but that is also a bit short sighted. An application is an application regardless of how it holds up. That scrutiny only matters when you're trying to ship a product.
It is still a game engine but is it a versatile or well documented and modern game engine? No not really yet it isn't trying to be for now.
If you don't want to watch the full video, here's the steps to create your own game engine:
1. create a hello world program and make sure it compiles
2. build your engine
Happy coding!
r/restofthefuckingowl moment.
It's like a famois tutorial on how to draw an owl.
1. Draw two ovals to form a head and body outline.
2. Draw the rest part of the owl.
Writing your own game engine is impressive, but as a game dev, I find the completeness of the game for jam even more important. Therefore, these two aspects together makes your work amazing. Maybe it is not perfect in terms of game design, but it's very cool anyway!
I still give him credit for coming up with a complete loop with a theme-appropriate mechanic given the tools he has to work with. Sometimes it's an interesting exercise to think of the simplest possible thing that's mechanically fun or interesting. It could build good practices to prevent feature creep too.
Bro said "I use arch by the way" unironically 💀💀💀
I can't even make a game in Unity in 48 hours and you made your own game engine + game. This is insanely cool
it's a weird thing about game dev that so many are willing to just waste their time with no expectation of ever making money. Imagine thinking "I want a website for all my cat photos. I need to build a browser first".
I am that kinda guy.I built my own browser with qt, web server with my own socket library and thread pool in c++, and also made myself a website to stare at and just feel absolutely happy about it when all the things are working just fine
I liked the "I use Arch, btw" reference. Nice.
Very nice work for 48 hours... I would of just coded a very simple platformer engine, but I'm pretty simple.
I think my favourite part was the collision detection/physics. I've found 3D collision to be quite the pain to debug, so I really like how you simplified it to what you specifically needed for the project. Very neat :D
i'm currently thinking about building my own platformer engine.. and let me tell you i wish i could call myself simple for doing that! physics is pretty hard and so is good movement. good luck with your projects, internet stranger! :3
I... I need to learn openGL...
Instead of making a game where you were the hole in golf, you should have made Unity make the game and you the engine. Then you could have skipped that whole coming up with ideas part.
you have a french accent
Renderdoc really out here saving lives.
Impressive work 👏! A gameplay loop could be that you get a higher score the longer path the ball rolls before it land in the hole. So you could play it safe by putting the hole closer to the starting point, or try to get a high score by placing the hole far from the starting point.
Excellent idea!
Dont tell me that you dont have any experience with opengl and c++
13:44 - "I use Arch btw"
.
BROO I LOVE YOU AND THIS VIDEO AND YOUR GAME AND YOUR SKILLS.
you got a new sub for life my dude. Fellow game dev here. Thinking about doing a game jam soon and filming it for y’all
[0:25] Who the heck uses Unity on Linux!? XD
needed some footage lol
chad linux user
If you move the flag outside of the terrain you get a crash with a POSIX WinThreads error message box. Maybe it's trying to look up a point on the heightmap and gets null?
I'm assuming POSIX WinThreads means the Windows version. On Linux the ball bounces as far as I can tell.
code for this logic: github.com/MartensCedric/portable-par/blob/fea79ac39c5b8542fbe53afbbcff08a887b1d520/src/main.cpp#L457
Maybe there's a bug
@@hexeldev Yeah the ball bounces ok. But if the flag is moved outside the terrain it crashes. Excellent work though especially within the jam timeframe!
@@RandomGuyyy ah good catch. I didn't even read your comment properly, you said "flag" not ball. I honestly didn't even think about it, completely forgot. Its funny because if I fixed the ball going OOB but not the flag.
"I use arch by the way"
Very cool, you’ve done amazing job finishing the game by the deadline! Any feature cuts you’ve decided to make during the development?
I wanted to make the ball bounce like real golf, I also wanted a skybox (cubemap) like Unity so the sky isn't a single color and I wanted a nicer map but these features had to get cut for the sake of shadows
@@hexeldev for the skybox you could've easily just added in a big (really big) cube with a texture (the actual skybox) and made it move with camera
Unity fan:
Linear algebra enjoyer:
Definitely get an upvote for the comedy. The Windows or browser requirement is why I'll never enter the GMTK game jams, though I just might use it as inspiration and write a game anyway.
Enter Ludum Dare!
Glad you thought it was funny, my humor is extremely dry so I didn't expect many to laugh.
@@hexeldev I think I've heard someone mention that before, but didn't know it was a game jam. Now that I've finally looked it up, I can see myself entering the Extra category, since I am a tad slow and can't always devote time to things outside of work. Might be time to finally join one of the public git websites and publish something as open source.
as a beginner, this is terrifying me
Great video! Really liked it. I participated in the jam ( top 2k ), and I have made my own game engine in the past, though it was in Java, pretty hard, Great job!
JAVA?!
Gameplay or shadows? Oh, he's gonna mfing do the shadows!!! I was right. LOL
Not really, you can pretty much copy and paste bits and pieces and stitch em together into a game of sorts in very little time. It's once you want to expand your game to have multiple levels and objects with different properties and menus and so on that it gets a lot more complicated, cause you have to organise everything
Getting into graphics programming is a humbling experience to say the least
All the APIs compatibility with other systems really saved your ass...
Watching this feels so good after learning openGL and understanding every step
"Unfortunately it didn't immediately work, so I had to spend some time solving the bug. But then it worked."
- every programmer ever
And here am I, struggling with collision algorithm 😂
I like how you walk us through each bug you experience, as well as your breaks. It's good to take breaks and know that bugs are something that ultimately plague every software dev!
I extracted the zip file of the game on a folder called game of the century, the experience was as follows I used my wits to try to predict where the ball would land and after three of those I let the flag go out of the map and the game crashed, 10/10 would unzip again
And I'm here looking at hello world like...
Why not just make a file reader that can read the obj files rather then include and external library?
Obj files themselves are not complicated to get data from in the first place.
I keep thinking about this lol. It might even have been faster to code haha
Based. I do this stuff too. Subscribed!
Wow, that is truly impressive. There is always this certain good feeling in freshly made game engines, sort of nostalgic, because of the graphics and lack of detail in the environment. I love it!
I use arch BTW and I felt it when they said make it on windows 💀
thankfully my friend is a windows expert
I want you to be my girlfriend bro.
@CedricMartens what OS are you using? Linux? Just for curiosity
Arch Linux
I haven't worked in c++ in over a decade and this looks scary now
Do you use KDE plasma? also, do you have any tips for programming (I am self teaching my self c++)?
Yes I am using KDE plasma. My best tip is just to practice a lot (do hobby projects)
@@hexeldev thanks, I also use kde plasma, but I use Debian
You’re S tier. Subbed.
You code with the same passion I drive Hornets with in DCS. And all high skill programmers are so adept at language and optimization it shines through in your excellent narrative. No wasted words proper compressor on the music.
10/10
Bro is that even possible
Great video! I would recommend using GLAD instead of glew however, as glew is extremely old.
No, it supports OpenGL 4.6 (latest) and works really great, glad is sh*t to get working while glew is just a simple library.
@@efeloteishe4675 You are right! Sorry, I confused glew with glut for some reason. I like glad, it works well for me and i dont see how its hard to get working. Can you elaborate?
08:45 that blew my mind just from watching. great commentary, thanks!
Glad you enjoyed it!
How many years experience do you have with C++ and OpenGL?
For opengl, I basically just took an undergraduate course in computer graphics + a couple minor projects. In that course, we did everything you saw in this video, so I was already familiar. For the C++, checkout my other video
meanwhile ... im trying to fix blackscreen from framebuffers since last 2 days 😂
The level that i want to reach
This is crazy! Congrats
Nice and all, but you didn't make your own computer in 48 hours. 😂
Makes a game from scratch in two days
Names it PP
Refuses to elaborate
Legend
Great video, you should definitely make some tutorials or more in-depth videos about it!
What operating system does he use? Really cool
Arch Linux
Game engines like Unity and Godot etc are great but often times you will be struggling to get what you have in mind implemented. They are not magic bullets. Sometimes they can actually get in the way. I highly recommend anyone with a serious interest in game dev try making a few games using only OpenGL. Its harder yeah but i don't think its as hard as most people that have nt done it think. I love and use game engines as well but ive always got a hand in a opegl only project. Ive written a couple of different model loaders for use in those projects that support pbr materials and skeletal anim for dae and gltf in windows and one for android. Qoite a piece of work but not as hard as i would have initially thought.
Yo, nice KDE Plasma setup btw. I love the Sweet GTK theme.
Do Vulkan next 😂
great video 😀
If I wanted to make a engine like the build engine but able to use 3d models like quake or heretic 2. What would be the way to start for a complete newbie? I want to make a retro shooter but without all the bloat that some game engine come with lol
Assuming you know C++ well, OpenGL is the best graphics api (to learn graphics programming) in my opinion, it's a bit old now so Vulkan is better but Vulkan should be learned after understanding opengl.
@@hexeldev alright, thank you
Wow, now i am able to see how dumb i am. Thank you!
Btw. if you know Qt or want to learn it, you can jump right into development of pencil2D, which needs an experienced coder, at least for some weeks. You are on another level!
Legendary bro🎉
You got a new fan lol. I never actually implement shadow myself. Looks cool I have to try it some time
Long time ago I made a red circle in C, that could be rotated with the WASD keys.
this is beautiful... im actually crying. now make couter strike 1.6
you sound french
yes
U are the most talented person in the World . Why u are in RUclips . Join to Nasa or other companies or agencies
this man actually built a 3d engine in 24 hours, the day after just played with Blender and shadows. Remarkable
absolute madman.. keep it up
I thought you were using android studio at first the UI looks the same😂
Really good video, i could see you becoming big in the future. Keep having fun man!
Choosing to add shadows over making a game fun is the most graphics engineer thing Ive ever heard of my life 😂
I’m taking c++ in college rn and I. Honestly love it I hope to be as good as this one day
Can you tell me where you learn opengl? is there good source for learning??
learnopengl.com
@@hexeldev thanks bro👍
Arch❤
wow, I can't imagine how much things you need to know to do this and how much familiarity one must have had to implement all these within 48 hrs.👍👍👍👍
"I use arch btw" :D
can make small serries on making game engine.
simple feature 3d game.
This man just created his own game engine (in 24 hours) while I’m having tough times just to learn Python basics
He probably has +10 years experience in previous endeavours.
„I use Arch BTW“ got me rolling 😂
from the beginning you sit and think about what you will write and then what you will come up with (game idea)
6:05 "All ideas we're pretty bad" I like all of them, the most meta slap joke would be 6 by forking an open source chess game and changing 1 line
or "roles reversed: the player writes the game"
How do you only have 435 subs???? I subbed btw
Thank you,
Your video inspired me!
Keep it up, mate!
WoW just came across your video and I must say that youre such a underrated programmer my guy
kde plasma lets goo!!!
Great Man where you learn this
learnopengl.com
bro went from an orange triangle to a 3d masterpiece
6:47 this how is called the app?
Portable Par
This is incredible. Can you talk about how and why you used python as a wrapper around the c++ functions?
To clarify, I did not use python as a wrapper for C++ functions. I created a 3d model of a terrain in blender, then exported a heightmap png from blender. Then I made a python script that calculates the gradient of this image and outputs the result as another png. Then Portable Par, loads this gradient image on startup and uses it for physics.
So the python is a script to convert one png to another before loading in the game
so there's basically no python interpreter overhead at runtime. cool
A new jdh is born 😅
First!
We need a tutorial on how all these great tools can be used to together please
wow bro. i loved your skill. great
BRO, did u go the game school or something? Where did u learn the physics? I knew those math equations but didn't knew they can be applied like that. It was really cool how a single equation define a whole behaviour. 😍
I have a bachelor's in Software Engineering
@@hexeldev oh, wow. I m pursuing bachelor in physics so, most of the math looks similar.
Honestly pretty impressive for just 48 hours :D
can i get the game engine
the GitHub link is in the description, the engine is highly coupled with the game though
Fantastic! Not many people make their own engines, especially in game jams. Really well done.
THIS
IS
EPIC
This is super cool. My question is, how did you know that those were the steps to make a game engine? I really want to make one for a 2d sandbox game, but I'm stuck.
I had taken a computer graphics class at university and I had already done some small projects with opengl. I used the khronos doc and learnopengl.com as references
@@hexeldev Thank you.
Idk if u were trying to make a pun with those “Future” words. Daft Punk ref?
Awesome job btw
No reference intended haha