Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo pixi.js #1650

Merged
merged 2 commits into from
Dec 20, 2023
Merged

demo pixi.js #1650

merged 2 commits into from
Dec 20, 2023

Conversation

kostmo
Copy link
Member

@kostmo kostmo commented Nov 21, 2023

Towards #1415.

Potential candidate for a web-based world display

Uses pixi.js.

Demo

  1. Run swarm: scripts/play.sh -i scenarios/Fun/horton.yaml --autoplay --speed 6
  2. Visit http://localhost:5357/play.html

@kostmo kostmo changed the base branch from refactor/web-static to main November 22, 2023 05:55
@kostmo kostmo changed the base branch from main to feature/robot-background-passthrough December 17, 2023 00:22
@kostmo kostmo changed the base branch from feature/robot-background-passthrough to refactor/grid-and-colors December 17, 2023 23:23
mergify bot pushed a commit that referenced this pull request Dec 18, 2023
This is in preparation for both #1672 and #1650.

* Added some utility methods for color flattening
* The `Grid` type has a new home in `Area.hs` and now derives more instances
* `getTerrainEntityColor` is extracted from the `getDisplayColor` function
* Add a favicon to silence browser warnings
@kostmo kostmo force-pushed the web/pixijs-demo branch 2 times, most recently from 6896ef0 to 6f11d3a Compare December 19, 2023 00:37
@kostmo kostmo changed the base branch from refactor/grid-and-colors to main December 19, 2023 00:38
@kostmo kostmo force-pushed the web/pixijs-demo branch 2 times, most recently from d4fb8b0 to 186ca04 Compare December 19, 2023 00:47
@kostmo kostmo marked this pull request as ready for review December 19, 2023 00:49
@kostmo kostmo requested a review from byorgey December 19, 2023 00:49
src/swarm-util/Swarm/Util/OccurrenceEncoder.hs Outdated Show resolved Hide resolved
web/play.html Show resolved Hide resolved
@kostmo kostmo added the merge me Trigger the merge process of the Pull request. label Dec 20, 2023
@mergify mergify bot merged commit 358e60b into main Dec 20, 2023
9 checks passed
@mergify mergify bot deleted the web/pixijs-demo branch December 20, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants