Commit Graph

324 Commits

Author SHA1 Message Date
3090134068 Changes Docs Folders 2025-11-07 04:55:35 +05:30
Indrajith K L
839b3793a5 Merge pull request #9 from cooljith91112/docs/html-documentation-improvements
docs: Add HTML documentation generator and improve documentation
2025-11-07 04:46:23 +05:30
f3373d08c7 docs: Add HTML documentation generator and improve documentation structure
- Add html_docs/ directory with Python-based documentation generator
- Include custom CSS styling for modern, clean documentation layout
- Update README.md with improved formatting and documentation links
- Enhance markdown documentation across all docs/ files:
  - Improve API documentation with better code examples
  - Refactor DOCUMENTATION_INDEX.md for clearer navigation
  - Update EMBEDDING.md, CUSTOMIZATION.md, and other guides
  - Standardize formatting and improve readability throughout
- Fix inconsistent line endings and formatting issues

The HTML documentation generator creates a styled, browsable version
of the project documentation for easier reading and navigation.
2025-11-07 04:44:30 +05:30
Indrajith K L
8c4b587a23 Merge pull request #8 from cooljith91112/feature/font-rendering
Fix font antialiasing and improve UX
2025-11-05 02:24:08 +05:30
7f014770c0 Add dialog state pattern documentation for game templates
Added comprehensive documentation for implementing Zelda-style
dialog systems using the GameState push/pop stack pattern.

Includes:
- Complete working dialog state example with text animation
- Integration guide for game states
- Character portraits and name box support
- Post-dialog callback handling via resume()
- Visual diagrams of state stack behavior
- Best practices for when to use push/pop vs flags

This pattern allows developers to create professional dialog systems
with proper input control and clean state management.
2025-11-05 02:22:38 +05:30
cf51a7a7dc Prevent splash screens from being closeable
Removed the WindowShouldClose() check from the splash screen loop
to prevent users from closing the splash screens prematurely.

Previously, users could press ESC or click the X button during
splash screens, which would skip to the game but create confusion
since it didn't actually exit the application. Now splash screens
play through completely for a consistent user experience.

Developers can still skip splashes using the --no-logo flag.
2025-11-05 02:22:25 +05:30
4f34b7aad9 Disable antialiasing for all fonts loaded via Lua API
All pixel fonts and TTF fonts loaded through RL.LoadFont(),
RL.LoadFontEx(), RL.LoadFontFromImage(), and RL.LoadFontFromMemory()
now use TEXTURE_FILTER_POINT instead of the default bilinear filtering.

This ensures crisp, pixel-perfect rendering without blurring for
pixel art fonts and maintains consistency across all font loading
methods in the game engine.
2025-11-05 02:21:56 +05:30
10c22d3567 Adds Game Jam Ready Templates & ReiLua API Updates
(Most of the code is Copilot Generated LOL)
2025-11-05 01:50:32 +05:30
Indrajith K L
2d565e5bcb Merge pull request #7 from cooljith91112/feature/font-updates
Use Oleaguid as default font
2025-11-04 17:32:33 +05:30
087700245e Use Oleaguid as default font instead of Raylib default 2025-11-04 17:31:31 +05:30
Indrajith K L
cc4a5f5309 Merge pull request #6 from cooljith91112/fixes/license-attributions
Update font attribution with correct CC BY 3.0 license
2025-11-04 15:29:49 +05:30
Indrajith Latha
e0dd5777d1 Adds Attributions to font 2025-11-04 15:28:03 +05:30
Indrajith K L
be845bf938 Merge pull request #5 from cooljith91112/chore/editor-settings
Add Zed editor configuration sample
2025-11-03 23:58:09 +05:30
f543450459 Add Zed editor configuration sample
- Added zed.sample.settings.json with complete LSP configuration for Lua
- Updated ZED_EDITOR_SETUP.md to reference the sample configuration file
- Includes proper Lua 5.4 runtime settings and ReiLua globals
- Configured diagnostics and inlay hints for better developer experience
2025-11-03 23:57:29 +05:30
Indrajith K L
04d4948fcb Merge pull request #4 from cooljith91112/bugfix/fix-documentation-errors
Fix documentation errors in README
2025-11-03 23:48:08 +05:30
f10b56f21b Fix documentation errors in README
- Corrected author name for Raylib (Ray instead of Ramon)
- Updated ReiLua repository link to point to correct source
2025-11-03 23:46:34 +05:30
Indrajith K L
fcb8fdb4de Merge pull request #3 from cooljith91112/bugfix/fix-documentation-errors
docs: fix README formatting and improve documentation
2025-11-03 21:20:11 +05:30
1a6dd92c9f docs: fix README.md formatting and improve documentation clarity
- Fix markdown formatting issues and inconsistencies
- Correct code block syntax and indentation
- Improve build instructions with clearer steps
- Update API documentation examples for better readability
- Fix typos and grammatical errors
- Add missing documentation for recent features
2025-11-03 21:19:07 +05:30
Indrajith K L
5dbff50ca2 Merge pull request #2 from cooljith91112/chore/re-organize-files
chore: fix build scripts and update project organization
2025-11-03 19:52:16 +05:30
e19bddd8d7 chore: fix build scripts to create build directory and update gitignore
- Update all build scripts (.sh and .bat) to automatically create build directory if it doesn't exist
- Fix 'can't cd to build' error that occurred when build directory was missing
- Update .gitignore to exclude build artifacts and IDE files
- Add proper navigation to project root in build_dev.bat for consistency
2025-11-03 19:50:20 +05:30
9bb3957d5f cleaned up root folder, organized files into docs/scripts/tools dirs 2025-11-03 19:43:05 +05:30
Indrajith K L
02d6be119f Merge pull request #1 from cooljith91112/embedded-assets-support
Added asset embedding support + docs cleanup
2025-11-03 19:24:01 +05:30
e51adde3ef remove build folder 2025-11-03 19:21:17 +05:30
cc305c3cdb docs: clean up personal references for public use 2025-11-03 19:17:06 +05:30
9c62d9dc1b Update UPGRADE_SUMMARY.md with build scripts info 2025-11-03 18:13:32 +05:30
4859c415cc Add build scripts and Windows icon/resources
Added:
- build_dev.bat / build_dev.sh - Development build scripts
- build_release.bat / build_release.sh - Release build scripts with embedding
- icon.ico - Default Windows icon for executable
- resources.rc - Windows resource file for icon and exe metadata
- BUILD_SCRIPTS.md - Complete documentation for build scripts

