Skip to content
项目

关于

2D & 3D game engine & scene editor using bevy 0.20

游戏与模拟器

这些数字如何统计

可以做什么

  • World building - Terrain sculpting and painting · foliage painting · spectral FFT ocean water · wind sway · tilemaps with composite objects and randomised painting · mesh modelling tools · shape library · level presets
  • 2D - Sprites · sprite animation clips · dedicated 2D view · 2D lighting · 2D physics with Y-sorting
  • Animation - Animator with blend graphs, masks, transitions and events · retargeting · root motion · property animation with per-key easing · morph targets · facial animation · rigging tools · inverse kinematics · FBX animation import
  • Physics and simulation - Pluggable physics backends (Avian 3D and 2D bundled) · ragdolls · cloth · hair strands · parkour traversal and locomotion · navmesh pathfinding · GPU particles with an effect editor and effect library

实测星标增长

24小时
-1
7天
+11
15天
+16
1个月
+28

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Renzora Engine

A 3D and 2D game engine and visual editor built on Bevy 0.20. It's fully compatible with the Bevy plugin ecosystem and is itself modular: every system is a plugin you can add, remove, or replace. Use it as a standalone engine to build games out of the box, or treat it as a customizable foundation you can modify into your own bespoke engine.

Renzora Editor: a 3D scene with ray-traced global illumination

Renzora Editor: an isometric pixel-art room built with tilemaps in the 2D view

Warning: Early alpha. Expect bugs, incomplete features, and breaking changes between versions.

Getting Started

To build the engine from source. Prerequisites: Rust, and on Linux a C compiler, which Rust needs to link anything and does not bring with it (sudo apt install build-essential on Ubuntu; other distros). The build wants about 16 GB of RAM and 100 GB of free disk.

git clone https://github.com/renzora/engine.git
cd engine
cargo renzora             # build, stage dist/, and launch the editor

That's the whole setup. cargo renzora builds the workspace natively, stages a complete engine into dist/<platform>/, and launches the editor from it. The first build is slow; every one after that is incremental. On Linux it also needs some dev headers, which it installs for you; see Building on Linux.

Install

Download the editor for your platform from renzora.com/download or the releases page. Nothing else to install.

  • Windows: extract the .zip and run renzora.exe.

  • macOS: extract the .zip, move the app to Applications, and approve it once under System Settings > Privacy & Security > Open Anyway.

  • Linux: extract the .zip, then:

    chmod +x Renzora*.AppImage
    ./Renzora*.AppImage
    

    Distro packages, NixOS and Steam Deck: Linux.

Build Commands

Command What it does
cargo renzora Build, stage dist/<platform>/, and launch the editor.
cargo renzora dist Build and stage without launching.
cargo renzora profile Profiling build with Tracy instrumentation compiled in.
cargo renzora sync Regenerate the plugin wiring from the crates' [[package.metadata.renzora.plugin]] tables.
cargo renzora remove <crate> Delete a plugin crate and every reference to it.

Building the editor always builds the runtime too. The runtime doubles as a dedicated server: run it with --server.

Iterate with cargo check --profile dist and cargo clippy --profile dist; run tests with cargo test --profile dist -p <crate>. Always pass --profile dist. A bare cargo command builds a second full set of artefacts under target/debug/, and this workspace is far too large for two of them.

Shipping a game for a platform you're not sitting at (a macOS, Android, or web build from a Windows box) is part of the editor's export system, covered in the docs. Building those needs Docker.

Linux

Runs on any x86_64 or ARM64 distro with glibc 2.28 or newer, under Wayland or X11: Ubuntu 20.04+, Linux Mint 20+, Pop!_OS 20.04+, Debian 10+, Fedora 29+, RHEL / Rocky / AlmaLinux 8+, SteamOS 3, and current Arch, openSUSE Tumbleweed, Gentoo, Void and NixOS. It needs a Vulkan driver: Mesa for AMD and Intel, the proprietary driver for NVIDIA.

A normal desktop already has the libraries it loads. If the startup message says one is missing:

Distro Command
Ubuntu, Mint, Pop!_OS, Debian sudo apt install libvulkan1 mesa-vulkan-drivers libxkbcommon0 libxkbcommon-x11-0 libasound2 libudev1 libfontconfig1
Fedora, RHEL, Rocky, Alma sudo dnf install vulkan-loader mesa-vulkan-drivers libxkbcommon libxkbcommon-x11 alsa-lib systemd-libs fontconfig
Arch, Manjaro, EndeavourOS sudo pacman -S --needed vulkan-icd-loader libxkbcommon libxkbcommon-x11 alsa-lib systemd-libs fontconfig, plus vulkan-radeon, vulkan-intel or nvidia-utils
openSUSE Tumbleweed sudo zypper install libvulkan1 libvulkan_radeon libvulkan_intel libxkbcommon0 libxkbcommon-x11-0 libasound2 libudev1 libfontconfig1
Steam Deck Nothing: in Desktop Mode, mark the AppImage executable (Properties > Permissions) and run it.

NixOS does not run prebuilt Linux programs on its own. The quickest way:

