RUN-LENGTH ENCODING (RLE) View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2017.1.0 or later
Package size
28 KB
Files
5
Favorites
3
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
$2.99 on

RUN-LENGTH ENCODING (RLE)

by Uelstudios - Assets (opens in new tab)

No ratings yet

Price $4.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for RUN-LENGTH ENCODING (RLE), 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 5

RUN-LENGTH ENCODING (RLE) screenshot 1

RUN-LENGTH ENCODING (RLE) screenshot 1

About this asset

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

From the publisher's Asset Store listing.