PTR Changelog 2017-02-02
-
This post describes changes on the Public Test Realm. The estimated launch date is February 6. See commits in the
ptr
branch at our GitHub repositories:engine
.- Removed the 20 rooms limit for
RoomVisual
usage. Now you can post visuals to any amount of rooms. - Renamed
RoomVisual.path
toRoomVisual.poly
. - Renamed
RoomVisual.clean
toRoomVisual.clear
. - Added new option
visualizePathStyle
toCreep.moveTo
method that draws a line along the creep’s path usingRoomVisual.poly
. You can provide either an empty object or custom style parameters. The default style is equivalent to:
creep.moveTo(target, {visualizePathStyle: { fill: 'transparent', stroke: '#fff', lineStyle: 'dashed', strokeWidth: .15, opacity: .1}});
Tell us what do you think about these upcoming changes in the comments below!
- Removed the 20 rooms limit for
-
Nice! Thanks a lot for removing the limit. Now I can just enable/disable the visualization in demand for the whole empire.
I see from the git commit that the visual is still limited to 512 KB. I think that might be worth mentioning.
-
This is documented, it’s the reason why
RoomVisual.getSize
exists.
-
The align styling for RoomVisual.text doesnt seem to be working for me.
EDIT: Also opacity.
-
Helam, try to Ctrl+F5, you probably have the cached old client version.
-
Indeed. Thank you.
-
Would be cool to be able to do vertical alignment and rotation too.