11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/6
Run-length encoding is a way to shrink down the amount of data needed for saving or sending worlds/texts/ etc.
run-length encoding is simple to understand.
E.g. if your 1D voxel-world is build out of stone like this:
[STONE] [STONE] [STONE] [STONE] [STONE]
your internal data probably looks something like this
a,a,a,a,a (a is representing STONE)
This asset now takes your data and transforms a,a,a,a,a INTO => 5a.
Super Simple but immensely effective!
Furthermore if your data-structure uses numbers and not characters (e.g. a for stone) this asset contains a NumberToCharacter and CharacterToNumber Parser! This makes it really simple to compress your data!
disclaimer: Out of the box this asset supports 52 different data values. This means in a tile world you can have at most 52 different tiles. This limit can be expanded by yourself! Also there are a lot of ways to bypass this limit.
----
All scripts are fully commented and can be changed to fit your needs.
Watch the video below to get a better idea what this asset is all about!
Video: Youtube Demo
run-length encoding is simple to understand.
E.g. if your 1D voxel-world is build out of stone like this:
[STONE] [STONE] [STONE] [STONE] [STONE]
your internal data probably looks something like this
a,a,a,a,a (a is representing STONE)
This asset now takes your data and transforms a,a,a,a,a INTO => 5a.
Super Simple but immensely effective!
Furthermore if your data-structure uses numbers and not characters (e.g. a for stone) this asset contains a NumberToCharacter and CharacterToNumber Parser! This makes it really simple to compress your data!
disclaimer: Out of the box this asset supports 52 different data values. This means in a tile world you can have at most 52 different tiles. This limit can be expanded by yourself! Also there are a lot of ways to bypass this limit.
----
All scripts are fully commented and can be changed to fit your needs.
Watch the video below to get a better idea what this asset is all about!
Video: Youtube Demo
RUN-LENGTH ENCODING (RLE)
(暂无评分)
3 users have favourite this asset
(3)
$4.99
席位
1
更新的价格和增值税在结算时计算
退款政策
安全结账方式:

高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR