Categories
Development Game Creation

How do I initialise levels sequentially?

I have been learning opengl and I have made good progress over past few months. However I still struggle to understand game logic in C++, I am new to C++ too. Say I have this program. #include <headers> int main() { #Step 1 VAO_VBO_EBO_inits(); while(!glfwWindowShouldClose(window)) { glClearColor(.2f, .2f, .3f, 1.f); glClear(GL_COLOR_BUFFER_BIT); #Step 2 DrawCalss(); glfwPollEvents(); […]