home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1993-02-25 | 735 b | 22 lines |
- 'when compiled this program will load and display a pic and play a mod
- 'the pic ust be called INTRO.IFF and the mod MOD.INTRO
- 'this program can be used as a little intro to your game or whatever
- Screen Open 0,320,256,32,Lowres
- Curs Off : Flash Off : Hide On : Paper 0 : Cls 0
- Dir$="df0:"
- F$="mod.intro"
- If Exist(F$)
- Track Load "df0:mod.intro",10
- Else Print : Print : Print " MODULE NOT FOUND OR INCORRECTLY NAMED" : Centre "NAME IT MOD.intro" : Wait 500 : Stop
- End If
- F$="intro.iff"
- If Exist(F$)
- Load Iff F$,0
- Else Print : Print : Print " IFF NOT FOUND OR INCORRECTLY NAMED" : Centre "(intro.IFF)" : Wait 500 : Stop
- End If
- '
- Track Loop On : Track Play 10
- While Mouse Key=0 : Wend
- Track Stop : Fade 10 : Wait 125
- Erase 10
- Stop