mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
raea-runtime-appscreen opens each app screen's module on a BlitzPage of its own at the screen's size, on the shared device, with the CSS its modules import and Tailwind's for its folder (or an exported game's prebuilt X.tsx.surface.js and .surface.css). It is stepped once a frame: the input route() gave it as Blitz's pointer, wheel and key events, then one update that runs its JS on the frame's clock, and paints; the draw's later updates while faces load only paint. runtime/page's sync steps every app screen (screen.rs step_all, at at_frame's frame in a render and set_app_frame's in live play) instead of saying it isn't drawn, and its picture goes with the nested screens' (screen_textures, frame_all) to Engine::copy_screen or set_screen_picture.
35 lines
1.6 KiB
TOML
35 lines
1.6 KiB
TOML
[package]
|
|
name = "raea-runtime-page"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "A composition's page in Bevy: React's elements laid out and painted on Blitz (BevyPage, WorldPagePlugin), its app screens and a take's face track, and RaeaPlugin, raea in any Bevy App"
|
|
|
|
[dependencies]
|
|
raea-runtime-view = { path = "../view" }
|
|
raea-runtime-appscreen = { path = "../appscreen" }
|
|
raea-sys-frame = { path = "../../systems/frame" }
|
|
raea-io-assets = { path = "../../io/assets" }
|
|
raea-io-net = { path = "../../io/net" }
|
|
raea-io-home = { path = "../../io/home" }
|
|
raea-runtime-react = { path = "../../runtime/react", default-features = false }
|
|
raea-render = { path = "../../engine/render", default-features = false, features = ["native"] }
|
|
# a <Screen> panel in Bevy's picking (world_input.rs)
|
|
raea-sys-screen = { path = "../../systems/screen" }
|
|
raea-page = { path = "../../engine/page" }
|
|
raea-sys-shader = { path = "../../systems/shader" }
|
|
raea-core-scene = { path = "../../core/scene" }
|
|
raea-sys-page = { path = "../../systems/page" }
|
|
raea-sys-fonts = { path = "../../systems/fonts" }
|
|
raea-sys-image = { path = "../../systems/image" }
|
|
raea-runtime-twins = { path = "../twins" }
|
|
raea-runtime-input = { path = "../input" }
|
|
raea-core-wire = { path = "../../core/wire" }
|
|
raea-io-media = { path = "../../io/media", default-features = false, features = ["soft-audio", "apple"] }
|
|
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app"] }
|
|
image = { version = "0.25", default-features = false, features = ["png", "hdr"] }
|
|
serde_json = "1"
|
|
base64 = "0.22"
|
|
wgpu = "=30.0.1"
|