PTR Changelog 2017-02-24
-
This post describes changes on the Public Test Realm. The estimated launch date is February 27.
Changed
RoomVisual.textmethod style options:- Renamed
sizeoption tofont. It can be either a number or a string in one of the following forms:
0.70.7 serifbold italic 1.5 Times New Roman-
20px sans-serif- absolute size in pixels
- Added new
strokeandstrokeWidthoptions. - Added new
backgroundColorandbackgroundPaddingoptions.
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!
- Renamed
-
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!
