From 01f4c6a4063cc3976644dfebe0aeb6447df96891 Mon Sep 17 00:00:00 2001 From: Peter Hayman Date: Wed, 18 Dec 2024 20:00:44 +1100 Subject: [PATCH] patch --- Cargo.toml | 31 +++++++++++-------------------- README.md | 4 ++-- justfile | 6 +++--- 3 files changed, 16 insertions(+), 25 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7ce607c..9f9abf2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,10 +42,7 @@ emby = { path = "crates/emby", version = "0.0.5-rc.1" } ## local bevyhub = { version = "0.0.1-rc.2" } -forky = { version = "0.2", features = [ - "bevy", - "web", -] } +forky = { version = "0.2", features = ["bevy", "web"] } sweet = { version = "0.2", features = ["bevy"] } #💡 game @@ -115,13 +112,7 @@ license.workspace = true keywords.workspace = true categories.workspace = true -include = [ - "CHANGELOG.md", - "README.md", - "/src", - "/examples", - "/scenes", -] +include = ["CHANGELOG.md", "README.md", "/src", "/examples", "/scenes"] [features] default = ["ml", "animation", "assets", "ui", "bevyhub", "reflect"] @@ -264,7 +255,7 @@ path = "scenes/beet-debug.json" [[package.metadata.scene]] name = "hello-world" thumb-text = "🌍" -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/hello-world.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/hello-world.png" description = "A simple behavior that prints 'Hello' then 'World' to the console." app = "app" path = "scenes/hello-world.json" @@ -274,7 +265,7 @@ include = ["beet-debug", "bevyhub/camera-2d", "bevyhub/ui-terminal"] # [[package.metadata.scene]] # name = "flock" # description = "Demonstration of flocking behaviors." -# thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/flock.png" +# thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/flock.png" # app = "app" # path = "scenes/flock.json" # include = ["beet-debug", "bevyhub/camera-2d", "bevyhub/space-scene"] @@ -282,7 +273,7 @@ include = ["beet-debug", "bevyhub/camera-2d", "bevyhub/ui-terminal"] [[package.metadata.scene]] name = "seek" description = "Demonstration of the seek behavior." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/seek.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/seek.png" app = "app" path = "scenes/seek.json" include = ["beet-debug", "bevyhub/camera-2d", "bevyhub/space-scene"] @@ -290,7 +281,7 @@ include = ["beet-debug", "bevyhub/camera-2d", "bevyhub/space-scene"] [[package.metadata.scene]] name = "seek-3d" description = "A 3D demonstration of the seek behavior." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/seek-3d.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/seek-3d.png" app = "app" path = "scenes/seek-3d.json" include = ["beet-debug", "bevyhub/lighting-3d", "bevyhub/ground-3d"] @@ -299,7 +290,7 @@ include = ["beet-debug", "bevyhub/lighting-3d", "bevyhub/ground-3d"] [[package.metadata.scene]] name = "hello-animation" description = "A simple behavior demonstrating animation control." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/hello-animation.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/hello-animation.png" app = "app" path = "scenes/hello-animation.json" include = [ @@ -312,7 +303,7 @@ include = [ [[package.metadata.scene]] name = "hello-ml" description = "A behavior that uses a Sentence Selector to score child behaviors, deciding which will run next." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/hello-llm.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/hello-llm.png" path = "scenes/hello-ml.json" include = ["bevyhub/camera-2d", "bevyhub/ui-terminal", "beet-debug"] @@ -325,7 +316,7 @@ path = "scenes/fetch-scene.json" [[package.metadata.scene]] name = "fetch" description = "Combining LLM, steering and animation behaviors." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/fetch.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/fetch.png" app = "app-ml" path = "scenes/fetch-npc.json" include = [ @@ -346,7 +337,7 @@ path = "scenes/frozen-lake-scene.json" [[package.metadata.scene]] name = "frozen-lake-train" description = "Train a Q-learning agent to navigate the frozen lake environment." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/frozen-lake-run.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/frozen-lake-run.png" app = "app-ml" path = "scenes/frozen-lake-train.json" include = [ @@ -359,7 +350,7 @@ include = [ [[package.metadata.scene]] name = "frozen-lake-run" description = "Use a trained Q-learning agent to navigate the frozen lake environment." -thumb-url = "https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets/screenshots/frozen-lake-run.png" +thumb-url = "https://bevyhub-public.s3.us-west-2.amazonaws.com/assets/screenshots/frozen-lake-run.png" app = "app-ml" path = "scenes/frozen-lake-run.json" include = [ diff --git a/README.md b/README.md index 15cdb7d..8a78f23 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,10 @@ world.spawn(SequenceFlow) The examples for beet are *scene-based*, meaning each example provides a scene for a common base app. As Bevy scene workflows are a wip, there are a few `Placeholder` types used for not-yet-serializable types like cameras, asset handles etc. -Most examples rely on assets that can be downloaded with the following commands, or manually from [here](https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets.tar.gz). +Most examples rely on assets that can be downloaded with the following commands, or manually from [here](https://bevyhub-public.s3.us-west-2.amazonaws.com/assets.tar.gz). ```sh -curl -o ./assets.tar.gz https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets.tar.gz +curl -o ./assets.tar.gz https://bevyhub-public.s3.us-west-2.amazonaws.com/assets.tar.gz tar -xzvf ./assets.tar.gz rm ./assets.tar.gz ``` diff --git a/justfile b/justfile index 585853f..b387a36 100644 --- a/justfile +++ b/justfile @@ -151,13 +151,13 @@ watch-web *command: -- {{command}} assets-push: - aws s3 sync ./assets s3://bevyhub-crate-assets/assets --delete + aws s3 sync ./assets s3://bevyhub-public/assets --delete tar -czvf ./assets.tar.gz ./assets - aws s3 cp ./assets.tar.gz s3://bevyhub-crate-assets/assets.tar.gz + aws s3 cp ./assets.tar.gz s3://bevyhub-public/assets.tar.gz rm ./assets.tar.gz assets-pull: - curl -o ./assets.tar.gz https://bevyhub-crate-assets.s3.us-west-2.amazonaws.com/assets.tar.gz + curl -o ./assets.tar.gz https://bevyhub-public.s3.us-west-2.amazonaws.com/assets.tar.gz tar -xzvf ./assets.tar.gz rm ./assets.tar.gz