Skip to content

Commit

Permalink
Add hosting settings for sample games (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierd authored Dec 7, 2023
1 parent dc6739b commit e891047
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guest/rust/packages/games/arkanoid/ambient.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ type = "Game"
content = { type = "Playable" }
ambient_version = "0.3.2-nightly-2023-12-06"

[hosting]
region = "Auto"
max_players = 1

[components]
player_movement_direction = { type = "F32", name = "Player Movement Direction", description = "Direction of player movement" }
track_audio_url = { type = "String", name = "Track Audio URL", description = "URL of the track audio", attributes = [
Expand Down
4 changes: 4 additions & 0 deletions guest/rust/packages/games/minigolf/ambient.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ type = "Game"
content = { type = "Playable" }
ambient_version = "0.3.2-nightly-2023-12-06"

[hosting]
region = "Auto"
max_players = 10

[dependencies]
hide_cursor = { path = "../../std/hide_cursor", deployment = "54Um9Jiw3zR4fLIL6vP34e" }

Expand Down
4 changes: 4 additions & 0 deletions guest/rust/packages/games/pong/ambient.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ type = "Game"
content = { type = "Playable" }
ambient_version = "0.3.2-nightly-2023-12-06"

[hosting]
region = "Auto"
max_players = 2

[components]
player_movement_direction = { type = "F32", name = "Player Movement Direction", description = "Direction of player movement" }
track_audio_url = { type = "String", name = "Track Audio URL", description = "URL of the track audio", attributes = [
Expand Down
4 changes: 4 additions & 0 deletions guest/rust/packages/games/tangent/ambient.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ content = { type = "Playable" }
ambient_version = "0.3.2-nightly-2023-12-06"
authors = ["philpax"]

[hosting]
region = "Auto"
max_players = 10

[dependencies]
hide_cursor = { path = "../../std/hide_cursor", deployment = "54Um9Jiw3zR4fLIL6vP34e", enabled = true }

Expand Down
4 changes: 4 additions & 0 deletions guest/rust/packages/games/tictactoe/ambient.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ type = "Game"
content = { type = "Playable" }
ambient_version = "0.3.2-nightly-2023-12-06"

[hosting]
region = "Auto"
max_players = 2

[components]
cells = { type = { type = "Vec", element_type = "EntityId" }, name = "Cells", description = "The cells in the game", attributes = [
"Debuggable",
Expand Down

0 comments on commit e891047

Please sign in to comment.