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

[TiledUnitsBar] Empty units are not displayed correctly after increasing the MaxValue in an event #1173

Open
1 task done
tristanbob opened this issue Feb 17, 2024 · 0 comments
Labels
⚠ Issue with an extension An issue with an extension that is already on the extension store

Comments

@tristanbob
Copy link
Contributor

tristanbob commented Feb 17, 2024

Is there an existing issue for this?

Enter the name of the extension

TiledUnitsBar

Describe the bug of the extension

Empty units are not displayed correctly after increasing the MaxValue in an event.

image

image

Steps to reproduce

  1. Create a heart unit bar object and place an instance on the scene
  2. Create an event to increase the MaxValue to 5 (default is 3)
  3. Preview the game, and notice 3 full hearts are showing and 0 empty hearts (there should be 2)

I did confirm that the MaxValue is changed, because I cannot increase the value above the new MaxValue.
The issue has something to do with drawing the unfilled hearts.

GDevelop platform

Desktop

GDevelop version

5.3.189

Platform info

Windows 11

Additional context

No response

@tristanbob tristanbob added the ⚠ Issue with an extension An issue with an extension that is already on the extension store label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠ Issue with an extension An issue with an extension that is already on the extension store
Projects
None yet
Development

No branches or pull requests

1 participant