-
Notifications
You must be signed in to change notification settings - Fork 85
Weightings
GDT relies a lot on weightings. In the code these are most often in the form of genreWeightings
or audienceWeightings
and generally are floating numbers between 0.6 and 1 and are interpreted by the game code in different places. The meaning of the values can be illustrated as follows:
- 0.6: --- (terrible)
- 0.7: -- (bad)
- 0.8: - (okay)
- 0.9: ++ (good)
- 1.0: +++ (great)
Example of how these are used in the code:
//topic definition for Game Dev
{
id: "Game Dev",
name: "Game Dev".localize("game topic"),
genreWeightings: [.6, .7, .6, 1, .6, .8],
audienceWeightings: [0.9, 1, 0.7] }
}
genreWeightings
are defined as an array of 6 numbers, corresponding to the six possible genres:
- Action
- Adventure
- RPG
- Simulation
- Strategy
- Casual
In short genreWeightings
describe how well something matches with a given genre. In the case of the Game Dev topic [.6, .7, .6, 1, .6, .8]
describes that Game Dev is great fit for the Simulation genre while it's a terrible fit for Action, RPG and Strategy.
audienceWeightings
are defined as an array of 3 numbers, corresponding to the three possible audiences:
- Young
- Everyone
- Mature
In short audienceWeightings
describe how well something matches with a given audience. In the case of the Game Dev topic [0.9, 1, 0.7]
describes that Game Dev is great fit with Everyone, good for Young audiences but is a bad fit for the Mature audience.