Lua script

This commit is contained in:
2026-02-28 00:19:25 +03:00
parent 5434239b47
commit 2815369bb8
8 changed files with 202 additions and 7 deletions

View File

@@ -8,5 +8,8 @@
<Entity classname="TempPlayer">
<IsDisableled value="false" />
</Entity>
<Entity classname="game_object">
<IsDisableled value="false" />
</Entity>
</Entities>
</Level>
</Level>

View File

@@ -1,8 +1,13 @@
-- Game initialization script
-- загружаем скрипты
load_script("game_object.lua")
-- глобальная таблица сущностей
g_entity_table = {
-- Lua class -- CPP class -- Description
{ "actor_player", "ActorBase", "Player actor entity" }
{ "game_object", "Entity", "Test Lua Entity" }
}