updated engine initialization logic;

fade manager is now time-based instead of frame-based;
wiImage moved to namespace instead of static class;
refactors;
editor updates;
contributing updates;
This commit is contained in:
turanszkij
2018-10-26 18:35:11 +01:00
parent cde0cb5fcd
commit 9f056b4cfe
49 changed files with 1630 additions and 1653 deletions
+6 -4
View File
@@ -18,6 +18,11 @@ scriptableCameraSpeed = 0.4
local tt = 0.0
local play = false
local rot = 0
ToggleCameraAnimation = function()
tt = 0.0
play = not play
rot = 0
end
-- Gather camera proxy entities in the scene from "cam0" to "cam1", "cam2", ... "camN":
local proxies={}
@@ -35,10 +40,7 @@ runProcess(function()
while true do
if(input.Press(VK_F8)) then
-- Reset animation:
tt = 0.0
play = not play
rot = 0
ToggleCameraAnimation()
end
if(play) then
-- Play animation: