Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@casual-simulation/aux-records

Package Overview
Dependencies
Maintainers
0
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/aux-records - npm Package Versions

1
20

3.0.18-alpha.2734086997

Diff

kallyngowdyyeti
published 3.0.18-alpha.2733785418 •

kallyngowdyyeti
published 3.0.18-alpha.2721461525 •

kallyngowdyyeti
published 3.0.18-alpha.2720826118 •

kallyngowdyyeti
published 3.0.16 •

Changelog

Source

V3.0.16

Date: 7/6/2022

:rocket: Improvements

  • Added the uv property to @onClick, @onAnyBotClicked, @onDrag, and @onAnyBotDrag shouts.
    • This property contains the UV Coordinates of the texture on the clicked bot that the user clicked.
    • UV coordinates are a 2D vector representing the X and Y location on the texture (i.e. formAddress) on the bot that was clicked.
    • UV coordinates are mapped as follows:
      • Bottom left of the texture is: (0, 0)
      • Bottom right is: (1, 0)
      • Top left is: (0, 1)
      • Top right is: (1, 1)
  • Added the os.raycast(portal, origin, direction) and os.raycastFromCamera(portal, viewportPosition) functions.
    • These functions are useful for finding what bots a particular ray would hit. For example, you could query what bots are under a particular spot of the screen with os.raycastFromCamera().
    • Currently, the grid, miniGrid, map and miniMap portals are supported.
    • See the documentation for more information and examples.
  • Added the os.calculateRayFromCamera(portal, viewportPosition) function.
    • This function is useful for finding the 3D path (ray) that travels through a particular screen position of the specified portal's camera.
    • Currently, the grid, miniGrid, map and miniMap portals are supported.
    • See the documentation for more information and examples.
  • Improved os.getPublicRecordKey() to return an errorReason for failed requests.

:bug: Bug Fixes

  • Fixed lineStyle = wall to support the coordinate system changes from v3.0.11.
kallyngowdyyeti
published 3.0.16-alpha.2625398071 •

kallyngowdyyeti
published 3.0.15-alpha.2537844219 •

kallyngowdyyeti
published 3.0.14 •

Changelog

Source

V3.0.14

Date: 6/20/2022

:rocket: Improvements

  • Changed the circle bot form ignore lighting changes based on its orientation.
  • Added the formAddressAspectRatio tag to allow adjusting how formAddress images/videos are displayed on cube, circle, and sprite bot forms.
    • The aspect ratio should be the width of the image divided by the height of the image.
    • Negative aspect ratios can also be used to mirror the image horizontally.
  • Added the ability to create and join custom multimedia chat rooms.
    • Key features:
      • The ability to join multiple chat rooms at once.
      • The ability to display camera/screen feeds on 3D bots.
      • Notification of when remote users join/leave.
      • Notification of when users are speaking.
      • The ability to control the quality that video tracks stream at.
    • The following functions have been added:
      • os.joinRoom(roomName, options?)
      • os.leaveRoom(roomName, options?)
      • os.getRoomOptions(roomName)
      • os.setRoomOptions(roomName, options)
      • os.getRoomTrackOptions(roomName, trackAddress)
      • os.setRoomTrackOptions(roomName, trackAddress, options)
      • os.getRoomRemoteOptions(roomName, remoteId)
    • The following listeners have been added:
      • @onRoomJoined - Sent whenever a room has been joined via os.joinRoom()
      • @onRoomLeave - Sent whenever a room has been exited via os.leaveRoom()
      • @onRoomStreaming - Sent whenever the local user has been connected or reconnected to a room.
      • @onRoomStreamLost - Sent whenever the local user has been disconnected from a room.
      • @onRoomTrackSubscribed - Sent whenever an audio/video track has been discovered inside a room.
      • @onRoomTrackUnsubscribed - Sent whenever an audio/video track has been removed from a room.
      • @onRoomRemoteJoined - Sent whenever a remote user has joined a room.
      • @onRoomRemoteLeave - Sent whenever a remote user has left a room.
      • @onRoomSpeakersChanged - Sent whenever the list of speaking users has changed in a room.
      • @onRoomOptionsChanged - Sent whenever the local room options have been changed.
    • See the documentation for more detailed information.
    • Also check out the rooms-example appBundle for an example.
  • Added the os.listInstUpdates() and os.getInstStateFromUpdates(updates) functions.
    • These functions are useful for tracking the history of an instance and debugging potential data loss problems.
    • os.listInstUpdates() gets the list of updates that have occurred in the current instance.
    • os.getInstStateFromUpdates() gets the bot state that is produced by the given list of updates.

:bug: Bug Fixes

  • Fixed an issue where HTML updates could cause CasualOS to skip @onAnyAction calls for bot updates.
  • Fixed an issue where point-of-view mode would start the camera at the wrong rotation.
  • Fixed an issue where billboarded bots would rotate to match the roll of the camera in VR/AR.
  • Fixed an issue where using os.tip() with long words could cause the words to overflow the tooltip background.
  • Fixed an issue where removing a tag from the sheetPortal could cause the tag below it to become the dimension set in the sheetPortal.
kallyngowdyyeti
published 3.0.14-alpha.2511011009 •

kallyngowdyyeti
published 3.0.14-alpha.2505160566 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc