找回密码
 立即注册
搜索

[编辑器/功能拓展] Hex world generator 1.0六边形世界生成器

[复制链接]
109 |0
发表于 2023-7-11 11:35:27 | 显示全部楼层 |阅读模式


















This Hexagonal world generator offer you a 2D procedurally generated world, based on some parameters that you are free to set as you wish to have results according to your own game experience. Here is some of the feature it offers.

Seed system
Allowing you to save your favorite worlds for use later!

Threaded world generator
Allow you to process other things in the background, preventing unity to hang or being unresponsive meanwhile generating the world.

Object pooling Renderer
Render nearly infinite map size thanks to an object pooling rendering allowing you to always have the same performance regarding of the map size! (beware: The larger the map, the longer the time to generate it).

Basic camera movement
The world generator come with a basic camera movement and zoom / unzoom using the object pooling system.

World generation loading UI
A basic customizable loading UI for your world generation that can be removed by just disabling the corresponding script.

Lots of customization options
The world generator script comes with a lot of options for you to create easily your own worlds (Sea level, amount of deserts, forests, rivers, elevation, and much more!).

Easy to use in your game
The world grid consist of 2 arrays one for the terrain and another one for the objects on the maps (trees as included), you can easily use those arrays to include any kind of interaction you wish.

Z-index levels ready to use!
Z-index level handling in an hexagonal game is a pain to handle, that’s why the world generator automatically create z-indexes value for each cell and object, making it extremely easily to add your character to the world and have proper z-index hierarchy. Nothing to do, just use the objects array!

Assets included
Some assets are included, those are a modified version of the Kenney isometric assets (available here: https://kenney.nl/assets). They are divided by tile and therefore can be easily replaced by your own assets. Due to the assets licence, you are free to reuse it in your own projects as well.


这个六边形世界生成器为你提供了一个2D程序生成的世界,基于一些参数,你可以根据自己的游戏体验自由设置结果。以下是它提供的一些功能。

种子系统
允许您保存您最喜欢的世界供以后使用!

线程世界生成器
允许你在后台处理其他事情,防止统一挂起或在生成世界时反应迟钝。

对象池渲染器
渲染几乎无限的地图大小,感谢对象池渲染,让您始终有相同的性能,关于地图大小!(注意:地图越大,生成时间越长)。

基本摄像机移动
世界生成器带有一个基本的相机移动和缩放/缩放使用对象池系统。

世界生成加载UI
一个基本的可定制的加载UI,可以通过禁用相应的脚本来删除。

大量自定义选项
世界生成器脚本提供了许多选项,您可以轻松创建自己的世界(海平面,沙漠,森林,河流,海拔,以及更多!)。

易于在你的游戏中使用
世界网格由2个数组组成,一个用于地形,另一个用于地图上的物体(包括树木),你可以很容易地使用这些数组来包含你想要的任何类型的交互。

z指数水平准备使用!
在六边形游戏中处理Z-index关卡是件很痛苦的事情,这就是为什么世界生成器会自动为每个单元格和对象创建Z-index值,这使得将你的角色添加到世界中并拥有适当的Z-index层次结构变得非常容易。什么都不做,只使用对象数组!

资产包括
包括一些资源,这些是Kenney等距资源的修改版本。它们被瓷砖分割,因此可以很容易地被你自己的资产取代。由于资产许可,您也可以在自己的项目中自由地重用它。





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表