home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-02-26 | 896 b | 26 lines |
- '******************************************
- '*** SHADOW TEXT PROCEDURE BY B.L.GAUNT ***
- '**************************************************************
- '*** HOW TO USE _SHADOWTEXT X Y=Text pos, SC=Shadow colour, ***
- '*** TC=Text colour, T$=Your text ***
- '**************************************************************
- Screen Open 0,320,256,4,Lowres
- Flash Off
- Colour 1,$44
- Curs Off : Hide On : Cls 1 : Wait Vbl
- _SHADOWTEXT[75,100,0,2,"Shadowtext by B.L.G"]
- _SHADOWTEXT[10,130,0,2,"AMOS PRO where your dreams come true."]
- Clear Key : Wait Key : Edit
-
- Procedure _SHADOWTEXT[X,Y,SC,TC,T$]
- Gr Writing 0
- For A=0 To 1
- Ink SC
- If A=1
- 'By changing the values of X and Y you can increase the depth and,
- 'direction of the shadow. Try x=0 y=2
- X=X+3 : Y=Y-3 : Ink TC
- End If
- Text X,Y,T$
- Next A
- End Proc