Features:
- Automated development builds (no embedding, fast iteration)
- Automated release builds (with Lua and asset embedding)
- Interactive verification and cleanup
- Custom icon and version info in Windows executables
- Cross-platform scripts (Windows .bat and Unix .sh)
- Safety checks and helpful messages

The build scripts provide one-command building for both development
and release workflows, with clear instructions and progress feedback.
2025-11-03 18:11:34 +05:30
f4d927aac0 Update UPGRADE_SUMMARY.md with fix status and known changes 2025-11-03 18:05:26 +05:30
f185f2c31a Fix SEGV crash: Initialize window and font in stateInit()
- Move window initialization and font loading to stateInit()
- Window now opens before splash screens (required for rendering)
- Custom font loaded in stateInit for splash screen use
- Remove RL.config() call from luaCallMain() (window already initialized)
- Remove stateContextInit() call (initialization now done in stateInit)
- Add hasWindow, customFontLoaded, resolution fields to State
- Fix memory management for custom font in stateFree()

This matches the ReiLua-JamVersion architecture where the window
is opened early so splash screens can render properly.
2025-11-03 18:04:54 +05:30
737214b71b Add embedded assets, splash screens, and asset loading support
Features added:
- Embedded main.lua and Lua files support (EMBED_MAIN option)
- Embedded assets support (EMBED_ASSETS option)
- Splash screens with dual logo display (always embedded)
- Asset loading progress tracking API (BeginAssetLoading, UpdateAssetLoading, EndAssetLoading)
- Custom font embedding for splash/loading screens
- --log flag for Windows console control
- --no-logo flag to skip splash screens in development
- Python scripts for embedding (embed_lua.py, embed_assets.py, embed_logo.py, embed_font.py)
- Documentation (EMBEDDING.md, ASSET_LOADING.md, SPLASH_SCREENS.md)

This allows building single-executable releases with all Lua code and assets embedded.
2025-11-03 17:48:56 +05:30
Indrajith Latha
3afcbd3200 Disable LUAJIT option to use liblua.a instead of missing libluajit.a 2025-11-03 16:35:24 +05:30
jussi
929076b576 SetMusicPan was setting pitch fix. 2025-10-17 15:41:35 +03:00
jussi
77ba40f97e Fixed fast_tilemap and texture_atlas_repeat examples. 2025-09-18 15:30:12 +03:00
jussi
3f27d9037d Bit fastes uluaGet* functions for vectors, color, rectangle and quaternion. 2025-09-09 23:13:55 +03:00
jussi
3bedd89e1d AudioStream management functions. 2025-09-08 22:36:40 +03:00
jussi
de672a85d2 DrawMeshInstanced takes transforms as Buffer. 2025-08-30 16:41:05 +03:00
jussi
15deeccc4b MeasureTextBoxed and DrawTextBoxedEx to DrawTextBoxed. 2025-06-11 22:44:39 +03:00
jussi
a38e76873b uluaGet* pops lua stack correctly when userdata given in table. 2025-06-11 17:00:25 +03:00
jussi
5b8af05e96 Frustum math from raylib extras. 2025-06-02 20:49:51 +03:00
jussi
e26bb8603c RL.load and RL.unload functions for memory leak debugging. SoundAlias garbage collection. 2025-05-24 23:56:42 +03:00
jussi
913b8f8820 DrawTextBoxed Color change escape sequence. 2025-05-14 11:20:00 +03:00
jussi
067e4091ba DrawTextBoxed fix. 2025-05-03 18:27:39 +03:00
jussi
6a4f8ab4a3 SetImageData. 2025-05-02 16:09:33 +03:00
jussi
3471e4514f RectPack. 2025-04-09 00:34:19 +03:00
jussi
d0bfd1f71d Fast tilemap example. 2025-03-17 21:51:49 +02:00
jussi
7d59796907 SDL3 Events. 2025-03-14 22:06:34 +02:00
jussi
63f3c1781c Basic sdl3 support. 2025-03-12 23:26:01 +02:00
jussi
bfa73944f7 Added rlDisableShader for SetShaderValue* functions. 2025-03-12 00:06:04 +02:00
jussi
d0ae531dbd uluaPushTransform translation field name fix. 2025-03-10 22:07:20 +02:00
jussi
a1bc76d7fd Blendmode example refine. 2025-02-10 21:58:45 +02:00
jussi
721ef97f16 Blend modes example. 2025-02-06 23:04:20 +02:00