Hello-Raylib
- 5 Devlogs
- 16 Total hours
Some random project for me to learn Raylib
Some random project for me to learn Raylib
UpdateCameraPro and some custom bindings: Shift for sprinting, Space to go up and Ctrl to go down. The rest is basically the same.
terrain.cpp code was trying to call the Chunk destructor after the window was already closed. Solved it by emptying the std::vector responsible for the chunks before the program was closed instead of letting it to the C++ runtime.Q, E and arrow keys.
idk (accepting suggestions) ((maybe more shader related props, or procedural structs, not promising anything though))
char * strings. Solved it by concatenating them as std::string and turning them back to char * with .c_str().
.obj file
I’ve played around with user interaction (both mouse and keyboard), locking and unlocking cursor, resizeable window, etc. and decided I could already jump straight into 3D. Also, now the triangle pulses via sine waves 
Probably mess up with other shapes, then do lightning and shaders.
I’ve done this window (meant to be just a triangle, but the red triangle looked a lot like the flag of my state, Minas Gerais, so I kind of recreated it). The triangle changes the “rediness” when pressing “a” (goes to black) or “d” (goes to red).
Starting to learn (already explained at AI use declaration, but basically didn’t find some tutorial that seemed to switch to me, so using AI, without it writing code to me, + documentation for functions and library methods)
Finding an intelisense that works (still didn’t find, even after setting up GNU Global)
Learning more :) (I’d like to make a shader next, or 3D shape)