LoginLogin
Might make SBS readonly: thread

GPUTCHR3D

Root / Submissions / [.]

amihartCreated:
Download:53AKQDZX
Version:Size:565 KB
GPUTCHR3D is a command that is exactly the same as GPUTCHR, however, it has a Z value that you can specify to alter the depth a string is displayed on the screen. The depth is particular to that specific string, meaning you can draw different strings at different depths at the same time.

Instructions:

Run the "EXAMPLE" file to see text in 3D! When utilizing this library, you first need to load "GPUTCHR3D.LIB" into one of the program slots that you are not currently using for the program you want to edit it in. Check the "EXAMPLE" program to see how you can have it load in automatically when your program is run. You then need to draw a virtual parallax barrier. Now, you can call the command. The inputs are exactly the same as GPUTCHR, however, after the first Y value, there's also a Z value for depth.
GPUTCHR3D X, Y, Z, STRING$, SCALEX, SCALEY, COLOR_CODE
Unlike the original GPUTCHR, GPUTCHR3D is not overloaded. This means any time you call it, you must specify a value for all parameters. Note: This only supports the first and third page of characters. Calling an unsupported character will throw an "Undefined label" error.

No posts yet (will you be the first?)