diff --git a/data/levels/Level1.xml b/data/levels/Level1.xml index ebde9c3..ded32c5 100644 --- a/data/levels/Level1.xml +++ b/data/levels/Level1.xml @@ -13079,7 +13079,7 @@ -1.0 - 1.5 + -6 1.0 1.0 1.0 diff --git a/data/levels/scripts/sunUpdate.lua b/data/levels/scripts/sunUpdate.lua index 9160ad9..4bddcd1 100644 --- a/data/levels/scripts/sunUpdate.lua +++ b/data/levels/scripts/sunUpdate.lua @@ -13,9 +13,16 @@ function trigger(objectToChange) timeDiff = maxTimeDiff end timeDiff = timeDiff/maxTimeDiff - local x = 1 - 0.3 * timeDiff - local y = math.sqrt(timeDiff) * 1.0 - 0.1 - local z = 0.7 * timeDiff + local x = 10 + local y = -18 + math.sqrt(timeDiff) * 29 + local z = -8 + timeDiff * 15 level:setSunDirection(x,y,z) end end + + + --local x = 0.7 + 0.3 * timeDiff + --local y = math.sqrt(timeDiff) * 2.2 - 1.5 + --local z = -0.7 - 0.7 * timeDiff + --start 1,-6,-2 + --ziel 10,10,10