nix-shell -p appimage-run --run "appimage-run ./Renzora*.AppImage"

Or let NixOS run AppImages directly (24.05+), in configuration.nix:

programs.appimage = { enable = true; binfmt = true; };
hardware.graphics.enable = true;

Alpine and other musl distros are not supported directly; run it in a glibc container with Distrobox.

If a system cannot run Renzora, the editor says what is missing in a dialog instead of failing silently. Every distro, nix-ld, immutable distros and troubleshooting: Installing on Linux.

Building on Linux

First, a C compiler. Rust links through it, and cargo renzora cannot install it for you because it needs one to build itself; without it the first run stops at linker `cc` not found.

Distro Command
Ubuntu, Debian, Mint, Pop!_OS sudo apt install build-essential
Fedora, RHEL, Rocky, Alma sudo dnf install gcc
Arch, Manjaro, EndeavourOS sudo pacman -S --needed base-devel
openSUSE sudo zypper install gcc

The build also needs the graphics and audio dev headers, clang and mold. Once a C compiler is there, cargo renzora installs any that are missing on Debian, Fedora, Arch and openSUSE families (it asks for your password), or install them yourself:

Ubuntu, Debian, Mint, Pop!_OS

sudo apt install pkg-config libx11-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev \
  libwayland-dev libxkbcommon-dev libasound2-dev libudev-dev libvulkan-dev libssl-dev \
  libfontconfig1-dev clang mold

Fedora, RHEL, Rocky, Alma

sudo dnf install pkgconf-pkg-config libX11-devel libXi-devel libXcursor-devel libXrandr-devel \
  libXinerama-devel wayland-devel libxkbcommon-devel alsa-lib-devel systemd-devel \
  vulkan-loader-devel openssl-devel fontconfig-devel clang mold

Arch, Manjaro, EndeavourOS

sudo pacman -S --needed pkgconf libx11 libxi libxcursor libxrandr libxinerama wayland \
  libxkbcommon alsa-lib systemd-libs vulkan-icd-loader openssl fontconfig clang mold

openSUSE

sudo zypper install pkg-config libX11-devel libXi-devel libXcursor-devel libXrandr-devel \
  libXinerama-devel wayland-devel libxkbcommon-devel alsa-devel systemd-devel vulkan-devel \
  libopenssl-devel fontconfig-devel clang mold

NixOS

nix-shell -p pkg-config xorg.libX11 xorg.libXi xorg.libXcursor xorg.libXrandr xorg.libXinerama \
  wayland libxkbcommon alsa-lib systemd vulkan-loader openssl fontconfig clang mold

Older releases (Ubuntu 20.04, Debian 10 and 11) and RHEL-family distros have no mold package: take the static build from mold's releases and put it on your PATH. On RHEL, Rocky and Alma, enable the CodeReady Builder repository first (sudo dnf config-manager --set-enabled crb, or powertools on version 8), which carries several of the -devel packages.

Docker (only for cross-compiling)

Building for your own machine needs no Docker. It is only for building for platforms you don't own, such as a macOS or Android build from Windows, through the renzora CLI:

OS Install
Windows winget install Docker.DockerDesktop (needs virtualization on in the BIOS)
macOS brew install --cask docker
Ubuntu, Debian, Mint, Pop!_OS sudo apt install docker.io
Fedora sudo dnf install moby-engine
RHEL, Rocky, Alma add https://download.docker.com/linux/rhel/docker-ce.repo, then sudo dnf install docker-ce docker-ce-cli containerd.io
Arch, Manjaro, EndeavourOS sudo pacman -S docker
openSUSE sudo zypper install docker
NixOS virtualisation.docker.enable = true; and add yourself to extraGroups = [ "docker" ]

On Linux, then start it and let your user run it without sudo (log out and back in afterwards):

sudo systemctl enable --now docker
sudo usermod -aG docker "$USER"

Then set up the toolchain and cross-compile:

cargo install renzora
renzora init                  # pull the toolchain image for this machine
renzora build windows macos   # build for other platforms into dist/

Full walkthrough: Installing Docker.

Documentation

Full documentation (getting started, scripting, UI, plugins, exporting, and more) lives on the website:

renzora.com/docs

Supported Platforms

Platform Devices
Windows x64 Desktop, PCVR (SteamVR, Oculus Link)
Linux x64 / ARM64 Desktop (glibc 2.28+, Wayland or X11), Steam Deck
macOS Intel + Apple Silicon
Web (WASM) Chrome 113+, Edge 113+, Firefox Nightly
Android ARM64 Phones, tablets, Meta Quest, Pico, HTC Vive Focus
iOS iPhone, iPad
Apple TV Apple TV 4K, Apple TV HD

Supported File Formats

Format Type
.glb / .gltf / .fbx / .obj / .stl / .ply 3D models
.rvg Virtual geometry models
.bsn / .ron Scene files (.ron is the legacy format)
.rs / .lua Scripts (Lua through a marketplace language plugin)
.material Material graphs
.wesl / .wgsl Shaders and post effects (.wgsl in the legacy dialect is translated)
.anim Animation clips
.vfx / .particle Particle effects (.particle is the legacy format)
.png / .jpg / .hdr / .exr / .svg Textures and images
.rmip Streamed, compressed textures
.ogg / .mp3 / .wav / .flac Audio (native only)
.rpak Compressed asset archives

