aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/utils
AgeCommit message (Collapse)Author
2026-04-06Merge pull request #301 from AttorneyOnline/rendering-fixstonedDiscord
Fix IC rendering race conditions with asset preloading
2026-04-02Fix speedlines bugDavid Skoland
2026-04-01Add asset preloading system for IC message renderingDavid Skoland
Fix rendering race conditions where character sprites, pre-animations, and paired character assets were displayed before being downloaded. All assets referenced in an MS packet are now resolved and preloaded into the browser cache before the animation timeline starts. - Add unified assetCache module with session-wide promise caching - Add preloadMessageAssets orchestrator for parallel asset resolution - Cache fileExists HEAD requests so missing files aren't re-probed - Preload all SFX (emote, shout, realization, stab) alongside sprites - Use synchronous setEmoteFromUrl at all render transition points - Graceful fallback to legacy setEmote if preloading times out Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-07Catch rejected play() promises from browser autoplay policyDavid Skoland
Browsers reject .play() with a DOMException when the user hasn't interacted with the document yet. Add .catch(() => {}) to all 9 play() call sites to suppress the uncaught promise rejection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-01-01bring back objection sounds for chars that dont have their ownstonedDiscord
2026-01-01dont use opacitystonedDiscord
2026-01-01deal with this properlystonedDiscord
2025-10-25IC: treat empty preanim string as no preanimBumaire
When an emote is defined with empty preanimation string, such as
EmoteName##emote#, and a user selects "Preanim," WebAO tries to look up
a file with an empty name instead of disabling preanimation. This commit fixes this, matching AO2 client behavior and not requiring
character makers to put a magic "-" preanimation in char.ini.
2025-10-06move setbackgroundstonedDiscord
2025-10-03do not reload if there are not speedlinesstonedDiscord
2025-09-16temp bg fixstonedDiscord
2025-09-03also do bgsstonedDiscord
2025-09-03bgurlsstonedDiscord
2024-11-20Prettified Code!stonedDiscord
2024-09-29Dont clear the text box if the message is an additiveCaleb Mabry
2023-11-29Use findImgSrc in setSideDavid Skoland
2023-11-29minor formattingDavid Skoland
2023-11-23Hide chatbox on blankpostsDavid Skoland
2023-11-23FormattingDavid Skoland
2023-09-20autoformat with eslintstonedDiscord
2023-09-20mostly whitespaces, please don't breakstonedDiscord
2023-08-15need spansstonedDiscord
2023-08-15forgot parsedstonedDiscord
2023-08-15spell out messages without markdown if it fails because the host is downstonedDiscord
2023-02-06move blips to blips folderstonedDiscord
2023-01-23handle blankposts that are only spacesstonedDiscord
2022-11-11more console spamstonedDiscord
2022-09-11Finishing of refactorCaleb
2022-09-11Setting side moved outCaleb
2022-09-10Structured viewport a little differentlyCaleb