Skip to content

Releases: WiredSnippets/wsproom

v2.1.4 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 31 Oct 15:45

Added

  • tileMapChanged() hook on room objects (Avatar, FloorFurniture, WallFurniture) to reposition after a tilemap change
  • RoomModelVisualization.setParsedTileMap() to rebuild floor and walls in place
  • RoomLandscapeMaskSprite.setRoomBounds() so wall masks follow a resized room

Changed

  • Room.changeTileMap() no longer destroys and re-adds every room object; furni and avatars keep their sprites, click handlers and animations

Fixed

  • Avatars disappeared or stopped animating after being re-added to a room (destroyed sprites were reused)

v2.1.3 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 31 Oct 13:46

Added

  • getCoordinateRoot and updateRectangles in EventManager; extended IEventTarget interface

Changed

  • HitSprite rectangle update logic improved
  • RoomModelVisualization rendering optimized

v2.1.2 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 31 Oct 00:33

Fixed

  • Animated furniture replayed its transition whenever its view was rebuilt (a highlight or alpha change): a wired box flashed again when its panel closed. A rebuilt view now shows the current state directly

v2.1.1 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 30 Oct 23:14

Fixed

  • Furniture whose target state has only a transition into it (e.g. a wired box's 0 <> 1) looped the transition forever; it now plays once and rests on the target state, as in the official client

v2.1.0 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 27 Oct 15:21
41ebbc1

Added

  • Figure-part avatar effects: effects can remove set types from the figure (<remove id="hr"/>) and replace a set type with their own part (<bodypart><item id="ha" base="..."/></bodypart>), e.g. the WiredTeam helmets (fx.223–226)
  • IAvatarEffectData.getRemovedParts() and getPartItems()

Fixed

  • Avatar drawn over furniture in front of it when a zIndex changed while the object was detached
  • Furniture reverting to its old zIndex after a highlight or alpha change
  • ch part missing from the sit part set

v2.0.0 - wsproom

Choose a tag to compare

@michyaraque michyaraque released this 25 Oct 02:25

Breaking changes

The project is now wsproom. Everything named shroom has been renamed:

Before After
@wiredsnippets/shroom @wiredsnippets/wsproom
Shroom Wsproom
BaseAvatar.fromShroom() / BaseFurniture.fromShroom() fromWsproom()
ShroomAssetBundle WsproomAssetBundle
shroom dump (CLI) wsproom dump

To migrate, update the dependency and rename the imports:

- import { Shroom, Room } from "@wiredsnippets/shroom";
- const shroom = Shroom.create({ application, resourcePath });
+ import { Wsproom, Room } from "@wiredsnippets/wsproom";
+ const wsproom = Wsproom.create({ application, resourcePath });

Also in this release

  • Tilemap processing improved, with improved door handling and wall geometry
  • Mask sprite support in furniture visualization layers
  • New README
  • Releases now publish automatically to GitHub Packages