summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIndrajith K L2025-11-05 01:50:32 +0530
committerIndrajith K L2025-11-05 01:50:32 +0530
commit10c22d35678f96e722f25a12badca98febb2921e (patch)
treefe71581d11747f32ceebb31839034d61e7a55614 /tools
parent2d565e5bcb0e2eab93d9d1bab520bbbaf7457a07 (diff)
downloadreilua-enhanced-10c22d35678f96e722f25a12badca98febb2921e.tar.gz
reilua-enhanced-10c22d35678f96e722f25a12badca98febb2921e.tar.bz2
reilua-enhanced-10c22d35678f96e722f25a12badca98febb2921e.zip
Adds Game Jam Ready Templates & ReiLua API Updates
(Most of the code is Copilot Generated LOL)
Diffstat (limited to 'tools')
-rw-r--r--tools/ReiLua_API.lua21
1 files changed, 20 insertions, 1 deletions
diff --git a/tools/ReiLua_API.lua b/tools/ReiLua_API.lua
index 1ba8b71..aac5bcb 100644
--- a/tools/ReiLua_API.lua
+++ b/tools/ReiLua_API.lua
@@ -9049,6 +9049,25 @@ function RL.GetKeyName( key, scancode ) end
---If the key is KEY_UNKNOWN or does not exist on the keyboard this method will return -1.
---- Success return int
---@param key integer
----@return any scancode
+---@return any scancode
function RL.GetKeyScancode( key ) end
+-- ReiLua-Enhanced - Asset Loading System
+
+---Initialize asset loading progress tracking and show loading screen.
+---Call this before loading assets to display a retro 1-bit style loading screen
+---with progress bar, animated dots, and asset name display.
+---@param totalAssets integer Total number of assets to load
+function RL.BeginAssetLoading( totalAssets ) end
+
+---Update asset loading progress and display current asset being loaded.
+---Call this after each asset is loaded to update the progress bar and counter.
+---The loading screen will show the asset name and update the progress (e.g., "3/10").
+---@param assetName string Name of the asset currently being loaded (e.g., "player.png", "music.ogg")
+function RL.UpdateAssetLoading( assetName ) end
+
+---Finish asset loading and hide the loading screen.
+---Call this after all assets have been loaded to dismiss the loading UI
+---and continue with your game initialization.
+function RL.EndAssetLoading() end
+