Tags: seifer8ff/sim-world
Tags
Feat: Quality of Life Improvements (#6) * feat: cloud mask, tile info box, perf improvements Add sky-mask component that shows/hides multiple layers of clouds and fades them in/out based on zoom level. This allows a decreased viewport at lower zoom levels for better perf. Skip render loops when there are no tiles + more DRY render code. Add tile info box that shows a description of the selected tile. Descriptions are generated in getDescription on Actors. Add UI render layer for selection icons, UI effects, etc. Add selected tile icon and hook it up to selection. Tile selection is still buggy (at higher zoom levels, the tile selection is offset :( * feat: re-enable person entity Add name generator for animals as well as people. Add person back to game. Move repeated lerp functions into misc-utility and standardize param order.
feat - add lighting (#5) * Add light manager to handle global and dynamic lighting In progress. Use rotjs lighting system to add lights to entities and static lights in environment. * feat: QOL fixes + major perf gains Massively reduce the viewport size rendered, hugely increasing perf. Fixes to pinch zoom- now feels better, but still slightly bugs out when zooming in/out at extremes. Auto update pause button based on time-manager.isPaused. Move repeated map key functions to static class on map. Add ids to actors for lookup purposes. Rework dynamic lights- now store them on add, and rerender them each game render if their position has changed. Better lighting effects: Interpolate between current lighting and desired lighting. More reactive entity lighting/reflections. Default light colors defined in light-manager. Hills biome blocks light. Visible day/night cycle. General code cleanup. * fix: resize to gameContainer rather than window * feat: QOL improvements to pan/zoom interactions improved general feel of dragging. Switched from an interval to request animation frame for momentum. Reworked how momentum is calculated. Reworked drag speed calculations.
PreviousNext