Category Archives: C++ / Generic
Note : All code present in this section is licensed under a GNU Lesser General Public License where applicable, meaning you're free to use it for personal and commercial purposes as well as modify it to your heart's content. Have fun!
If you work with graphic-intensive applications, you may eventually want to be able to alter colors, either to add or substract light, turn the image to greyscale or change its hue. Fortunately, it can be done easily by manipulating RGB … Continue reading
Reading and interpreting image files is a very important aspect of game development, since you can’t display anything if you don’t have data to support it. There are plenty of libraries on the net to read different image formats, but … Continue reading
In game programming, the classic way of detecting collision using bounding boxes has its limits and is actually pretty inefficient when dealing with objects which are not actually rectangular, especially when those objects are constantly rotating. In this case, a … Continue reading