本帖最后由 微笑的猫 于 2024-8-7 10:48 编辑
Inventory 2 系列索引
Inventory 2 2.1.2 下载链接
Inventory 2 2.5.7 下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.6.10 下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.6.12 下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.7.13 下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.8.15 下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.8.17 下载链接
This module requires Game Creator 2 in order to work.
Create your very own Inventory system with stackable items, craft new objects and trade them with merchants. Or equipment and personalize them with custom properties and sockets!
Watch this video for a quickstart guide!
Create Items and define what kind of object represents.
- Give them a name, description, sprite and game object representation.
- Define custom Properties that can be changed at runtime.
- Determine what Sockets it has so other Items can be attached.
- Equip and Unequip the item and set what requirements it has.
- Create your own outcomes when consuming items.
These can be easily assigned to a Bag, which is a component that stores items and can be attached to any game object.
A Bag also defines a UI Skin which is used to open an interface that the user can interact with. For example:
- Opening the Player's inventory
- Taking and storing items from a chest
- Looting defeated enemies
Merchants are components attached along Bags that define the exchange rules. These components also define a UI Skin used when trading between two Bags.
It also supports multiple Currencies, where each can contain multiple Coins with different values.
Loot Tables allow to randomly generate items and wealth based on a weighted percentage.
Saving and Loading is supported out of the box, as well as being highly integrated with Game Creator's visual scripting.
Includes
Source code
Examples & Templates
该模块需要 Game Creator 2 才能运行。
使用可堆叠物品创建自己的库存系统,制作新物品并与商人交易。或装备,并使用自定义属性和插座对其进行个性化设置!
观看视频,获取快速入门指南!
创建物品并定义物品的种类。
- 为其命名、描述、精灵和游戏对象表示。
- 定义可在运行时更改的自定义属性。
- 确定它有哪些插口,以便可以连接其他物品。
- 装备和解除装备物品,并设置其所需条件。
- 在消耗物品时创建自己的结果。
这些都可以很容易地分配给 "袋子","袋子 "是一个存储物品的组件,可以附加到任何游戏对象上。
袋子还定义了用户界面皮肤,用于打开用户可以与之交互的界面。例如
- 打开玩家的库存
- 从箱子中取出并存储物品
- 掠夺被击败的敌人
商人是与袋子相连的组件,定义了交换规则。这些组件还定义了在两个袋子之间进行交易时使用的用户界面皮肤。
它还支持多种货币,每种货币可包含不同价值的多个硬币。
战利品表允许根据加权百分比随机生成物品和财富。
该程序支持保存和加载,并与 Game Creator 的可视化脚本高度集成。
包括
源代码
示例和模板
|