Open Hexagon

Open Hexagon

lib_polywall
Näytetään 21–30 / 36
< 1  2  3  4 >
Päivitys: 5.1.2022 klo 6.00

- Recursive add function: PolyWall:radd()

Päivitys: 30.12.2021 klo 16.58

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

Päivitys: 20.12.2021 klo 8.27

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

Päivitys: 20.12.2021 klo 8.12

Linux symlink test.

Päivitys: 27.11.2021 klo 14.02

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

All other scripts are now depreciated.

Päivitys: 21.7.2021 klo 19.35

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

Päivitys: 21.7.2021 klo 19.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.

Päivitys: 12.6.2021 klo 17.36

A tiny fix for Mock Players

Päivitys: 4.6.2021 klo 18.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

Päivitys: 14.5.2021 klo 18.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.