Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Clarify that room parent nodes must be of type ESCRoom. #70

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions advanced/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -582,3 +582,13 @@ To make the avatar appear, on any `say` line, append the word "avatar".
.. code-block::

say worker "Get back to work!" avatar


Why isn't my room being drawn?
------------------------------

When you create a room it's important that the parent node of the room scene is
of type `ESCRoom`. If you use a different node type (`Node` for example), this
may result in the room not being drawn. `ESCRoom` nodes have a `visibility`
property that nodes of type `Node` do not - the room transition system relies on
this property to draw the rooms of your game.