There isn't an easy way of placing text in a 3d world
but you could place a texture with text on it to an object
SetObjectImage( objID, imageID, texStage )
if you wish to update the text I think you could a shader
the following sticky has some usefull shaders but last time I checked there wasn't one for text
https://forum.thegamecreators.com/thread/214598
Quote: "shaders do use a few resources that allot of mobiles wont support"
your other choice as far as I can see is to render the text to an image and place that image to an object
Your other choice is to do something like this, a snippet of baxslashes code that render2dto3d but with some modifiying to suit should help your needs
// First Render 2D scene to an image
renderImage = CreateRenderImage( 1024, 512, 0, 0 )
box = CreateObjectPlane( DeviceWidth, DeviceHeight ) `Create a plane object to apply the rendered image to
SetObjectPosition( box, 0, DeviceHeight*0.5, 0 ) `Set it's position
SetObjectImage( box, renderImage, 0 )
// main game loop
do
// First Render 2D scene to an image
depthImage = -1 `not required as we are not rendering depth, just a 2D scene
SetRenderToImage( renderImage, depthImage ) `This tells AGK to render only to the render image applied to the box as a texture
SetClearColor( 128, 128, 128 ) `Setting the clear / background colour for the 2D render
ClearScreen() `Clear the render image before rendering
Update2D( GetFrameTime() ) `Update 2D scene (including physics)
Render2DFront() `Render only 2D front items (in this case just our skeleton)
// Now Render 3D
SetRenderToScreen() `This tells AGK to render back to the screen
SetClearColor( 0, 0, 0 ) `Setting the clear colour for the final 3D render to white
Update3D( GetFrameTime() ) `Update 3D objects only
Render3D() `Render only 3D objects (our box)
Swap() `Send the final render to the screen
ClearScreen()
loop
GOODLUCK
fubar