the cutting room mirror

Roblox Developer

Unused Graphics#

VR Graphics#

Unused graphics for VR, unused since VR on mobile isn't possible.

Xbox Graphics#

A bunch of leftovers of Xbox graphics.

Development Text#

In content/scripts/Module/Chat.lua are hidden developer comments.

--[[ SCRIPT VARIABLES ]]

-- I am not fond of waiting at the top of the script here...
    function Util.GetPlayerByName(playerName)
        -- O(n), may be faster if I store a reverse hash from the players list; can't trust FindFirstChild in PlayersService because anything can be parented to there.
    testLabel.Parent = GuiRoot -- Note: We have to parent it to check TextBounds
    -- The TextSizeCache table looks like this Text->Font->sizeBounds->FontSize
    function this:OnResize()
        -- Nothing!
    end
Enum.PlayerChatType.Whisper then
                -- nothing!
        -- TODO: maybe only chop off the front space if there are more than a few?
        local _, _, capture = string.find(sanitizedInput, "^%s*(.*)%s*$")
        sanitizedInput = capture or ""

        return sanitizedInput
    end
            -- TODO: remove this when API for VR to set enterPressed is released
            if enterPressed or InputService.VREnabled then
            -- Fade-back in the text so it doesn't abruptly appear
            -- Normally I would like to cancel the old tween but it is so short that it doesn't matter
            self.ClickToChatButton.TextTransparency = 1
this.ChatContainer.AbsoluteSize
        -- HACK, this is so the "ChatWindow" includes the chatbar box, TODO: refactor the fadeing code to include the chatbar
        point1 = point1 + Vector2.new(0, 34)
        return point0.X <= pt.X and point1.X >= pt.X
        -- Unfortunately there is a race condition so we need this wait here.
        wait()
        -- NOTE: Sort of hacky, but if we are approaching the max 16 bit size
        -- we need to rebase y back to 0 which can be done with the resize function