Skip to content

Commit

Permalink
feature: reflect by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchantey committed Nov 29, 2024
1 parent 33296ed commit f68b9c7
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 42,143 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ docs/book
out.txt
rustc-ice*

scenes

.env
8 changes: 0 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ beet_examples = { path = "crates/beet_examples", version = "0.0.4-rc.4" }
emby = { path = "crates/emby", version = "0.0.4-rc.4" }

## local
beetmash = { version = "0.0.6-rc.8" }
forky = { version = "0.2.0-rc.8", features = [
"bevy",
"web",
] }
beetmash = { version = "0.0.6-rc.8", path = "../beetmash" }
forky = { version = "0.2.0-rc.8", features = ["bevy", "web"] }
sweet = { version = "0.2.0-rc.5", features = ["bevy"] }

#💡 game
Expand Down Expand Up @@ -116,10 +113,9 @@ keywords.workspace = true
categories.workspace = true

[features]
default = ["ml", "animation", "assets", "ui", "beetmash"]
default = ["ml", "animation", "assets", "ui", "beetmash", "reflect"]
ml = ["dep:beet_ml"]
# this is on by default, do we need to re-expose it?
# reflect = ["beet_flow/reflect"]
reflect = ["beet_flow/reflect"]
beetmash = ["dep:beetmash"]
animation = ["beet_spatial/animation"]
assets = ["beet_spatial/assets"]
Expand Down
35 changes: 19 additions & 16 deletions crates/beet_flow/src/lifecycle/lifecycle_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,26 @@ impl Plugin for LifecyclePlugin {
RunOnRunResult,
RunOnSceneReady,
)>::default(),
// other actions
// repeat flow
ActionPlugin::<(
EmptyAction,
RunTimer,
LogOnRun,
RepeatFlow,
InsertOnRun<RepeatFlow>,
RemoveOnRun<RepeatFlow>,
InsertOnRunResult<RepeatFlow>,
RemoveOnRunResult<RepeatFlow>,
SequenceFlow,
FallbackFlow,
ParallelFlow,
ScoreFlow,
ScoreProvider,
RunOnSpawn,
)>::default()
RepeatFlow,
InsertOnRun<RepeatFlow>,
RemoveOnRun<RepeatFlow>,
InsertOnRunResult<RepeatFlow>,
RemoveOnRunResult<RepeatFlow>,
)>::default(),
// misc
ActionPlugin::<(
EmptyAction,
RunTimer,
LogOnRun,
SequenceFlow,
FallbackFlow,
ParallelFlow,
ScoreFlow,
ScoreProvider,
RunOnSpawn,
)>::default()
))
// observers
.register_type::<ContinueRun>()
Expand Down
4 changes: 0 additions & 4 deletions scenes/app-ml.json

This file was deleted.

4 changes: 0 additions & 4 deletions scenes/app.json

This file was deleted.

11 changes: 0 additions & 11 deletions scenes/beet-debug.json

This file was deleted.

257 changes: 0 additions & 257 deletions scenes/fetch-npc.json

This file was deleted.

Loading

0 comments on commit f68b9c7

Please sign in to comment.