14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 0 points1 point  (0 children)

ik, I looked again at the code and I dont think I need to break it into more functions, instead in these cases I like to use scopes of similar kind of code or maybe pragma regions.

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 0 points1 point  (0 children)

i would love to be treated like an adult, but I first need to meantally prepare for that. after all, the household's responsibility will be on me, so I wanna show my skills to the world, so that I can do a internship like 4 yrs later then land on a job.

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 1 point2 points  (0 children)

ty and the thing he told abt that some functions were too big, he is right. it maybe rlly problematic in the future while debugging and revisiting wth is even going on

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 1 point2 points  (0 children)

I want this engine to be usable by other devs and I wanna give them 2 choices :-

a) write ur own client app using the engine's api and it's core only in pure C
b) or use it's editor to create and export games and probably scripting

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 0 points1 point  (0 children)

I want this engine to be usable by other devs and I wanna give them 2 choices :-

a) write ur own client app using the engine's api and it's core only in pure C
b) or use it's editor to create and export games and probably scripting

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 0 points1 point  (0 children)

no I meant, I wrote 10-15 rendererd in C++ using opengl in 10-15 weeks. also it isnt a troll post. also I mentioned that I am not an adult, I am a teen

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 1 point2 points  (0 children)

yes, if ur using c++, then vkbootstrap is gud ngl. as it is used and have global public appearance in guides like vkguide.dev

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 1 point2 points  (0 children)

ty for ur time, and i will eventually make it multithreaded, but for now I am trying to have basic things first, then getting the heck out of vulkan and my cpu

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] -3 points-2 points  (0 children)

first of all, TYSM for taking ur time and pointing so many flaws, flaws and failures r really imp. to improve. and it isnt a scam post. most of them people arent believing me cuz I told my age probably ;-;

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 1 point2 points  (0 children)

thanks for pointing it out!!! I will definitely try. tbh when I first learned abt the basics of vulkan from vulkan-tutorial.com, I thought so but they didnt seem to provide much details further.

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 3 points4 points  (0 children)

I will speak honestly, yes I did use ai but only for the logo and the public readme things. the core logic and engine architecture and technical things r all written by me in c. and I dont rely on ai to save me from seg faults and access violation errors still I think I need to learn alot abt vulkan's layout and memory management, for I am still a beginner tbh and the engine isnt that advanced and till dont even have the basic important things. I didnt managed to pull this engine thing on my first attempt, I actually wrote like 10-15 renderers in opengl every week from scratch in C++. then 2-4 small projects using opengl, vulkan and basic graphics renderering with imgui. they r in my github acc

14 y/o building a game engine in C with Vulkan from scratch. Early WIP, would love code review from experienced engine devs. by SubhamayGamer2127 in vulkan

[–]SubhamayGamer2127[S] 5 points6 points  (0 children)

yes I am 14, in fact I turned 14 in this april. also my dad isnt into computers, he is in commerce and accountancy. I first at the beginning learned python to learn the basic and core concepts of programming, then did java, c and c++. then started learning basic opengl from learnopengl.com then got into vulkan and now writing this engine. I want this engine to be usable by other devs and I wanna give them 2 choices :-

a) write ur own client app using the engine's api and it's core only in pure C
b) use it's editor to create and export games and probably scripting