-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Character InteractionPolygon is reset when reloading Aseprite file or running game #158
Comments
I was able to get around this issue by manually editing the Character tscn file in a text editor. It looks like the InteractionPolygon array of points is declared twice in the file, and unless you edit them both to be the correct value, the InteractionPolygon defaults to the small square.
Maybe there is a way to reference the InteractionPolygon in the Character node instead of duplicating it - then there would be a single source of truth. |
Will be fixed with #163 |
* Fixes for #159 and #160 Improve behavior of all GUI templates for items use. [upd] Use Mono font for Label in GUI copy progress popup. [fix] Validate existance of avatars to fix Portrait component. [fix] Now item use fallback is handled by the commands script of each GUI template. * Fix #158 Ignore the polygon assignation process when editing a PopochiuClickable from its .tscn file, or when it is a PopochiuCharacter. * Fix #162 Now the copy process text is shown inside the Setup popup. [fea] Also adds an Output message to inform the copy process is completed. [upd] Style of slots in 9 Verb GUI wasn't correct. [fix] Update script templates so the method _on_item_used calls E.command_fallback(). * Update message with potential misunderstanding Cambridge dictionary says that: an assignation is a meeting that is secret or not allowed, especially one between two people having a romantic relationship. Co-authored-by: Paolo Pustorino <[email protected]> * Use a progress bar to show GUI template process Update code to follow suggestions made by @stickgrinder . * Update style of copy progress panel to match the engine theme --------- Co-authored-by: Paolo Pustorino <[email protected]>
Bug description
When importing a Character via Aseprite, the InteractionPolygon is reset to a default value. This causes the interaction area for a character to be the default small square in the middle of their sprite. This does not happen for other import types like Props in a Room.
I can see this happening by running
git diff
on the Character tscn after reloading Import or running the game and seeing the polygon coordinates have changed.Steps to reproduce
Steps to reproduce the behavior:
Expected vs observed behavior
I expected the InteractionPolygon would be what I set in the Character scene, but it is instead the small default square.
Environment information (please complete):
Additional context
I only noticed this when moving to new Aseprite import workflow for Characters, so maybe the problem is in the import code. Previous Characters created without Aseprite import have correct InteractionPolygon boxes in Rooms.
The text was updated successfully, but these errors were encountered: