obsidian docs and remove intro gui imagelabels

This commit is contained in:
2024-05-09 15:51:51 -04:00
parent 0e119db084
commit 1aac88b3b4
4 changed files with 20 additions and 17 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.obsidian

17
obsidian/Interactables.md Normal file
View File

@@ -0,0 +1,17 @@
## Lights
#### Properties
- Activated #Color3
- The color that is shown on the <a>Light Props</a> once
- ActivatedMaterial #string / #MaterialName
- Deactivated #Color3
- DeactivatedMaterial #string / #MaterialName
- Enabled #boolean
#### Tag
* `Interact_LightSwitch_*AreaName*`
* `Interact` - *Interact Initializer* [`Not Changable`]
* `LightSwitch` - *Interaction Type* [`Not Changable`]
* `*AreaName*` - *Area name, must be unique and cannot use the same names* [`Changable`]
#### Light Objects
## Elevator

View File

@@ -28,8 +28,6 @@ type GuiDependencies = {
FrameworkText: TextLabel,
SandboxText: TextLabel,
DeveloperText: TextLabel,
Quaternions: ImageLabel,
TaylorSeries: ImageLabel,
Xframe: Frame,
Yframe: Frame,
Zframe: Frame,
@@ -41,7 +39,6 @@ type GuiDependencies = {
local RS = game:GetService("RunService")
local Storage = game:GetService("ReplicatedStorage")
local TS = game:GetService("TestService")
local CoP = game:GetService("ContentProvider")
local function GuiDependencies(IntroGui: ScreenGui): GuiDependencies
IntroGui.Enabled = true
@@ -54,8 +51,6 @@ local function GuiDependencies(IntroGui: ScreenGui): GuiDependencies
local SandboxText = Frame:WaitForChild("Sandbox") :: TextLabel
local DeveloperText = Frame:WaitForChild("Developer") :: TextLabel
local ShadowGradient = TextShadow:WaitForChild("UIGradient") :: UIGradient
local Quaternions = Frame:WaitForChild("Quaternions") :: ImageLabel
local TaylorSeries = Frame:WaitForChild("TaylorSeries") :: ImageLabel
local Xframe = Frame:WaitForChild("X") :: Frame
local Yframe = Frame:WaitForChild("Y") :: Frame
@@ -74,8 +69,6 @@ local function GuiDependencies(IntroGui: ScreenGui): GuiDependencies
FrameworkText = FrameworkText,
SandboxText = SandboxText,
DeveloperText = DeveloperText,
Quaternions = Quaternions,
TaylorSeries = TaylorSeries,
Xframe = Xframe,
Yframe = Yframe,
Zframe = Zframe,
@@ -99,13 +92,6 @@ local function GUI_LoadFinish(Gui: GuiDependencies) --We can now access the fram
Tween.constructor(TweenInfo.new(1, Enum.EasingStyle.Linear), Gui.DeveloperText, {
TextTransparency = 1
}):Start()
Tween.constructor(TweenInfo.new(1, Enum.EasingStyle.Linear), Gui.TaylorSeries, {
ImageTransparency = 1
}):Start()
Tween.constructor(TweenInfo.new(1, Enum.EasingStyle.Linear), Gui.Quaternions, {
ImageTransparency = 1
}):Start()
Tween.constructor(TweenInfo.new(.5, Enum.EasingStyle.Linear), Gui.Xframe_text, {
TextTransparency = 1
}):Start()
@@ -211,11 +197,10 @@ return function(IntroGui: ScreenGui, load_elapse_start: number)
end)
task.spawn(function()
CoP:PreloadAsync({Gui.TaylorSeries, Gui.Quaternions}) --Try as early as possible
if not game:IsLoaded() then
game.Loaded:Wait()
end
local load_elapse = os.clock()-load_elapse_start
TS:Message("Load elapse: "..tostring(load_elapse), game)