Whenever player moves with translucent box upon the screen, the box will suddenly change in opacity.
Numbered Steps to Reproduce Problem:
Using the following code:
Code Snippet (if applicable) to Reproduce Problem:
proc/box(col,x,y)//Creates a box to be used as the background for on-screen display
var/icon/i = new('pixel.dmi')
i.Crop(1,1,x,y)
i.DrawBox(col,1,1,x,y)
return i
obj
scr_box
mouse_opacity=1
var
action="default"
owner
New(own, act, col, w, h, pos,mapt,mx=32,my=18)
name =act
action =act
icon =box(col,w,h)
screen_loc =pos
owner =own
maptext_height =h
maptext_x =mx
maptext_width =w
maptext_y =my
maptext =mapt
Click()
switch(action)
if("new")
owner<<"TestNew"
And later call this somewhere else to display it onto the screen.
client.screen += new/obj/scr_box(src, "new","#ccccee88",128,48,"6:16,5:16","<b><font color=\"#777799\">Testing New</font></b>",16)
"#ccccee88"
Expected Results:
Alpha transparency to remain consistent after attempted move.
Actual Results:
Opacity is severely increased, yet not entirely.
Workarounds:
Prevent movement.
Edit: Disable "Use graphics hardware for displaying maps."
Possible issue with AMD A10-7850K Radeon R7? I suppose this might just be a graphical error on the GPU side, but leaving it posted, just in case anyone else has wonky things like this happen for no apparent reason.
Note: There is no movement alteration/override with the source in question. This is using Dreamseeker.