Sync on
Sync rate 60
Set display mode 1024,768,32
Load image "following.jpg",1
Load image "mindesign.jpg",2
Load sound "mindesign.wav",1

Sprite 1,0,0,1
Sprite 2,0,0,2
Set sprite alpha 1,0
Set sprite alpha 2,0
Color backdrop RGB(0,0,0)

Play sound 1

IntroT=Timer()
Repeat
 If Sprite alpha(1)<>255 then Set sprite alpha 1,Sprite alpha(1)+1
 wait 5

 If Timer()-IntroT>=8000 and Timer()-IntroT<=25000
  wait 5
  Set sprite alpha 1,0
  If Sprite alpha(2)<>255 then Set sprite alpha 2,Sprite alpha(2)+1
 Endif

 If Timer()-IntroT>=25000
  Set sprite alpha 1,0
  If Sprite alpha(2)<>0 then Set sprite alpha 2,Sprite alpha(2)-1
 Endif
 Sync
Until Timer()-IntroT>=31000 or Returnkey()=1

Delete sprite 1
Delete sprite 2
Stop sound 1
Delete sound 1

Load music "menu_music.wav",1
Loop music 1

Rem Menü
Backdrop on
Color backdrop RGB(255,255,255)

Do
 Sync
Loop


