This commit is contained in:
Robert Jelic
2025-03-14 17:26:45 +01:00
parent 393605de7e
commit 1a28dd8917
2 changed files with 10 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
# 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
- **Pre-built Components:** Buttons, Lists, Textboxes, and more
@@ -28,7 +28,8 @@ basalt.getMainFrame()
:addButton()
:setText("Hello Basalt!")
:setPosition(5, 5)
:onMouseClick(function()
:setSize(14, 3)
:onClick(function()
-- Your code here
end)

View File

@@ -19,6 +19,9 @@ hero:
- theme: alt
text: Github
link: https://github.com/Pyroxenium/Basalt/tree/basalt2
- theme: alt
text: Basalt 1.7
link: https://pyroxenium.github.io/Basalt/
features:
- title: User friendly