This goes for most programming languages I guess. But especially for C++ when you are making a game.
I was working on a code that places blocks in a 3d space ship. The block was supposed to be placed one after each other. But instead, the blocks were placed partly within each other.
I was making a huge seamless texture of a concrete wall for our textures site, when I found out that the original textures were taken with a light source more powerful at the right side. This gave me images where the left side was darker than the right one. The [...]
When you need to use the absolute value from a variable, use std::abs (usually residing in ). If you’re certain you’ll be dealing with floating point variables, use std::fabs.
If you only use ::abs with floating point variables, you’ll risk an implicit cast to an integral value (short, int, long).
Be safe, use ::fabs, std::abs [...]
I just had the pleasure of trying to figure out why my OpenVPN based VPN didn’t let me do anything when connected to it. Checking out code from internal repositories didn’t work, downloading large files only worked for the first 60 kilobytes.
There are many variables in this, with borked MTU sizes, fragmentation and underlying network [...]
convert *.JPG -resize 1600 target.pdf
We decided to create a new texture site for game developers looking for high quality and high resolution textures. The reason was simply that we couldn’t find any really good sources for high quality textures readily available. So, we created our own site with our textures.
We’re adding new [...]
I’m writing this post mostly as a reminder to me and my coworkers at Studiofreya that we are not alone at struggling with video game development. Today I’ve noticed a tweet by famous Hobby Game Dev that was just about this topic. I’m gonna take answers to his question as a ground stone [...]
I have two methods stop() and remove(). In stop, remove is called with an async parameter.
I couldn’t figure out why my method wasn’t being called, until I recompiled the file and saw this warning:
Then it was pretty clear what I’d miss.
(On my keyboard layout, comma and semicolon is on the same [...]
As we are planning on going to Steam Greenlight with our game “Burnt Islands” we decided to have more than just “English” language in the game. As we’ve built our own engine it was not so difficult to implement several languages. The solution (and [...]
Recent research has shown that playing video games makes some pieces of your brain thicker. In a research paper published on PLOS ONE have researches found a robust positive association between cortical thickness and video gaming duration. The results may represent the biological basis of previously reported cognitive improvements due to video game [...]
Tagsanswers bash books boost bug bullet physics burnt islands c++ check code collision communication curtification Dev development Fallout: New Vegas file format game Game review gentoo glsl graphics howto irrlicht Java linux math mvc opengl people performance physics predicate programming questions quiz research std template terrain test texture tip Visual Studio