This code:
weapon
parent_type = /obj
icon = 'test.dmi'
var
active = FALSE
Click()
if(active) return
active = TRUE
var
length = 20
speed = 0.1
matrix/X
for(var/i in 0 to 180)
X = new
X.Scale(1, length)
X.Translate(0, length/2)
X.Turn(i*2)
transform = X
sleep(speed)
transform = null
active = FALSE
produces the following. The left portion is the webclient, the right is DS. Notice how the line on the left does not stay centered on the mouse pointer as it turns. As an aside, the webclient transformed line looks cleaner than the DS one, which is nice :)
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
Expected Results:
Actual Results:
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds: