Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

addGenreMatching

Description

Adds a genre-audience match to the specified audience. This is useful when you're registering a new genre and need to add a genre match to all audiences.

Arguments

1 string audienceID

the audience ID.

2 string genreID

the genre ID.

3 number matchMult

the match multiplier.

Example

audience:addGenreMatching("everyone", "horror", 1.5) -- makes horror games go extremely well with games made for children