Linden
9a17b9bac5
perf(client/points): apply optimisations used in zones
...
"SphereZones" are really just points with some extra overhead, but the module
had some overall improvements to improve performance.
Includes type definitions for sumneko.
2022-09-14 07:45:03 +10:00
Linden
26538b8148
refactor(imports): assign modules directly to lib namespace
...
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Linden
be8b740937
feat(client/points): set cache.coords
...
See last commit description.
2022-09-11 11:08:26 +10:00
Linden
155dc617f8
refactor(points): support single argument for lib.points.new
2022-04-21 15:18:50 +10:00
Linden
e7ede94866
fix(points): remove tick value when clearing interval
2022-04-18 23:18:39 +10:00
Linden
65a5bab623
perf(points): use interval for on-frame thread
2022-04-14 14:50:27 +00:00
Linden
0a21924d39
feat(points): get closest point
2022-04-14 11:08:56 +00:00
Linden
21e0edd115
feat(points): remove points
2022-04-14 10:58:17 +00:00
Linden
c2bfb83816
fix(imports/points): incorrect var ref
...
Them feels when you forget to push a commit before making a release.
2022-03-25 10:58:46 +00:00
Linden
500315ddaa
refactor(imports/points): rename point.callback to point.inside
2022-03-25 10:41:48 +00:00
Linden
3b18ca2b33
perf(imports/points): only insert into nearby if point uses callback
2022-03-25 10:38:32 +00:00
Linden
33681a1557
feat(imports/points): onEnter method
2022-03-16 01:18:10 +00:00
Linden
2ce934c41a
feat(imports/points): distance checks and interaction api
...
WIP. Set callback functions when exiting and standing in range of
a set point. Primary callback is called on-frame and can be used
to check for key presses, distance, draw markers, etc.
2022-03-13 03:22:09 +00:00