home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1995-12-30 | 1.1 KB | 31 lines |
- ' ===============================================================
- ' FirstRate Effex routine by Asa Margetts (Coded in under 2 mins)
- ' ===============================================================
-
- ' Where PIC$ is here, enter the path of a LowRes IFF picture:
- ' If the picture is not found, it will display me logo!
-
- FIRSTRATEEFFEX["PIC$"]
-
- Procedure FIRSTRATEEFFEX[PIC$]
- ' Routine By Asa Margetts
- Screen Open 0,320,256,4,Lowres : Curs Off : Flash Off : Paper 0 : Cls : Hide
- If Exist(PIC$) Then Load Iff PIC$,1 : Screen 0 : Screen To Front : Goto CONTINUE
- Unpack 5 To 1 : Screen 0 : Screen To Front
- CONTINUE:
- X1=160 : X2=160
- Do
- Draw X1,135 To X2,135
- Wait Vbl : X1=X1-10 : X2=X2+10
- If X1=0 Then Exit
- Loop
- Fade 1,676765679 : Wait 15 : Screen 1 : Screen To Front : Screen Display 1,130,42,320,320
- Y1=150 : Y2=10
- Do
- Y1=Y1-5 : Y2=Y2+10
- Screen Display 1,130,Y1,320,Y2 : Wait Vbl
- If Y1=40 Then Screen Display 1,130,42,320,320 : Wait Vbl : Fade 1,676765679 : Wait 15 : Fade 1,0 : Exit
- Loop
- Screen Close 0 : Wait 125 : Fade 2 : Wait 30
- ' End of routine
- End Proc