PTR Changelog 2017-02-02


  • Dev Team

    This post describes changes on the Public Test Realm. The estimated launch date is February 6. See commits in the ptrbranch 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 to RoomVisual.poly.
    • Renamed RoomVisual.clean to RoomVisual.clear.
    • Added new option visualizePathStyle to Creep.moveTo method that draws a line along the creep’s path using RoomVisual.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!


  • Culture

    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.

     

     


  • Dev Team

    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.


  • Dev Team

    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.