@casual-simulation/aux-common
Advanced tools
Changelog
V0.4.14
Guest
.tweenTo(file or id)
causes the current user's camera to tween to the given file. (just like how the sheet does it)toast(message)
causes a toast message to pop up with the given message. It will automatically go away after some time.Changelog
V0.4.13
aux.image
to an image url.
sprite
as an option for aux.shape
.
onCreate()
is called on the file that was created after being created.onDestroy()
is called on the file just before it is destroyed.onDropInContext()
is called on all the files that a user just dragged onto a context. (that
is the context name)onDragOutOfContext()
is called on all the files that a user just dragged out of a context. (that
is the context name)onDropAnyInContext()
is called on all files when any file is dragged onto a context. (that
is an object that contains the context
and files
)onDragAnyOutOfContext()
is called on all files when any file is dragged out of a context. (that
is an object that contains the context
and files
)onDropInInventory()
is called on the file that a user just dragged into their inventory.onDragOutOfInventory()
is called on the file that a user just dragged out of their inventory.onDropAnyInInventory()
is called on all files when any file is dragged into the user's inventory. (that
is the list of files)onDragAnyOutOfInventory()
is called on all files when any file is dragged out of the user's inventory. (that
is the list of files)onTapCode()
is called on every file whenever a 4 digit tap code has been entered. (that
is the code)
if
statement to filter the tap code.1111
all the time due to the user tapping the screen.Changelog
V0.4.12
{context}.config
instead of aux.builder.context
and aux.player.context
.
hello
context in both AUX Builder and AUX Player by setting the hello.config
tag to true
.@aux.builder.context
and then create a config tag for the worksurfaces that are found.aux.context.{value}
instead of aux.builder.context.{value}
.
builder
from the name makes it easier to understand that the tags are describing the contexts that the file is configuring.aux._parent
to aux._creator
.xyzDiff()
is now makeDiff.xyz()
addToContextDiff()
is now makeDiff.addToContext()
shout()
.
handleMessage()
tag using shout("handleMessage", 11)
.isBuilder
and isPlayer
variables to formulas.
hello
context will only show up in AUX Builder when the hello.config
tag is set to =isBuilder
.clone()
and destroy()
.aux._context_{uuid}
to context_{short-uuid}
.aux.mergeable
so control whether diffs can be merged into other files.md-dialog-prompt
to GameView
to allow users to set custom contexts for new workspaces._destroyed
tag. Setting it now does nothing.aux.context.color
value as the scene's background color.
aux.context.color
has no value or is undefined, then it will fall back to aux.scene.color
.aux.label.anchor
to allow positioning of the label.