Parameter | Type | Description |
message | string | The text data to display. |
pos | float[] | The X and Y position for the text in normalized screen coordinates. i.e. (0, 0) being the centre of the screen. |
N/A
Displays white text in screenspace using the system's default font.
import agan
class game():
def create(self):
return self
#
def update(self):
agan.text('Hello, AGA!', [ 0.5, 0.5 ])
#
def close(self):
pass