Posted March 16, 2025 by schlonny
#massive update #change
hello fellow users, yes you read this right i will completely change how emerald engine works.
if you are new here emerald engine was a game engine but now i decided to rebrand into an lua and c# combined engine.
sample code (to show progress so far):
--
ConsoleOutput("Hello World!")
SetGlobalVariable("PlayerHealth", 100)
local health = GetGlobalVariable("PlayerHealth")
ConsoleOutput("Player Health: " .. health)
RegisterEvent("OnPlayerHit", function(damage)
ConsoleOutput("Player took " .. damage .. " damage!")
end)
TriggerEvent("OnPlayerHit", 10)
StartMainLoop(function(deltaTime)
ConsoleOutput("Delta Time: " .. deltaTime)
end, function()
ConsoleOutput("Rendering...")
end)
--
it has more but it will be shown sometime currently it has an garbage collector too and debugging options.