diff --git a/default.project.json b/default.project.json index 8823bdf..0d2b792 100644 --- a/default.project.json +++ b/default.project.json @@ -1,5 +1,5 @@ { - "name": "roblox-ts-game", + "name": "goopler", "globIgnorePaths": [ "**/package.json", "**/tsconfig.json" diff --git a/src/ReplicatedStorage/uiComponents/padding.tsx b/src/ReplicatedStorage/ui/components/padding.tsx similarity index 100% rename from src/ReplicatedStorage/uiComponents/padding.tsx rename to src/ReplicatedStorage/ui/components/padding.tsx diff --git a/src/ReplicatedStorage/uiStore/hooks/useUiProducer.ts b/src/ReplicatedStorage/ui/store/hooks/useUiProducer.ts similarity index 100% rename from src/ReplicatedStorage/uiStore/hooks/useUiProducer.ts rename to src/ReplicatedStorage/ui/store/hooks/useUiProducer.ts diff --git a/src/ReplicatedStorage/uiStore/producer/index.ts b/src/ReplicatedStorage/ui/store/producer/index.ts similarity index 100% rename from src/ReplicatedStorage/uiStore/producer/index.ts rename to src/ReplicatedStorage/ui/store/producer/index.ts diff --git a/src/StarterPlayer/StarterPlayerScripts/showGUI.tsx b/src/StarterPlayer/StarterPlayerScripts/showGUI.tsx index c6c0cf0..e07a659 100644 --- a/src/StarterPlayer/StarterPlayerScripts/showGUI.tsx +++ b/src/StarterPlayer/StarterPlayerScripts/showGUI.tsx @@ -4,7 +4,7 @@ import { WorldContext } from "./ui/contexts/worldContext" import Roact from "@rbxts/roact" import Main from "./ui/main" import { ReflexProvider } from "@rbxts/roact-reflex" -import { producer } from "ReplicatedStorage/uiStore/producer" +import { producer } from "ReplicatedStorage/ui/store/producer" const showGUI = (world: World, state: clientState): void => { const playerGui = state.player.WaitForChild("PlayerGui") as PlayerGui diff --git a/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/hotbar.tsx b/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/hotbar.tsx index 2089b2f..e1a2b1b 100644 --- a/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/hotbar.tsx +++ b/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/hotbar.tsx @@ -1,7 +1,7 @@ import Roact from "@rbxts/roact" import Slot from "./slot" import { useWorldContext } from "../contexts/worldContext" -import Padding from "ReplicatedStorage/uiComponents/padding" +import Padding from "ReplicatedStorage/ui/components/padding" import { StarterGui } from "@rbxts/services" interface hotbarProps extends Roact.JsxInstanceProperties { diff --git a/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/slot.tsx b/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/slot.tsx index 9bedcc1..26c7504 100644 --- a/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/slot.tsx +++ b/src/StarterPlayer/StarterPlayerScripts/ui/hotbar/slot.tsx @@ -2,7 +2,7 @@ import Roact from "@rbxts/roact" import { useEffect } from "@rbxts/roact-hooked" import { useWorldContext } from "../contexts/worldContext" import { ContextActionService, HttpService } from "@rbxts/services" -import Padding from "ReplicatedStorage/uiComponents/padding" +import Padding from "ReplicatedStorage/ui/components/padding" interface slotProps extends Roact.JsxInstanceProperties { index: number