本帖最后由 微笑的猫 于 2023-12-6 13:59 编辑
Inventory 2 系列索引
Inventory 2 2.1.2 下载链接
Inventory 2 2.5.7 下载链接
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 下载链接
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才能工作。
用可堆叠的物品创建你自己的库存系统,制作新物品并与商人交易。或装备,并通过自定义属性和插座对其进行个性化处理!
观看此视频以获得快速入门指南!
创建物品并定义物品的种类。
- 给他们一个名字、描述、精灵和游戏对象的代表。
- 定义可以在运行时改变的自定义属性。
- 确定它有哪些插座,以便可以连接其他物品。
- 装备和解锁物品,并设置它有哪些要求。
- 在消耗物品时创建你自己的结果。
这些可以很容易地分配给一个袋子,它是一个存储物品的组件,可以附加到任何游戏对象。
一个袋子还定义了一个UI皮肤,用来打开一个用户可以互动的界面。比如说:
- 打开玩家的库存
- 从箱子中取出并储存物品
- 掠夺被打败的敌人
商人是与包相连的组件,定义了交换规则。这些组件也定义了在两个袋子之间交易时使用的用户界面皮肤。
它还支持多种货币,每种货币可以包含不同价值的多个硬币。
战利品表允许根据一个加权百分比随机生成物品和财富。
保存和加载支持开箱即用,并与Game Creator的可视化脚本高度集成。
包括
源代码
示例和模板
|