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

Autotype doesn't update BBText hitboxes #5661

Closed
1 task done
VanCastar opened this issue Sep 15, 2023 · 4 comments
Closed
1 task done

Autotype doesn't update BBText hitboxes #5661

VanCastar opened this issue Sep 15, 2023 · 4 comments

Comments

@VanCastar
Copy link

VanCastar commented Sep 15, 2023

Is there an existing issue for this?

Describe the bug

Autotype extension does not update hitboxes of the BBtext object when using defaul contents.
It updates only when the contents are set in the events.

The hitboxes are correct when using normal Text Objects.
For Bitmap Text Objects I haven't tested since I don't have working bitmap fonts available.

This is when using default contents.
image

This is when updateing the text in events.
image

Here's the example file.
TextObjectCollisionTest.zip

Steps to reproduce

Make a BBtext ocjet on the scene.
Add autotype behaviour.
Enter some text into it.
Launch the scene.

GDevelop platform

Desktop

GDevelop version

5.2.172

Platform info

*OS > Windows

*OS Version

10- 64bit

Browser(For Web) (e.g. Chrome, Firefox, Safari)

GDevelop Preview

Additional context

No response

@VanCastar VanCastar changed the title Autotype doesn't update BBTexxt hitboxes Autotype doesn't update BBText hitboxes Sep 15, 2023
@VanCastar
Copy link
Author

Also it doesn't refresh the collision boxes if I re-enter the contents of the BBtext objects with using it's existing contents.
image

@tristanbob
Copy link
Contributor

@VanCastar can you please provide the project files you are using for this? (preferably a super simplified test game)

@VanCastar
Copy link
Author

Here's an example project to showcase all text object types with autotype and their collisions and mouse over test.
TextObjectCollisionTest.zip

@AlexandreSi
Copy link
Collaborator

Fixed by #6385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants