PTR Changelog 2017-02-24


  • Dev Team

    This post describes changes on the Public Test Realm. The estimated launch date is February 27.

    Changed RoomVisual.text method style options:

    • Renamed size option to font. It can be either a number or a string in one of the following forms:
      • 0.7
      • 0.7 serif
      • bold italic 1.5 Times New Roman
      • 20px sans-serif - absolute size in pixels
    • Added new stroke and strokeWidth options.
    • Added new backgroundColor and backgroundPadding options.

    Example:

    new RoomVisual().text('Text 123', 10, 10, {
       font: 'bold italic .7 serif', 
       color: 'white', 
       backgroundColor: '#88ff88', 
       backgroundPadding: .3,
       stroke: '#005500',
       strokeWidth: .15         
    });


    Tell us what do you think about these upcoming changes in the comments below!



  • Yo dawg! So i heard you like visuals, so we put visuals in your visuals, so you can draw your own client while your are inside our client!

    Next step is adding `onClick` API, and it would be possible to completely rewrite basic client appearance from js source. Sounds funny, I like da stuff! 😃