DLAB 2D game engine
- 5 Devlogs
- 8 Total hours
Using some help from tutorials , im attempting to learn all C++ as to offer by building my very own, thats right GAME ENGINE
Using some help from tutorials , im attempting to learn all C++ as to offer by building my very own, thats right GAME ENGINE
So i spent some time creating a camera function using GLM, and i successfully got it to load about a corner of my textured cube (SUCCESS) now i plan on incorporating shaders(fully they broke recently),
Im a little nervous for the cam tho cuz it lowkey was upside down and I DONT know how to fix it …. ALSO incorporated an error function just in case stuff goes haywire and down below is an example of an error you might see!
SUCCESS IS AHEAD:))))
After a few hours(and a a break day) I completed step 2 of the roadmap TEXTURES ARE ABLE TO BE LOADED AND COMPILED YAYAYAYAY so pretty much I added soil v 0.1.1 and followed the how to on GL_textures aswell as on soil and I successfully wrapped my first texture around my rectangle, success is AHEAD!!! ~~:)
STEP ONE OF THE ROADMAP COMPLETE Currently integrated a shader funtion that creates compiles fragment and vertex shaders, and I was able to draw one SINGLE FLESH COLORED TRIANGLE [( ;^} ) <—Me fr, Open GL has been awesome to me at times and was CRUCIAL in helping me debug because at one point (for some reason) all of my shaders REFUSED to compile and using the terminal it helped me identify the trouble spots(thank you REDDIT)!!! SUCCESS IS AHEAD
After so many, GRUELING TERRIBLE HORRIFIC Hours of debugging, i finally have my first sign of success(I literally was about to throw my laptop and cry) a open window with the escape key WORKING all of this is from scratch from the text to the input, What I did today Created 3 static libraries -UTIL where I put my wrapper, turns out C++ is very specific,( one Letter in line 54 was off and it broke the whole thing) image -GLAD an open source tool i used to help me fully setup OPENGL took many tutorials and a reading a foreign videos engl subtitles but it works now turns out my issue was that the main src file for glad was never included in the project but esta buen now!!! image -DLAB_WINDERS the main project for window creation ect, for some reason the color function isnt working i can tell because the window is GREY instead of BLUE image image and one EXE _EDITOR the main editor for the engine, as of now its just a blank window with some Console text
Spent quite a bit of time making the window function, the main GUI aspect of this Engine, So far i ran into many issues, one of them forced me to revert to SDL2.6.5 which is ok, but SUCSESS IS AHEAD