Skip to content

Tags: seifer8ff/sim-world

Tags

0.2

Toggle 0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

0.1.9.6

Toggle 0.1.9.6's commit message
feat: hook up entities menu

When generating entities, add them to menu.
Add click handler for menu items.
Add camera follow capability for actors.
Add camera centerOn for static points.

0.1.9.5

Toggle 0.1.9.5's commit message
fix: remove all flex styling from sidebar

0.1.9.4

Toggle 0.1.9.4's commit message
feat: collapse side panel on pan

collapse on drag.
show drag handle at all time.
click drag handle to toggle side menu.

0.1.9.3

Toggle 0.1.9.3's commit message
feat: hide side panel on pan

0.1.9.2

Toggle 0.1.9.2's commit message
fix: another fix attempt for safari flexbox issues

0.1.9.1

Toggle 0.1.9.1's commit message
Merge branch 'master' of https://github.com/seifer8ff/sim-world

0.1.9

Toggle 0.1.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

0.1.8.9.8

Toggle 0.1.8.9.8's commit message
fix: webpack import

0.1.8.9.7

Toggle 0.1.8.9.7's commit message
fix: missing webpack import