Descriptive Problem Summary:
Maptext can disappear when it is transformed, even if the transform is just a translation by 1 pixel.
Code Snippet (if applicable) to Reproduce Problem:
world
icon_size = 32 // 32x32 icon size by default
view="28x20"//28x20
turf/grass
icon='grass.dmi'
obj/interface/warningText
maptext_width=320
maptext_height=550
layer = 76
mob
Login()
..()
loc = locate(1,1,1)
verb
textWithoutTranform()
DialogueWarning("Without matrix translation")
textTransformed()
DialogueWarning2("Translated using animate()")
mob/proc
DialogueWarning2(var/dialogue = "Test", var/screenLocation="1,1")
var/obj/interface/warningText/T = new(screenLocation)
T.screen_loc = "4,1:-50"
T.maptext = "<b><font face=\"Verdana\" valign= top size=3 color=white > [dialogue]</font></b>"
src.client.screen += T
sleep(20)
animate(T, transform = matrix(0, 1, MATRIX_TRANSLATE), time = 2)
sleep(20)
animate(T, alpha = 0, time = 5)
spawn(5) src.client.screen -= T
DialogueWarning(var/dialogue = "Test", var/screenLocation="1,1")
var/obj/interface/warningText/T = new(screenLocation)
T.screen_loc = "4,1:-50"
T.maptext = "<b><font face=\"Verdana\" valign= top size=3 color=white > [dialogue]</font></b>"
src.client.screen += T
sleep(20)
animate(T, alpha = 0, time = 5)
spawn(5) src.client.screen -= T
Expected Results:
The maptext should transform properly.
Actual Results:
Maptext disappears.