ID:2369526
 
BYOND Version:511
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 66.0.3359.139
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

I have been fiddling with pixel movement a bit, and I came across a problem in the walk commands, the walking itself works fine but if I put the speed to anything higher than 6 (7 and above) the icon of the character itself will no longer use the movement version of it's state and instead it will just use the normal state and float in that direction

Code Snippet (if applicable) to Reproduce Problem:
mob/player/Login()
src.icon = 'Floratical.dmi'
src.icon_state = ""
src.loc = locate(2,2,1)
src.bound_x = 9
src.bound_y = 6
src.bound_width = 15
src.bound_height = 13
src.step_size = 3

mob
proc
Speedwalk()
walk(src, src.dir, 0.2, 12)//Last number needs to be less than 7
spawn(10)
walk(src,0)


Expected Results:
Character walking properly with it's animation.

Actual Results:
Character walks without a walking animation.

What happens when your step_size is increased to match your walk speed?
In response to Kaiochao
Huh, weirdly enough it seems to work when I put step_size to 12, I tested out the walk command's speed and it works as intended up to 24 then (25 again, puts it on floating walking), I'm not sure how those two are linked together then when it comes to the icon move animation but, it seems to be that then.

Well, I guess that solves my problem, I didn't think of changing it, but.. to me it's still weird that it's a problem.
If this is definitely a bug and not an artifact of some kind, I'll need a test case to diagnose it properly.