Repository navigation
Releases: WiredSnippets/wsproom
Releases · WiredSnippets/wsproom
Release list
v2.1.4 - wsproom
Added
tileMapChanged()hook on room objects (Avatar, FloorFurniture, WallFurniture) to reposition after a tilemap changeRoomModelVisualization.setParsedTileMap()to rebuild floor and walls in placeRoomLandscapeMaskSprite.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
Added
getCoordinateRootandupdateRectanglesin EventManager; extendedIEventTargetinterface
Changed
- HitSprite rectangle update logic improved
- RoomModelVisualization rendering optimized
v2.1.2 - wsproom
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
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
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()andgetPartItems()
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
chpart missing from thesitpart set
v2.0.0 - wsproom
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