monarch-screen-setup

Organize Defold screens and popups with Monarch registry conventions.

11|Updated Oct 10, 2024
One-click install
npx skills add https://github.com/selimanac/defold-daabbcc3d --skill monarch-screen-setup
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: monarch-screen-setup
Source: https://github.com/selimanac/defold-daabbcc3d/tree/main/.agents/skills/monarch-screen-setup
Command: npx skills add https://github.com/selimanac/defold-daabbcc3d --skill monarch-screen-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guidance helps Defold developers organize screens and popups using the Monarch library, ensuring consistent registration, naming, and navigation patterns across a project.

Core Features & Use Cases

  • Screen and popup management with collectionproxy and collectionfactory, ensuring only one screen is active at a time and popups stack correctly.
  • Clear naming and registration conventions to avoid id collisions in Monarch's global registry.
  • Practical layout guidance for embedding screens and popups in a Defold project, plus safe startup sequencing.

Quick Start

Wire screens and popups per the Monarch guide, ensure all screens are registered before first display, and run the project to see the initial screen.

Frequently Asked Questions about monarch-screen-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize Defold screens and popups using Monarch?β–Ό

To organize Defold screens and popups with Monarch, apply consistent naming and registration conventions across a shared global registry. This approach enforces directory layouts, registration flows, and stack-based transitions to ensure correct navigation.

How does Monarch handle popup stacking and screen transitions in Defold?β–Ό

Monarch handles popup stacking and screen transitions using collectionproxy and collectionfactory components. It ensures only one screen is active at a time while managing runtime show and close semantics for stacked popups.

Why do I get id collisions when registering screens in Defold Monarch?β–Ό

Id collisions in Defold Monarch occur when screen and popup registration lacks consistent naming conventions. This skill prevents collisions by enforcing a clear registration flow and naming standards within Monarch's global registry.

What is the best way to manage collectionproxy screens in a Defold project?β–Ό

The best way to manage collectionproxy screens in Defold is using Monarch with a shared registry. This skill defines the registration flow and startup sequencing needed to safely display initial screens and handle navigation.

Do I need to register all Defold screens before displaying the first Monarch screen?β–Ό

Yes, all Defold screens must be registered in the Monarch registry before the first display. This skill provides safe startup sequencing guidance to ensure screens and popups are wired correctly before runtime navigation begins.