Guilherme de Oliveira

Game Programmer

Guilherme de Oliveira's Picture

April? You mean the Fourth Month?

WOW, this month lasted forever, dude. Is it 2023 ALREADY? As I draft this writing throughout the days of the weirdly long ...

smart pointers in C++

It was on my list for a long time, and now I’ll finally take a look at smart pointers, how they work, and how to better us...

How come it's always March?

Here is to trying new things! I always wanted to write monthly updates and things like that. I have no idea where these wi...

What if strings were ints?

There comes a time in everyone’s life where they ask themselves: “What if strings, but integers?” Strings are a complicat...

What about C++17 filesystem?

So here is the issue: In my simple engine I’m developing that are basically two (or more) working directories. There is th...

Iterating on a for loop with ++i or i++?

I see a lot of for loops around. and sometimes they are written like for(int i = 0; i < 10; i++) and sometimes they are...

Figuring out spritesheets on Modern OpenGL

Probably one of the classicals problems you will face when doing a 2D game, or a 2D game engine, is: “How to make a sprite...

In which I talk about std::unordered_map

In my last post I talked about doing multiple animations in an Animated Sprite Component, and for that I’ve used std::map....

In which I talk about std::map

I’ve dabbled with std::map(s) in C++ already, yes. But for some reason it just never sticks, so here I am writing a tad bi...