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

Exported game doesn't shows dialogs #109

Closed
mapedorr opened this issue Dec 2, 2023 · 1 comment
Closed

Exported game doesn't shows dialogs #109

mapedorr opened this issue Dec 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mapedorr
Copy link
Collaborator

mapedorr commented Dec 2, 2023

Bug description

When a project is exported, dialog lines said by characters doesn't appear on screen. Running the game with the console shows various SCRIPT ERROR: Compile Error messages starting by:

SCRIPT ERROR: Parse Error: Could not find type "EditorInterface" in the current scope.

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a game with a room and a character. The character must say something in _on_room_transition_finished().
  2. Export a project (for Windows or Web).
  3. When running the game (from the .exe or in a Web browser) the dialog line won't appear.

Expected vs observed behavior

The game should works as it does in the engine.

Environment information (please complete):

  • OS type and version: Windows 11
  • Godot version: 4.2.stable
  • Plugin version or branch: Alpha 5

Additional context

When exporting the project, the Output shows the following message:

res://addons/popochiu/popochiu_export_plugin.gd:21 - Invalid call. Nonexistent function 'instance' in base 'PackedScene'.

@mapedorr mapedorr added the bug Something isn't working label Dec 2, 2023
@mapedorr mapedorr added this to the v2.0 - alpha 6 milestone Dec 2, 2023
@mapedorr mapedorr self-assigned this Dec 2, 2023
mapedorr added a commit that referenced this issue Dec 2, 2023
Create script to be used by classes used in the Editor to replace the
use of PopochiuUtils.
Update the plugin version to show the proper name for Alpha 6.
Minor UI improvement in node with buttons to select the BaselineHelper
and WalkToPointHelper.
Added comments to methods in PopochiuUtils.
@mapedorr
Copy link
Collaborator Author

mapedorr commented Dec 2, 2023

Fixed in 574c282

@mapedorr mapedorr closed this as completed Dec 2, 2023
mapedorr added a commit that referenced this issue Dec 16, 2023
Create script to be used by classes used in the Editor to replace the
use of PopochiuUtils.
Update the plugin version to show the proper name for Alpha 6.
Minor UI improvement in node with buttons to select the BaselineHelper
and WalkToPointHelper.
Added comments to methods in PopochiuUtils.
mapedorr added a commit that referenced this issue Dec 16, 2023
* Fix #109

Create script to be used by classes used in the Editor to replace the
use of PopochiuUtils.
Update the plugin version to show the proper name for Alpha 6.
Minor UI improvement in node with buttons to select the BaselineHelper
and WalkToPointHelper.
Added comments to methods in PopochiuUtils.

* Set agent_radius to 0 for NavigationPolygon in PopochiuWalkableArea

Godot by default sets it to 10, which makes the polygon to be not fully
used.
Listen EditorUndoRedoManager.history_changed to bake navigation polygons
in all PopochiuWalkableAreas so devs see the changes live without
needing to click the Bake NavigationPolygon button.
Update .gitignore commenting the lines related to the addons folder.

* Add untracked files because .gitignore

* Update plugin version and removed run/main_scene
mapedorr added a commit that referenced this issue Feb 18, 2024
* Fix #109

Create script to be used by classes used in the Editor to replace the
use of PopochiuUtils.
Update the plugin version to show the proper name for Alpha 6.
Minor UI improvement in node with buttons to select the BaselineHelper
and WalkToPointHelper.
Added comments to methods in PopochiuUtils.

* Set agent_radius to 0 for NavigationPolygon in PopochiuWalkableArea

Godot by default sets it to 10, which makes the polygon to be not fully
used.
Listen EditorUndoRedoManager.history_changed to bake navigation polygons
in all PopochiuWalkableAreas so devs see the changes live without
needing to click the Bake NavigationPolygon button.
Update .gitignore commenting the lines related to the addons folder.

* Add untracked files because .gitignore

* Update plugin version and removed run/main_scene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant