6.2 KiB
6.2 KiB
Documentation Overview
This document provides a quick reference to all available documentation for ReiLua Enhanced Edition.
Core Documentation
📘 README.md - START HERE
The main documentation covering:
- What is ReiLua Enhanced Edition
- Complete attributions (Raylib, ReiLua, enhancements)
- Quick start guide
- All enhanced features overview
- Command line options
- Building from source (Windows, Linux, Mac, Raspberry Pi, Web)
- Complete release workflow
- Troubleshooting
Read this first!
Feature-Specific Guides
🎨 SPLASH_SCREENS.md
Everything about splash screens:
- How the dual splash screen system works
- Custom text splash screen details
- "Made using Raylib + ReiLua" screen details
- Skipping splashes with
--no-logoflag - Customizing text, logos, timing, and colors
- Technical implementation details
- Troubleshooting splash screen issues
📦 EMBEDDING.md
Complete guide to embedding:
- Development vs release workflows
- Embedding Lua files (
EMBED_MAIN=ON) - Embedding assets (
EMBED_ASSETS=ON) - Console control with
--logflag - Complete release build workflow
- Asset path consistency
- Troubleshooting embedding issues
📊 ASSET_LOADING.md
Asset loading system documentation:
- API functions (
BeginAssetLoading,UpdateAssetLoading,EndAssetLoading) - Beautiful 1-bit pixel art loading screen
- Complete examples
- Loading patterns
- Progress tracking
- When to use the loading system
- Customization options
🔧 BUILD_SCRIPTS.md
Build automation documentation:
scripts\build_dev.bat/scripts/build_dev.sh- Development buildsscripts\build_release.bat/scripts/build_release.sh- Release builds- Features of each build type
- Workflow examples
- Customizing executable name, icon, and properties
- Troubleshooting build issues
🎨 CUSTOMIZATION.md
Complete rebranding guide:
- Changing executable name
- Adding custom icon
- Customizing file properties (company name, version, etc.)
- Customizing splash screens
- Customizing loading screen
- Complete rebranding example
- Removing ReiLua branding (with attribution notes)
💻 ZED_EDITOR_SETUP.md
Complete Zed editor setup:
- Why Zed for ReiLua development
- Installation guide
- Lua Language Server configuration
- Project setup with
.zed/settings.json - Task configuration for quick testing
- Essential keyboard shortcuts
- Multi-cursor editing, split views, Vim mode
- Troubleshooting LSP issues
- Workflow tips and best practices
Technical Documentation
📚 API.md
Complete API reference:
- 1000+ functions
- All ReiLua/Raylib bindings
- Function signatures
- Raygui, Raymath, Lights, Easings, RLGL modules
📝 tools/ReiLua_API.lua
Lua annotations file:
- Provides autocomplete in LSP-enabled editors
- Function documentation
- Copy to your project for IDE support
🔄 UPGRADE_SUMMARY.md
Technical implementation details:
- Features added in this enhanced version
- Files modified and added
- Build options explained
- Testing checklist
- Known changes from original ReiLua
Quick Reference by Task
"I want to start making a game"
- Read README.md - Quick Start section
- Look at examples in
examples/folder - Use
ReiLua.exe --log --no-logofor development
"I want to embed my game into a single .exe"
- Read EMBEDDING.md
- Use
scripts\build_release.bat/scripts/build_release.sh - Follow the complete release workflow in README.md
"I want to add a loading screen"
- Read ASSET_LOADING.md
- Use
RL.BeginAssetLoading(),RL.UpdateAssetLoading(),RL.EndAssetLoading() - See complete examples in the guide
"I want to customize splash screens"
- Read SPLASH_SCREENS.md
- Edit
src/splash.cfor text changes - Replace logo files in
logo/folder - Rebuild project
"I want to rebrand the executable"
- Read CUSTOMIZATION.md
- Change project name in
CMakeLists.txt - Replace
icon.ico - Edit
resources.rc - Customize splash screens
- Rebuild
"I want to setup my code editor"
- Read ZED_EDITOR_SETUP.md
- Install Zed and Lua Language Server
- Copy
tools/ReiLua_API.luato your project - Create
.zed/settings.jsonconfiguration - Set up tasks for quick testing
"I want to build ReiLua from source"
- Read README.md - Building from Source section
- Install prerequisites (CMake, compiler, Raylib, Lua)
- Use
scripts\build_dev.batfor development - Use
scripts\build_release.batfor release
"I need API reference"
- Open API.md
- Search for function name
- See function signature and description
- Or copy tools/ReiLua_API.lua for autocomplete
Documentation File Sizes
| File | Size | Purpose |
|---|---|---|
| README.md | 21 KB | Main documentation (START HERE) |
| ZED_EDITOR_SETUP.md | 13 KB | Editor setup guide |
| CUSTOMIZATION.md | 11 KB | Rebranding guide |
| ASSET_LOADING.md | 8 KB | Loading system guide |
| EMBEDDING.md | 7 KB | Embedding guide |
| SPLASH_SCREENS.md | 7 KB | Splash screen guide |
| UPGRADE_SUMMARY.md | 6 KB | Technical details |
| BUILD_SCRIPTS.md | 5 KB | Build automation guide |
| API.md | 207 KB | Complete API reference |
Contribution
When adding new features, please:
- Update relevant documentation
- Add examples where appropriate
- Update this overview if adding new docs
- Test documentation accuracy
Documentation Standards
All documentation follows these standards:
- ✅ Clear headings and structure
- ✅ Code examples for all features
- ✅ Troubleshooting sections
- ✅ Cross-references to related docs
- ✅ Platform-specific notes where needed
- ✅ Emoji icons for visual scanning
- ✅ Complete but concise
Quick Links
- Original ReiLua: https://github.com/Gamerfiend/ReiLua
- Raylib: https://github.com/raysan5/raylib
- Lua: https://www.lua.org/
- Zed Editor: https://zed.dev/
Last Updated: 2025-01-03 Documentation Version: 1.0 (Enhanced Edition)