Open Hexagon

Open Hexagon

lib_polywall
正在显示第 21 - 30 项,共 36 项条目
< 1  2  3  4 >
更新于:2022 年 1 月 5 日 上午 6:00

- Recursive add function: PolyWall:radd()

更新于:2021 年 12 月 30 日 下午 4:58

- This library is now licensed under the GNU General Public Licence v3.0. A license file has been added.
- Some cleanup and bugfixes.

更新于:2021 年 12 月 20 日 上午 8:27

- Improved hierarchy structure.
- Wall position now inherits from the current branch origin limit.

更新于:2021 年 12 月 20 日 上午 8:12

Linux symlink test.

更新于:2021 年 11 月 27 日 下午 2:02

New master.lua script that combines the functionality of all other scripts.

All other scripts are now depreciated.

更新于:2021 年 7 月 21 日 下午 7:35

- MockPlayer:draw() should now properly handle angle override and distance offset

更新于:2021 年 7 月 21 日 下午 7:26

=== Mock ===
- Mock Players and Polygons now accept polar transformations
- Transformation functions for Mock Players and Polygons now give details about which vertex is being modified
- MockPlayers have new parameters in their update function: angleOverride and distanceOffset. Angle override allows for the direct setting of a player's angle and distance offset is helpful for animating beat pulse.
- MockPlayer default colors now reference the level's main color
- MockPolygon border default colors now reference the level's main color
- MockPolygon cap default colors now reference the level's resulting cap color

=== Polywall ===
- Polywall and arcwall default colors now reference the level's main color
- Polywalls and arcwalls have new functions (Basewall means that function is available to both classes):

- Basewall:transferWall(key, to)
>>> Transfers a wall with CW handle <key> to layer <to>

- Basewall:sort(layerTable, decending, doNotResolveColors)
>>> Sorts Z levels with layers given in a numerically indexed table <layerTable>. Sorts all layers if <layerTable> isn't given. Z-order is determined by layer ID number. It's direction can be reversed by setting <decending> to true. Colors of affected CWs will be automatically corrected but this step can be skipped if <doNotResolveColors> is true.

- Basewall:importLayer(from, which, to)
>>> Imports layer <which> from another Basewall type class <from> (it's type must be the same: Polywalls <=> Polywalls, Arcwalls <=> Arcwalls) to layer <to> of the receiving class.

更新于:2021 年 6 月 12 日 下午 5:36

A tiny fix for Mock Players

更新于:2021 年 6 月 4 日 下午 6:09

MockPlayer:new() and MockPolygon:new() no longer automatically update locations. (Updating walls requires a certain number of parameters to be given which sometimes becomes a hassle.)

Polywall and and Arcwall transformation functions now have a third optional parameter: vertex id. This variable comes after the first two parameters: function(r, a, ) or function(x, y, ). This parameter is set to 0 for the first vertex, 1 for the second vertex, etc. This allows for transformations to be applied to each vertex uniquely instead of all of them at once

更新于:2021 年 5 月 14 日 下午 6:13

Added mock.lua script. Used for creating fake polygons and player arrows. Their shapes can be manipulated with transformation functions. All scripts now support optional additional parameters for transformation functions.