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

MineAscii

  • 2 Devlogs
  • 2 Total hours

A minecraft based game (voxel engine) that runs on the terminal.

Open comments for this post

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
0
10
Open comments for this post

53m 31s logged

Devlog 01

Just started the project!
I wanna make a minecraft in C that runs on the terminal. I know that will be hard as terminals were not supposed to do that kind of work but this is exactly the reason i’m using C

I started developing basic framebuffer functions and got the baaasic pixel rendering.

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…