How to attribute/credit/cite the olc::PixelGameEngine

Hello! Firstly a big thank you, the fact that you are reading this means you actually care about doing the right thing, and want to acknowledge the software you have used from other developers.

The olc::PixelGameEngine is open source and is released under the OLC-3 licence. This means you can use it freely, even for commercial projects. However, the licence requires that appropriate attribution is required.

Continue reading “How to attribute/credit/cite the olc::PixelGameEngine”

olc::PixelGameEngine 2.0 is here!

After quite a few late nights, it’s finally here! PGE 2.0 is a significant upgrade on its predecessor, and is 100% backward compatible. This major revision brings in hardware accelerated sprites in the form of the olc::Decal, multiple rendering layers, and has been completely re-organised to make it easy to port to other platforms.

The features added were in response to the fantastic feedback from this community. You guys wanted to use it as a genuine game engine? Now you can.

Download from the Github Repo and try for yourself!

Casting Bit Magic

Pt. 1 Binary Representation and Endianness


This article began as an explanation of the “fast inverse square root algorithm” found in the source code of Quake 3 by id Software. While working on the article and receiving feedback I realized that I would better split the article in a small series about binary representation and the floating point type. We will begin at the basics of bit representation and ending the series with some nice bit trickery with the floating point format. The goal of the article is that beginner level programmers can understand the lower level workings of their machine. I do sincerely hope I have included enough material that also the more experienced programmer will enjoy the content. So here is the first entry!

Continue reading “Casting Bit Magic”