Docs
This commit is contained in:
13
docs/home.md
13
docs/home.md
@@ -1,12 +1,12 @@
|
|||||||
# Welcome to The Basalt Wiki
|
# Welcome to The Basalt Wiki
|
||||||
|
|
||||||
Basalt is a user-friendly UI framework for CC:Tweaked (also known as "ComputerCraft: Tweaked") - a popular Minecraft mod. It was developed to enhance user interaction through visual displays.
|
Welcome to Basalt 2, a complete reimagining of the Basalt UI framework for ComputerCraft. After maintaining the original Basalt, i identified several areas that needed fundamental improvements. This led to the decision to rebuild Basalt from the ground up, focusing on three key aspects:
|
||||||
|
|
||||||
## Installation
|
- Improved error handling to help developers quickly identify and resolve issues
|
||||||
|
- Auto-generated documentation that stays in sync with the codebase
|
||||||
|
- IDE support through automatically generated LuaLS annotations
|
||||||
|
- New ways to access properties
|
||||||
|
|
||||||
```lua
|
|
||||||
wget run https://raw.githubusercontent.com/Pyroxenium/Basalt2/main/install.lua
|
|
||||||
```
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Pre-built Components:** Buttons, Lists, Textboxes, and more
|
- **Pre-built Components:** Buttons, Lists, Textboxes, and more
|
||||||
@@ -28,7 +28,8 @@ basalt.getMainFrame()
|
|||||||
:addButton()
|
:addButton()
|
||||||
:setText("Hello Basalt!")
|
:setText("Hello Basalt!")
|
||||||
:setPosition(5, 5)
|
:setPosition(5, 5)
|
||||||
:onMouseClick(function()
|
:setSize(14, 3)
|
||||||
|
:onClick(function()
|
||||||
-- Your code here
|
-- Your code here
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ hero:
|
|||||||
- theme: alt
|
- theme: alt
|
||||||
text: Github
|
text: Github
|
||||||
link: https://github.com/Pyroxenium/Basalt/tree/basalt2
|
link: https://github.com/Pyroxenium/Basalt/tree/basalt2
|
||||||
|
- theme: alt
|
||||||
|
text: Basalt 1.7
|
||||||
|
link: https://pyroxenium.github.io/Basalt/
|
||||||
|
|
||||||
features:
|
features:
|
||||||
- title: User friendly
|
- title: User friendly
|
||||||
|
|||||||
Reference in New Issue
Block a user