mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix up Gameflow.lua, Settings.lua and Strings.lua.
This commit is contained in:
parent
5d172459f1
commit
e2a40fe42e
3 changed files with 26 additions and 18 deletions
|
@ -1,9 +1,11 @@
|
|||
-- TR5Main engine settings file
|
||||
-- Created by MontyTRC
|
||||
-- Place in this LUA script all the engine settings for your game
|
||||
-- Place in this Lua script all the engine settings for your game
|
||||
-- WARNING: bad values could make your game unplayable, please follow with attention the reference guide
|
||||
|
||||
local settings = Settings.new();
|
||||
local Flow = TEN.Flow
|
||||
|
||||
local settings = Flow.Settings.new();
|
||||
settings.screenWidth = 1920;
|
||||
settings.screenHeight = 1080;
|
||||
settings.enableDynamicShadows = true;
|
||||
|
@ -13,9 +15,9 @@ settings.drawingDistance = 102400;
|
|||
settings.showRendererSteps = false;
|
||||
settings.showDebugInfo = true;
|
||||
settings.errorMode = ErrorMode.WARN;
|
||||
SetSettings(settings);
|
||||
Flow.SetSettings(settings);
|
||||
|
||||
local anims = Animations.new();
|
||||
local anims = Flow.Animations.new();
|
||||
anims.crawlExtended = true;
|
||||
anims.crouchRoll = true;
|
||||
anims.crawlspaceSwandive = true;
|
||||
|
@ -23,4 +25,4 @@ anims.monkeyTurn180 = true;
|
|||
anims.monkeyAutoJump = false;
|
||||
anims.oscillateHang = true;
|
||||
anims.pose = false;
|
||||
SetAnimations(anims);
|
||||
Flow.SetAnimations(anims);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue