G
Gullgum
Guest
Hello!
I have an object that is drawing a textbox in a 'Draw GUI' event. In this event, I have a script that draws scrolling text inside the textbox. I need to draw an object on top of this box because when I use the draw_sprite function it messes up the animation on the sprite.
The problem is that the object needs to be created from within the script. Every time I try to make the object appear in front of the textbox, it just ends up behind it instead. I have tried setting a Draw GUI End event for the object with the draw_self(); function, manually setting the depth etc. but nothing so far has worked.
I'm still learning this software, so any ideas would be much appreciated!
I have an object that is drawing a textbox in a 'Draw GUI' event. In this event, I have a script that draws scrolling text inside the textbox. I need to draw an object on top of this box because when I use the draw_sprite function it messes up the animation on the sprite.
The problem is that the object needs to be created from within the script. Every time I try to make the object appear in front of the textbox, it just ends up behind it instead. I have tried setting a Draw GUI End event for the object with the draw_self(); function, manually setting the depth etc. but nothing so far has worked.
I'm still learning this software, so any ideas would be much appreciated!