Autumn Everywhere!

The traditional Chinese painting becomes an epic battlefield in Autumn Dynasty—an ink-brush, real-time strategy game set in a mystical, Far-Eastern fantasy world. Direct your armies with brushstrokes in the spirit of classical maneuver warfare—employ terrain,...

The beginning of Autumn Dynasty

Student hobby project! (NUS+Digipen.SG+NAFA) 462 AD: An age of gunpowder, barbarians and dragons! Ink-brush multiplayer real time strategy game set in the Exotic Orient! Use brushstrokes to select and move units: push, block, flank, surround and confound your...

Dot Product

Dot product is a cheap and useful function in many situations. It calculate the cosAngle to two unit vectors which is 1 when acute, 0 to -1 for obtuse angle. These are some applications which I found very useful. Gameplay Check if two unit are facing each other by dot...

NAN

Not A Number NaN is an insidious bug that often plague games and shader programs during development. If you are lucky, you would probably never encounter it before, but the first time would often be very painful. It began with a single unit disappearing from the map,...

Lerp

Linear Interpolation It would commonly take in 3 scalar or 2 vector and a scalar, and return the result of the formula x + s(y-x). Gameplay I often find this function useful for cheap generation of points along a relatively straight line. It is also very useful to...