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

generateEngine

Description

Generates an engine. Call this method when you want to generate some kind of engine for use somewhere. This method is used by rival game companies, for example.

Arguments

1 engine object

the engine to generate things for. If nil is given, will generate a new one.

2 number featureCountMultiplier

the multiplier for the amount of features to give to the engine.

3 bool noFact

whether the "generated engine fact" setting should be skipped. This is used when generating engines for the player in scenarios.

Example