igiTextColoured

Shows text in a colour. Takes text (The text), r (Red 0-255), g (Green 0-255), b (Blue 0-255).

IGI

Parameters & Returns

Parameters

text String
r Int
g Int
b Int

Returns

Void

Quick Summary

Shows text in a colour. Takes text (The text), r (Red 0-255), g (Green 0-255), b (Blue 0-255).

Technical Exegesis...

Shows text in a colour.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Example

Example.bam
igiTextColoured("Low health!", 255, 60, 60)