Create, Compete & Win at Redbrick Connect 2024! 🎉
AppendixRecent Updates

Update

Update Date: 2024/07/24

Additional Changes

  • Added “MOUSE_LOCK” mode to the .useTPV() method
    The useTPV() method, which sets up a third-person view, now includes the “MOUSE_LOCK” mode.
    This mode allows the camera to rotate simply by moving the mouse, as shown in the images below.
    Additionally, this mode enables customization of camera settings.

    NORMAL mode vs. MOUSE_LOCK mode


    NORMALMOUSE_LOCK

  • Added a falling animation for the RPM avatar.


  • Added code formatting functionality to the script editor.

Updated on 2024/05/30

Additions

  • Added control for player jump height using .changePlayerJumpHeight.
  • Introduced a clone feature to easily duplicate objects with the built-in method .cloneWithMethods().
  • Camera
    • Introduced a camera switch API with .activate(), which automatically enables the corresponding camera and disables all other cameras.
    • Added camera api to switch to first-person view .useFPS().
    • Added camera api to switch to third-person view, .useTPV().
    • Added camera api to switch to VR, .useVR({ VRObject: PLAYER }).
  • OOBC
    • Added OOBC revive functionality.
    • Added GUI control for OOBC, including options for kill, revive, and move.
    • Added setText method to GUI for OOBC.
    • Added sprite thumbnail support for OOBC.

Improvements

  • Adjusted the avatar’s nickname sprite to track the currently enabled camera correctly.
  • Corrected the avatar’s WASD movement to follow the currently enabled camera accurately.
  • Limited the maximum and minimum range for orbit control to prevent mouse issues.
  • Fixed code editor autocomplete functionality.
  • Updated the AI Assistant (GPT) UI.

Version 1.1.1 RECENT

  • Released on 2024/01/25

Additions

Global objects

Changes

For detailed information, please click here

Removal of async function in the Preset Script.

new Preset Script
const avatar = REDBRICK.AvatarManager.createDefaultAvatar();
const camera = WORLD.getObject("MainCamera");
const followingCamera = avatar.setFollowingCamera(camera);
avatar.setDefaultController();

Version 1.1.0

Removed

Global objects

Removed the PLAYER global object

Changes

Updated the Preset Script to remove async function.

version1.1.0 Preset Script
function Start() {
  (async () => {
    const avatar = await REDBRICK.AvatarManager.createDefaultAvatar();
    const camera = WORLD.getObject("MainCamera");
    const followingCamera = avatar.setFollowingCamera(camera);
    avatar.setDefaultController();
  })();
}