Skip to content

dev-tools with dynamically added scenes #2399

Answered by eonarheim
chrisk-7777 asked this question in Q&A
Discussion options

You must be logged in to vote

@chrisk-7777 I'd call this a bug in the dev-tools, it's completely reasonable to add a scene dynamically during the course of a game 👍 The dev-tools should handle new scenes being added.

I think both suggestions are good ways to tackle this, and would support either approaches

  1. Check in the dev-tools update for new scenes periodically, this would be the quickest fix most likely.
  2. Add a Scene sceneadded/sceneremoved event to excalibur that can be listened to in the dev-tools (this event might be a useful feature for excalibur in general!)

Apologies, the dev-tools are definitely a minimum viable product. I'm sure there are more than a few quirks in there.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@chrisk-7777
Comment options

@chrisk-7777
Comment options

@eonarheim
Comment options

@chrisk-7777
Comment options

Answer selected by chrisk-7777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants