Open Hexagon

Open Hexagon

lib_polywall
Showing 21-30 of 36 entries
< 1  2  3  4 >
Update: 5 Jan, 2022 @ 6:00am

- Recursive add function: PolyWall:radd()

Update: 30 Dec, 2021 @ 4:58pm

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

Update: 20 Dec, 2021 @ 8:27am

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

Update: 20 Dec, 2021 @ 8:12am

Linux symlink test.

Update: 27 Nov, 2021 @ 2:02pm

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

All other scripts are now depreciated.

Update: 21 Jul, 2021 @ 7:35pm

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

Update: 21 Jul, 2021 @ 7:26pm

=== 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.

Update: 12 Jun, 2021 @ 5:36pm

A tiny fix for Mock Players

Update: 4 Jun, 2021 @ 6:09pm

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

Update: 14 May, 2021 @ 6:13pm

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.