diff --git a/src/community/docsGamesBuilders.js b/src/community/docsGamesBuilders.js index 25e8ba2..09c7915 100644 --- a/src/community/docsGamesBuilders.js +++ b/src/community/docsGamesBuilders.js @@ -748,7 +748,9 @@ function game6ColorTiles() { id, type: 'cube', name: 'Плитка_' + id, - x: -4 + c * 2, y: 1.15, z: -4 + r * 2, + // Платформа grass: x от -6 до 5 (blocks=1unit, центры [-5.5..5.5]). + // Сетка 6×6 плиток (центры через 2) центрируем на [-5..5]. + x: -5 + c * 2, y: 1.15, z: -5 + r * 2, sx: 1.8, sy: 0.3, sz: 1.8, color: '#9aa0aa', // серый — не раскрашена material: 'matte', diff --git a/src/editor/engine/GameRuntime.js b/src/editor/engine/GameRuntime.js index bddaa0f..f8fe371 100644 --- a/src/editor/engine/GameRuntime.js +++ b/src/editor/engine/GameRuntime.js @@ -348,6 +348,12 @@ export class GameRuntime { const rbxlImported = luaUserBatch.filter(s => s._rbxlImported).length; const luaWritten = luaUserCount - rbxlImported; const jsOnly = this.sandboxes.length - (this._luaUserSandbox ? 1 : 0); + // Чёткий маркер языка в логах — чтобы было видно что запущено + const lang = (luaWritten > 0 || rbxlImported > 0) + ? (jsOnly > 0 ? 'СМЕШАННЫЙ (JS+Lua)' : 'LUA') + : 'JS'; + // eslint-disable-next-line no-console + console.warn(`[GameRuntime] === ЯЗЫК СКРИПТОВ: ${lang} === (JS=${jsOnly}, Lua=${luaWritten}, rbxl=${rbxlImported})`); this._log('info', `Запущено JS-скриптов: ${jsOnly}`); if (rbxlImported > 0) { this._log('info', `Запущено Roblox-Lua скриптов (импортированных): ${rbxlImported}`);