@casual-simulation/stacktrace
Advanced tools
Changelog
V2.0.0
mapPortal
.
mapPortalBasemap
tag on the mapPortalBot
. See the documentation for more information.Changelog
V1.5.0
#portalCameraRotationX
and #portalCameraRotationY
tags to use radians instead of degrees.cameraZoom
and cameraZoomOffset
tags.os.focusOn(botOrPosition, options?)
function.
os.tweenTo()
and os.moveTo()
except that it takes an options object instead of a bunch of parameters.os.focusOn()
and os.tweenTo()
now use quadratic easing by default.
os.focusOn()
supports specifying the easing type just like animateTag()
.os.tweenTo()
and os.moveTo()
are now deprecated and should no longer be used. They will be removed in a future release of CasualOS.
experiment.beginAudioRecording()
and experiment.endAudioRecording()
functions to experiment with audio recording.
cameraMovementExample
) has been updated to reflect this change (version 2 and later).Changelog
V1.0.24
:rocket: Improvements
auxError
must be true
auxErrorBot
must be the ID of the bot whose script is in the editor.auxErrorTag
must be the name of the tag that is being edited.auxErrorName
is the name of the error that occurred.auxErrorMessage
is the message that the error contained.:bug: Bug Fixes
Changelog
V1.0.22
:boom: Breaking Changes
player.inSheet()
function has been changed to return whether the player bot has a dimension in their auxSheetPortal
.
@onUniverseAction
have changed.
@onUniverseAction
was run before any particular action was executed but the actions that were dispatched from @onUniverseAction
were run after the evaluated actions. This led to a scenario in which a @onUniverseAction
call could overwrite values that were updated by an action that had not been checked yet.@onUniverseAction
are executed before the action that is being evaluated. This makes the behavior of the data produced by @onUniverseAction
mirror the runtime behavior of @onUniverseAction
.:rocket: Features
setTimeout()
and setInterval()
.
@onBotChanged
, @onBotTagChanged()
, etc.)responseShout
. (e.g. const response = await webhook.post("https://example.com", data)
)error
space.
error
space contains bots that represent errors that have occurred scripts in a universe.error
space does not load all of its bots into the universe automatically.error
space is only used for storing errors and there is no way to load bots from the space.:bug: Bug Fixes