1mod content;
6pub mod model;
7mod view;
8
9use ferravex_arcade::{Color, Conf, Meta, window};
10pub use model::Game;
11
12pub const META: Meta = Meta {
14 id: "mosslight",
15 title: "Mosslight",
16 subtitle: "Dungeon crawler",
17 controls: "Arrows Move/Attack | Act Guard/Exit | X Heal | C Burst | 1-3 Relic | Click Move/Use",
18 help: &[
19 "Find each floor's key, then take the stairs down.",
20 "Red tiles strike after your next action. Step out!",
21 "Bursts hit every foe within two tiles, through walls.",
22 "Nothing moves until you act. Hover to preview a move.",
23 ],
24 accent: Color::new(0.55, 0.83, 0.49, 1.),
25};
26fn conf() -> Conf {
27 window(META.title)
28}
29async fn game() {
30 ferravex_arcade::run::<Game>(META).await;
31}
32ferravex_render::game!(conf, game);