Included Aftman tools |
---|
Rojo |
Wally |
wally-package-types |
Stylua |
Included Wally packages |
---|
Fusion (UI Library) |
Optional, but RECOMMENDED |
---|
Hoarcekat |
⚠️ Make sure you have Aftman installed
Install Aftman tools:
aftman install
Install Wally packages:
wally install
Follow this guide to generate exported types of Wally packages for type-checking.
Follow this guide to install Rojo Roblox Studio plugin if you don't have it already.
Build the place from scratch:
rojo build -o "conquest-ui.rbxlx"
Next, open conquest-ui.rbxlx
in Roblox Studio and start the Rojo server:
rojo serve
For more help, check out the Rojo documentation.
Please write UI components as Hoarcekat stories. Example:
-- src/client/ui/<component name>.story.luau
local Fusion = require(game.ReplicatedStorage.Packages.Fusion)
local New = Fusion.New
-- ...
type <component name>Props = {
-- ...
}
return function(target, props: <component name>Props)
local ui = New "Frame" {
Parent = target,
-- ...
}
-- I'm unsure if you need to return a destructor
return function()
ui:Destroy()
end
end