Fxgl Economy

Implement inventory and trade/shop systems in FXGL — create typed Inventory objects, add/remove/query items, display inventory via InventoryListView, build a Shop with TradeItem buy/sell prices, open a ShopView or TradeView UI, implement buy and sell transactions, manage item stacks and capacity, and wire the shop to NPC collisions. Use this skill when adding an inventory system, item collection, a merchant shop, an upgrade store, or any economy mechanic.

JohannesRabauer Updated

File contents

JohannesRabauer/fxgl-skills/tree/main/skills/fxgl-economy commit ae26fa3fc6

Frequently asked questions

npx skillmds@latest add johannesrabauer/fxgl-economy