- Linux
- Windows
-
Clone the repository
git clone https://github.com/Zalthen-dev/BlockEngine.git cd BlockEngine
-
Clone dependencies
git clone https://github.com/luau-lang/luau.git dependencies/luau git clone https://github.com/raysan5/raylib.git dependencies/raylib git clone https://github.com/ocornut/imgui.git dependencies/luau git clone https://github.com/raylib-extras/rlImGui.git dependencies/rlImGui
-
Install required system libraries
sudo apt update sudo apt install -y build-essential cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxxf86vm-dev
-
Navigate to the build directory
cd build
-
Configure the project
cmake ..
-
Build the project
make -j$(nproc)
-
Clone the repository
git clone https://github.com/Zalthen-dev/BlockEngine.git cd BlockEngine
-
Clone dependencies
git clone https://github.com/luau-lang/luau.git dependencies/luau git clone https://github.com/raysan5/raylib.git dependencies/raylib
-
Install CMake and Visual Studio
- Install CMake
- Install Visual Studio with "Desktop development with C++" workload
-
Navigate to build folder
cd build
-
Configure the project
cmake ..
-
Build the project
cmake --build .
BlockEngine supports executing a Luau Script by passing it as command-line argument, and with a familiar scripting API, you can create parts and edit them in real time!
local part1 = Instance.new("Part")
part1.Color = Color3.new(1,0,0)
part1.Position = Vector3.new(0, 2.5, 0)
part1.Size = Vector3.one * 2
part1.Shape = "CornerWedge"
local part2 = Instance.new("Part")
part2.Color = Color3.new(1,0,0)
part2.Position = Vector3.new(3, 2.5, 0)
part2.Size = Vector3.one * 2
part2.Shape = "Wedge"
local t = 0
while true do
t += task.wait()
part1.Rotation = Vector3.new(0, t * 100, 0)
part1.Color = Color3.fromHSV((t*0.2)%1, 1, 1)
part2.Rotation = Vector3.new(0, t * 100, 0)
part2.Color = Color3.fromHSV((t*0.2)%1, 1, 1)
end
Below is what you can expect for the future in BlockEngine's development! Expect this big list to expand as time goes on!
- Limiting
os
library - Signals in Lua
- Instance System
- Physics
- Data types
- CFrame
- Random
- game
- workspace
- Services
- RunService
- Lighting
- StarterGui
- Lighting system
- Sun lighting
- Shadows
- Lights from Instance Lights
You can help out by using BlockEngine and reporting any bugs you find!
If you know how to code, help out by creating pull requests to add and change code!