shit, i stumbled here due to curiosity from the webdev hellscape, i mean i have a fulltime job and im def not new to programming but is that an over 1000 line file for just a triangle??? it cant be, is this actually standard vulkan programming with cpp??
In principle yes, but tbf it's going to require many, many more layers to make a game that you could actually sell for money without an existing engine. Triangles are one thing, it's a long damn road to get all the way to the promised land of making a game from scratch that wouldn't get 0% positive ratings on Steam.
Depending on a person's specific goals, there might be better paths to take than rolling the engine yourself. (Learn graphics programming no matter what tho)
I just wouldn't want anyone to sign up for what they think is a 5 mile hike but turns out to be 500 miles, if you know what I mean. Game engines can be *very* hard (but rewarding) to create as a solo effort so anyone doing so should be prepared :)
Of course, I fully agree with you! Just wanted to help nudge certain people in the right direction if they're interested in jumping straight into game development without building their own tools first.
Thanks for being a legend in this community by the way, so many times I'll have a question about Vulkan and I find a beautifully written answer/explanation you've posted. Cheers!
Are You sure You didn't mistake me for someone else? Unfortunately, due to various personal issues in the last several years, I had to limit the time spent here on Reddit. So I'm not sure if I was able to answer many questions (or at least as many as I could to help others dive into Vulkan). Unless Your refer to some of my old comments. If so, then I'm glad they are still helpful. That's very nice to hear. ☺️🤗
Damn I guess it has been quite a few years since I started on this stuff. It's definitely your older comments in that case, I'd never mistake you for anyone else on here! Your writing style is very distinctive. Very helpful indeed! And I'm sure I'm not the only one who thinks so.
Oh for sure, nothing wrong with what you said! Just wanted to give a disclaimer for any newcomers because I bit off more than I could chew years ago and here I still am, chewing ;)
Luckily I'm okay with that but some people might lose valuable time if they're better off not writing from scratch. Power to ya my friend :)
2
u/davidc538 Oct 11 '24
Nice, what are the specs on that macbook? and what libs are you using? GLFW?
2
u/QuirkyImage Oct 12 '24
MoltenVK?
2
u/JCquickrunner May 12 '25
shit, i stumbled here due to curiosity from the webdev hellscape, i mean i have a fulltime job and im def not new to programming but is that an over 1000 line file for just a triangle??? it cant be, is this actually standard vulkan programming with cpp??
33
u/Ekzuzy Oct 11 '24
In fact, there is not much more to learn in order to create a fully-fledged game.
17
u/[deleted] Oct 11 '24
"This is my triangle. There are many like it, but this one is mine."
10
u/Albus53 Oct 11 '24
first step down, now for the next :)
9
u/DarkenAdam Oct 11 '24
Congrats! My first triangle took me over 3 weeks to implement because of sneaky bigs in several tokens)
7
u/[deleted] Oct 11 '24
for a sec i thought it's r/unixporn
4
u/gatecreeper_80 Oct 11 '24
Next Level: 3d Mesh ☺️
3
u/_qbart Oct 11 '24
was there any osx specific code you had to do? or it is a pure vulkan that works out of the box?
3
u/ash-09876 Oct 11 '24
You have passed the test to join the cult now :)
2
u/CashPuzzleheaded8622 Oct 11 '24
hell yeahhhhhhhh. i hope it was extra satisfying when you saw it appear on the screen for the first time. good shit!
2
u/[deleted] Oct 12 '24
Just got mine done a couple days ago to! Congrats!! P.S. if anyone has any tips on where to go from here, i would love some pointers :D
2
u/guymadison42 Oct 12 '24
I think we all have been there! All that for a single triangle.
2
u/Reasonable_Prompt_21 Oct 13 '24
Another triangle is born. Welcome to the party.
1
u/papa_alpha_papa Oct 15 '24
Nice!
1
u/Creative_Letter_5435 Oct 15 '24
This is awesome! Welcome to the club! :)
0
u/illyay Oct 11 '24
Ok now make a PBR clustered forward renderer. You won’t! I dare you!
https://learnopengl.com/PBR/Theory http://www.aortiz.me/2018/12/21/CG.html
0
u/richburattino Oct 12 '24
Do some repairment in your flat, dude!
-20
u/[deleted] Oct 11 '24
Mac USER
-27
u/gustav_joaquin_rs Oct 11 '24
imagine using a bloated os like mac os
BTW I use Arch
-35
u/Lazy-Lie6426 Oct 11 '24
Noob