You are browsing as a guest. Sign up (or log in) to start making projects!

1h 33m 39s logged

Devlog 02

Added basic window and linked libraries!

So i spent some time adding CMAKE to the project. I do not like the semantics of these metabuild system but it is necessary and useful. I downloaded the GLAD loader and put in a external/folder. I also put by FetchContent the GLFW module so it is not on the source tree.

I now have a basic window. But yall may think that this is strange, if it is ascii why would i have a window?

My objective is to use the GPU to process the pixels but instead of putting it on the screen, it writes to a buffer and then my code prints using these ANSI escape codes to do RGB.

I will disable the window, that’s called offscreen rendering. But to my next tests i will do the framebuffer (i changed the previous class name to ascii buffer because it’s goal is to only print on the terminal. The framebuffer shall be the OpenGL target. The framebuffer functions shall also optimize the asciibuffer by compressing those ANSI scape codes)

If it works i can develop the entire game into a big screen and at the last time try to put it on the terminal. Do not know if this is a good idea.

:c: Forever

0
10

Comments 0

No comments yet. Be the first!