I wanted to use sequences to create some GUI elements like a health bar where the fill can be controlled by the sequence playhead position. The problem is that there isn't a way to tell the sequence to draw to the GUI instead of normal world position.
My current workaround is to replace the sprites with objects set to those sprites, and have them override the draw events to only call draw_self in the Draw GUI event. That has two problems:
1) the Draw GUI events run in the opposite order as the sequence, so things that are on the bottom in the sequence editor show on top when using the Draw GUI events.
2) Using Draw GUI in this way is not compatible with clipping masks -- it will just draw the sprite for the clipping mask as normal, not as a clipping mask.
The best solution would be an option in the sequence element configuration (aka the settings for the sequence element placed in the room) to set the element to draw to GUI instead of normal draw.
Please sign in to leave a comment.