Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 28, 2007, 1:16:06 AM (18 years ago)
Author:
patrick
Message:

fading in on start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/scripts/cutscene/cutscene.lua

    r4563 r4568  
    4040-- Global Variables
    4141time = 0
     42bInit = 0
     43bInit2 = 0
    4244
    4345
     
    8385time = time + timestep
    8486
     87if bInit == 0 then
     88  cameraManager:initFadeBlack()
     89  bInit = 1
     90end
     91
     92if time > 1 and bInit2 == 0 then
     93   cameraManager:toggleFade()
     94   bInit2 = 1
     95end
     96
    8597shutle:tick(timestep)
    8698
     
    93105
    94106if time > 4 then
    95 --cameraManager:togglFade()
     107--cameraManager:toggleFade()
    96108--return true
    97109end
Note: See TracChangeset for help on using the changeset viewer.