Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philpax committed May 5, 2023
1 parent fe8aa78 commit 0863875
Show file tree
Hide file tree
Showing 44 changed files with 373 additions and 369 deletions.
126 changes: 63 additions & 63 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = ["crates/*", "libs/*", "shared_crates/*", "app", "campfire"]
resolver = "2"

[workspace.package]
version = "0.2.0-rc9"
version = "0.2.0"
rust-version = "1.67.0"

[workspace.dependencies]
Expand Down
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For alternative installation options, go to the [documentation on installing](ht
| Decals || |
| GPU culling and LoD || |
| Multi-platform || Windows, Mac, and Linux so far. x86-64 and ARM64 are actively supported; other platforms may also work, but require testing. |
| Audio || Load sound, playback, looping, scale amp are supported. More featues on the way. |
| Audio || Load sound, playback, looping, scale amp are supported. More featues on the way. |
| Run on Web | 🚧 | See [this issue](https://github.com/AmbientRun/Ambient/issues/151). |
| Multithreading API | 🚧 | Multithreading is already used internally, but we want to expose multithreading functionality within the WASM API. This may be explicit (i.e. task- or thread-spawning) or implicit (WASM modules being scheduled across threads). |
| Custom shaders | 🚧 | Custom shaders are supported by the renderer, but are not yet exposed in the API. See [this issue](https://github.com/AmbientRun/Ambient/issues/98). |
Expand All @@ -58,17 +58,21 @@ For alternative installation options, go to the [documentation on installing](ht

Each example in the [examples](./guest/rust/examples/) directory can be run with Ambient as both client and server:

- `cd guest/rust/examples/tictactoe`
- `ambient run`
```
ambient run guest/rust/examples/games/tictactoe
```

Every example can also be run server-only. To do so:

- `cd guest/rust/examples/tictactoe`
- `ambient serve`
```
ambient serve guest/rust/examples/games/tictactoe
```

This will start a server that other people, including yourself, can join (assuming that ports 8999 and 9000 are forwarded):
This will start a server that other people, including yourself, can join. By default, the server will use the Ambient proxy to allow clients to join from outside your local network, and give you a URL to share with others:

- `ambient join [IP_OF_SERVER]`
```
ambient join proxy-eu.ambient.run:9176
```

Note that content is always streamed, so the only thing the joining user requires is Ambient itself to join the session.

Expand Down
10 changes: 5 additions & 5 deletions crates/animation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys", version = "0.2.0-rc9" }
ambient_model = { path = "../model" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys", version = "0.2.0" }
ambient_model = { path = "../model" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
glam = { workspace = true }
ordered-float = { workspace = true }
serde = { workspace = true }
Expand Down
26 changes: 13 additions & 13 deletions crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_gizmos = { path = "../gizmos" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_cameras = { path = "../cameras" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_input = { path = "../input" , version = "0.2.0-rc9" }
ambient_model = { path = "../model" , version = "0.2.0-rc9" }
ambient_animation = { path = "../animation" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_gizmos = { path = "../gizmos" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
ambient_cameras = { path = "../cameras" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
ambient_input = { path = "../input" , version = "0.2.0" }
ambient_model = { path = "../model" , version = "0.2.0" }
ambient_animation = { path = "../animation" , version = "0.2.0" }

ambient_element = { path = "../../shared_crates/element" , version = "0.2.0-rc9" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0" }

winit = { workspace = true }
flume = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/asset_cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys" , version = "0.2.0" }
serde = { workspace = true }
as-any = { workspace = true }
async-trait = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions crates/audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys", version = "0.2.0-rc9" }
ambient_sys = { path = "../sys", version = "0.2.0" }
flume = { workspace = true }
derive_more = { workspace = true }
log = { workspace = true }
Expand All @@ -27,11 +27,11 @@ ordered-float = { workspace = true }
dashmap = { workspace = true }
derivative = { workspace = true }

ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
cpal = "0.14.1"
lewton = "0.10.2"
hound = "3.4.0"
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
serde = { workspace = true, features = ["derive"] }
rand_chacha = "0.3.1"
static_assertions = "1.1"
Expand Down
8 changes: 4 additions & 4 deletions crates/cameras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0" }
winit = { workspace = true }
derive_more = { workspace = true }
glam = { workspace = true }
8 changes: 4 additions & 4 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_sys = { path = "../sys" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }

itertools = { workspace = true }
yaml-rust = { workspace = true }
Expand Down
24 changes: 12 additions & 12 deletions crates/debugger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/AmbientRun/Ambient"

[dependencies]
ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_gizmos = { path = "../gizmos" , version = "0.2.0-rc9" }
ambient_rpc = { path = "../rpc" , version = "0.2.0-rc9" }
ambient_network = { path = "../network" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_gizmos = { path = "../gizmos" , version = "0.2.0" }
ambient_rpc = { path = "../rpc" , version = "0.2.0" }
ambient_network = { path = "../network" , version = "0.2.0" }

ambient_element = { path = "../../shared_crates/element" , version = "0.2.0-rc9" }
ambient_element_component = { path = "../../shared_crates/element_component" , version = "0.2.0-rc9" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0-rc9" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0" }
ambient_element_component = { path = "../../shared_crates/element_component" , version = "0.2.0" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0" }

winit = { workspace = true }
glam = { workspace = true }
Expand Down
16 changes: 8 additions & 8 deletions crates/decals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_asset_cache = { path = "../asset_cache" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_meshes = { path = "../meshes" , version = "0.2.0-rc9" }
ambient_asset_cache = { path = "../asset_cache" , version = "0.2.0" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_meshes = { path = "../meshes" , version = "0.2.0" }
log = { workspace = true }
glam = { workspace = true }

Expand Down
8 changes: 4 additions & 4 deletions crates/ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0-rc9" }
ambient_project_rt = { path = "../../shared_crates/project_rt" , version = "0.2.0-rc9" }
ambient_project_macro = { path = "../project_macro" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0" }
ambient_project_rt = { path = "../../shared_crates/project_rt" , version = "0.2.0" }
ambient_project_macro = { path = "../project_macro" , version = "0.2.0" }

itertools = { workspace = true }
serde = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/ecs_editor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_layout = { path = "../layout" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
ambient_layout = { path = "../layout" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_element = { path = "../../shared_crates/element" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
env_logger = { workspace = true }
itertools = { workspace = true }
glam = { workspace = true }
Expand Down
12 changes: 6 additions & 6 deletions crates/gizmos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_meshes = { path = "../meshes" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_meshes = { path = "../meshes" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
dashmap = { workspace = true }
glam = { workspace = true }
bytemuck = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }

aho-corasick = { workspace = true }
bytemuck = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/input/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ repository = "https://github.com/AmbientRun/Ambient"

[dependencies]
tracing = { workspace = true }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_shared_types = { path = "../../shared_crates/shared_types", features = ["native"] , version = "0.2.0" }
winit = { workspace = true }
glam = { workspace = true }
serde = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions crates/layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_input = { path = "../input" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_input = { path = "../input" , version = "0.2.0" }
glam = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/meshes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
glam = { workspace = true }
serde = { workspace = true }
18 changes: 9 additions & 9 deletions crates/model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ repository = "https://github.com/AmbientRun/Ambient"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ambient_sys = { path = "../sys" , version = "0.2.0-rc9" }
ambient_std = { path = "../std" , version = "0.2.0-rc9" }
ambient_core = { path = "../core" , version = "0.2.0-rc9" }
ambient_ecs = { path = "../ecs" , version = "0.2.0-rc9" }
ambient_renderer = { path = "../renderer" , version = "0.2.0-rc9" }
ambient_meshes = { path = "../meshes" , version = "0.2.0-rc9" }
ambient_gpu = { path = "../gpu" , version = "0.2.0-rc9" }
ambient_editor_derive = { path = "../../shared_crates/editor_derive" , version = "0.2.0-rc9" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0-rc9" }
ambient_sys = { path = "../sys" , version = "0.2.0" }
ambient_std = { path = "../std" , version = "0.2.0" }
ambient_core = { path = "../core" , version = "0.2.0" }
ambient_ecs = { path = "../ecs" , version = "0.2.0" }
ambient_renderer = { path = "../renderer" , version = "0.2.0" }
ambient_meshes = { path = "../meshes" , version = "0.2.0" }
ambient_gpu = { path = "../gpu" , version = "0.2.0" }
ambient_editor_derive = { path = "../../shared_crates/editor_derive" , version = "0.2.0" }
ambient_ui_native = { path = "../ui_native" , version = "0.2.0" }
futures = { workspace = true }
glam = { workspace = true }
itertools = { workspace = true }
Expand Down
Loading

0 comments on commit 0863875

Please sign in to comment.