ok so this is what i came up with
let me remind you i dont have AppGameKit installed on this pc so its basicly psoudo code but with a bit of correcting it should work.
// Project: Simulated 3D text
// Created: 2016-07-21
// by Rich Dersheimer
// Redited by Nadav Rosenberg aka haliop
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "Simulated 3D text" )
SetWindowSize( 1024, 768, 0 )
// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )
type 3dtext
id as integer
img as integer
text as string
endtype
global dim 3dtextobjects[50,2] as 3dtext
3dtextobjects[50,1].img = Create3dText("A")
3dTextObjects[50,1].text = "A"
3dTextObjects[50,1].id = CreateObjectPlane(1,1)
SetObjectImage(3dTextObjects[50,1].id,3dTextObjects[50,1].img,0)
SetObjectTransparency(3dTextObjects[50,1].id,1)
SetObjectPosition(3dTextObjects[50,1].id, -1, 0, 0)
SetCameraPosition(1, 0, 0, -3)
SetCameraLookAt(1, 0, 0, 0, 0)
do
print(ScreenFps())
RotateObjectLocalX(3dTextObjects[50,1], .5)
Redraw(1,1,0.25,0.0025)
Sync()
loop
function Create3dText(Letter as string)
clearScreen()
imgReturn = 0
t = CreateText(Letter)
SetTextSize(t,TextSizeGlobal)
SetTextPosition(t,GetVirtualWidth()/2,GetVirtualHeight()/2)
Render()
imgReturn = GetImage(GetTextX(t),GetTextY(t),GetTextTotalWidth(t),GetTextTotalHeight(t))
DeleteText(t)
endfunction imgReturn
function ReDraw(index as integer,index2 as integer,amount as float,spacing as float)
x# = GetOBjectX(3dTextObjects[index,index2].id)
y# = GetOBjectY(3dTextObjects[index,index2].id)
z# = GetOBjectZ(3dTextObjects[index,index2].id)
current# = 0
while amount > current#
MoveObjectLocalZ(3dTextObjects[index,index2].id,spacing)
DrawObject(3dTextObjects[index,index2].id)
current# = current# + spacing
endwhile
SetOBjectPosition(3dTextObjects[index,index2].id,x#,y#,z#)
endfunction
ok this should work but maybe i forgot something
just remmeber that 3dtextcreation needs to be at startup before assigning any new sprites...
then when you assign into the 3dtext type a string of the char you can look for it later on using the string rather then numbers.
cheers , please someone try this and correct , still no pc with AppGameKit installed
i miss it so much ...