Open Hexagon

Open Hexagon

lib_polywall
Viser 21-30 af 36 forekomster
< 1  2  3  4 >
Opdatering: 5. jan. 2022 kl. 6:00

- Recursive add function: PolyWall:radd()

Opdatering: 30. dec. 2021 kl. 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.

Opdatering: 20. dec. 2021 kl. 8:27

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

Opdatering: 20. dec. 2021 kl. 8:12

Linux symlink test.

Opdatering: 27. nov. 2021 kl. 14:02

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

All other scripts are now depreciated.

Opdatering: 21. juli 2021 kl. 19:35

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

Opdatering: 21. juli 2021 kl. 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.

Opdatering: 12. juni 2021 kl. 17:36

A tiny fix for Mock Players

Opdatering: 4. juni 2021 kl. 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

Opdatering: 14. maj 2021 kl. 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.