Features

Area Features
Editor Dockable panels with tabs, split panes and floating windows · up to four viewports · hierarchy, inspector, asset browser and console · translate, rotate and scale gizmos · infinite grid · camera presets · undo and redo · autosave · command palette · rebindable shortcuts · themes and fonts · built-in code editor · Play in its own process with live link · guided tutorial · UI scale and DPI support · runs on the web
Rendering Physically based materials (clearcoat, anisotropy, transmission, parallax) · node material editor generating WESL · shader editor · Solari ray-traced global illumination with its own denoiser and ray-traced glass · DLSS upscaling and ray reconstruction · .rvg virtual geometry · Gaussian splatting · point, spot, directional and rectangular area lights · soft shadows, contact shadows, and cascade and bias controls · environment maps, skyboxes, light probes and parallax-corrected reflection probes · planar reflections · physical atmosphere · volumetric clouds · volumetric and distance fog · SSAO · SSR · bloom · auto exposure · depth of field · motion blur · tonemapping · MSAA, FXAA, SMAA, TAA and sharpening · order-independent transparency · forward decals · around 30 shader post effects (color grading, chromatic aberration, vignette, film grain, outline, CRT, toon and more) · Low, Medium and High quality tiers · mesh LOD with crossfade · texture streaming · GPU device-loss recovery
World building Terrain sculpting and painting · foliage painting · spectral FFT ocean water · wind sway · tilemaps with composite objects and randomised painting · mesh modelling tools · shape library · level presets
2D Sprites · sprite animation clips · dedicated 2D view · 2D lighting · 2D physics with Y-sorting
Animation Animator with blend graphs, masks, transitions and events · retargeting · root motion · property animation with per-key easing · morph targets · facial animation · rigging tools · inverse kinematics · FBX animation import
Physics and simulation Pluggable physics backends (Avian 3D and 2D bundled) · ragdolls · cloth · hair strands · parkour traversal and locomotion · navmesh pathfinding · GPU particles with an effect editor and effect library
Scripting Rust scripts compiled as native plugins with full &mut World access, recompiled on save · pluggable language backends from the marketplace, several per project · hooks for ready, update, fixed-timestep update, UI, drawing, RPC, animation events, HTTP and player join/leave · rebindable input action map for keyboard, mouse and multiple gamepads · touch input with taps, pinch and twist · save slots · APIs for physics, animation, IK, particles, parkour, ragdolls, navigation and game UI
Audio Own audio backend · mixer with buses and effects · spatial audio with distance falloff · pluggable audio backends
UI Ember UI toolkit for the editor and games · game UI editor with markup templates · gamepad navigation of game menus · rich text · font switching and weights · SVG images
Multiplayer (alpha) Client and headless dedicated server from one binary (--server) · replication and RPC over UDP · network panel
XR Games in a VR headset over OpenXR (Quest Link, SteamVR) with a desktop mirror · headset editing mode (cargo renzora xr)
Plugins Every engine system is a removable plugin · native plugins ship as source and compile on install · bundled plugins compiled into the binary · custom panels, inspectors, material nodes, post effects, and audio, physics, network and script backends · localization
Assets and scenes BSN scene files · prefabs · scene thumbnails · glTF, FBX, OBJ, STL and PLY import with GLB compaction · hot reload · .rpak archives
Exporting One binary is both editor and game · lean exports without unused features · Windows, Linux, macOS, Android, iOS and web, cross-compiled from one machine · built-in updater
Marketplace Browse and install plugins, scripts and assets in the editor · publish from the Publish panel · creator credits

Planned

This list changes as work lands. See RELEASE_NOTES.md for what each nightly actually contains.

Feature Status
Accessibility (screen readers) for game UI Next up
IME text entry for Chinese, Japanese and Korean input Next up
GPU occlusion culling, clustered decals, light cookies and irradiance volumes Next up
Multiplayer: client prediction, secure handshake, avatar spawning, more transports In progress
Facial rigging and posing In progress
Code editor: minimap, code folding and undo history In progress
Shared environment and lighting across multiple viewports In progress
Unified world environment component In progress
Translating the remaining editor text In progress
Cinematic sequencer for cutscenes Later
Behavior trees and AI perception Later
Crowd avoidance for navmesh agents Later
Camera rigs with shake, blending and rails Later
Spline mesh tools for roads, pipes and fences Later
Vertex and mesh painting Later
Vehicle physics Later
Data tables Later
Lightmap baking Later
Level streaming for large worlds Later
In-editor profiler Later
HDR display output and video capture Later
Sprite rendering moving to SpriteMesh Bevy 0.21 port
Ambient lights folding into environment-map lights Bevy 0.21 port
Assets becoming entities Bevy 0.21 port
Upstream .bsn file format and entity inspector Bevy 0.21 port

License

Dual-licensed under MIT or Apache 2.0.

探索相关项目

加载中…