CSAF catalogue · GameMaker assets

Bourse - A Living Market That Draws Its Own Goods

A GameMaker asset from Core Systems Asset Factory. Made with GameMaker. Paid.

Bourse - A Living Market That Draws Its Own Goods is a GameMaker asset for GameMaker, paid.

Every shop asset sets a price in a table and reads it back. This one does not have a price table. Bourse simulates stock and demand, and the price falls out of the two. Buy forty sacks of grain and grain is dearer when you come back. Wait out a blight and you pay for waiting. And it draws its own stock: forty-eight trade goods, every one built from data by the GML in this package.

No sprite, no atlas, no texture page anywhere in it. The price, in one line price = base * scarcity ^ (1 / elasticity) The exponent is the interesting half. A good with low elasticity is one buyers must have at any price, so a shortage of it goes vertical. A good with high elasticity is one buyers simply do without, so the same shortage barely moves it. Bread is 0.35. Pearls are 2.4.

A 65% shortage multiplies bread by about 4 and pearls by about 1.5, out of the same arithmetic, with nothing special-cased. Both figures are asserted in the self-test that ships inside the package.

Tagged Economy, GameMaker, Generator, gml, market, Procedural Generation, shop, sourcecode, Trading and User Interface (UI).

AI disclosure, as the store page states it: AI Assisted, Code, Graphics, Text

Paid · Get it on itch.io. Files, screenshots and the full description are on the store page.

Need something we do not make yet? Post it on the Request Desk. A request is a lead, not a promise.