AftGangAglay Documentation


text

Parameters

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.

Return Value

N/A

Description

Displays white text in screenspace using the system's default font.

Example

import agan

class game():
	def create(self):
		return self
	#
	def update(self):
		agan.text('Hello, AGA!', [ 0.5, 0.5 ])
	#
	def close(self):
		pass