I might have a solution, but I'm not 100% sure if it'll work or not, and I'm pretty sure there's someone having a better idea.
In the
Draw Event for your object try adding this script:
Code:
var tex;
tex = sprite_get_texture(spr_ironsword,0);
d3d_draw_wall(x-global.itmsize1*global.camsin,y-global.itmsize1*global.camcos,z2-global.itmsize2,x+global.itmsize1*global.camsin,y+global.itmsize1*global.camcos,z1,tex,1,1);
This one will create a wall always facing towards your camera/view, with the texture of the wall being the local variable
"tex", which in this example is set to be
sprite_get_texture(sprite,subimage);, what you'll have to do (if it works) is to change the
"sprite_get_texture" function to a
draw_text function, perhaps like this:
Code:
tex = draw_text(x,y,text);
You'll also have to preset the
z1 and
z2 variable seen in the script, as they decide the bottom height and the top height of the wall.
I should also mention that this script is copied from one of my projects, so variables like
"global.itemsize2" is not realive to your project, and variables like
camsin,
camcos and such is also relative to my 3d projection. A smiliar script which is much cleaner can be found in Yoyogames own 3D tutorial.