A Unity + Lua auto-battler with a grid battlefield, summon & card systems, and gameplay scripted in Lua. The most built-out project in this series.
IntelliFight is an auto-battler prototype where units summoned from cards fight automatically on a grid map. C# provides the runtime (assets, scenes, Lua host, pooling) and Lua drives the gameplay for rapid iteration.
| System | Details |
|---|---|
| Layered architecture | GameBase ยท GameCore ยท GameLib ยท GameLogics โ a deliberately separated engine/framework/gameplay stack. |
| Lua scripting | LuaBehaviourManager, LuaScriptManager, LuaOperation, and LuaโC# call helpers built on xLua. |
| Grid battlefield | MapManager with MapCell / MapGrid / MapMesh โ a procedurally-meshed tile map. |
| Battle presentation | A perform-node pipeline (PerformBaseNode, SummonNode, โฆ) that separates battle logic from visual playback. |
| Units & cards | Unit + UnitAvatar, a CardItem UI, effect asset data, and a camera manager. |
| Framework utilities | Event manager, object pool, singletons, math/transform helpers, custom asset creation tooling. |
Assets/Scripts/
โโโ GameBase/ Assets, events, resource management
โโโ GameCore/ GameRoot ยท Battle ยท Lua system ยท Scene ยท Operation
โโโ GameLib/ Singletons, events, pooling, math/utils
โโโ GameLogics/ Battle (Map/Unit/Perform) ยท Camera ยท UI (Card)
Bundles xLua (Tencent, MIT). Original game code is authored by me.