TGC Codebase Backup



3D text by Slayer93

9th Jun 2005 14:58
Summary

also works in classic



Description

it is in a 3d enviorment but still looks 2d



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    `3D TEXT

`sync
sync on
sync rate 30

`create a text to put on
`you can change the text to whatever
`change the get image to fit the text in it
set text size 30
text 0,0,"Hello!"
get image 1,0,0,80,25

`get a 3D object to texture the text on
make object plain 1,5,1
texture object 1,1

`since the background is black i can make it transparent so you don't see it
`strangly my transparency had to be set to 1 to get it transparent
`so if the black is not transparent set the transparency to 0
set object 1,1,0,0

`loop
do
`turn object
turn object left 1,2
sync
loop