
Category Archives: Extensions


The new class in Extensions, ObservedValue: what is it for and how to use it
If you have written a lot of game code, then you probably wrote something like this before: [crayon-6576d6ec1c6f2054134150/] The idea is, you check or calculate some value very often (every frame, for example), but only perform some action when it…
New generators: designed from scratch for use in procedural content
We introduced generators the first time in Extensions 1.2. Those early generators, while useful at times, were quite inflexible and too specific. In the latest version of Extensions (which came out yesterday!), we introduced the completely redesigned generators. A generator,…
Introducing Response Curves
A response curve is an easy-to-define piece-wise linear curve. They are described by Bob Alexander in AI Programming Wisdom in the article The Beauty of Response Curves. Below is an example: The curve above can be defined as follows: [crayon-6576d6ec1d19f895580075/]…
Introducing Generators
We added generators to version 1.2 of Extensions. A generator, in our terminology, is an object that can give you new instances of a type on demand. (This is similar to random number generators, which gives you a new number whenever…