Skip to content

Bobrokus/conquest-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠 WIP conquest-ui

Included Aftman tools
Rojo
Wally
wally-package-types
Stylua
Included Wally packages
Fusion (UI Library)
Optional, but RECOMMENDED
Hoarcekat

Getting Started

⚠️ 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.

Developing

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

Releases

No releases published

Packages

No packages published

Languages