tbox.gs
Name
tbox - Draw string using text-box.
Synopsis
(1) Create text-box
tbox start xpos ypos
(2) Draw string
tbox draw string
(3) Return
tbox enter yint
Description
To show help, simply run "tbox".
Options
- xpos
- Starting x position.
- ypos
- Starting y position.
- string
- String to draw.
- yint
- Vertical interval.
Examples
(1) Draw string using tbox.
ga-> setfont huge ga-> tbox start 3 3 ga-> tbox draw abc ga-> tbox draw def ga-> tbox enter 0.5 ga-> tbox draw ABC
Script source code
- tbox.gs (necessary)
- strmem.gsf (necessary)
- getstr.gsf (necessary)
- setstr.gsf (necessary)
- atoi.gsf (necessary)
- itoa.gsf (necessary)