RoomVisual bug: `background` color option ignored


  • Culture

    It looks like the "background" options on RoomVisual.text is being ignored.

    This should have black text on a white background, but there is no background color set. I've tried a few variations on this with no luck resolving it.

    var room = Game.rooms['E47N37']; 
    var pos = room.getPositionAt(28, 28);
    room.visual.text('test', pos.x, pos.y-1, {
    'color': '#000000',
    'background': '#ffffff',
    })

  • Culture

    Looks like the option name is actually "backgroundColor", not "background".


  • Dev Team

    Thanks, docs page is fixed.