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

Health Bar #6

Closed
5 tasks done
Dani-2399 opened this issue May 24, 2019 · 2 comments
Closed
5 tasks done

Health Bar #6

Dani-2399 opened this issue May 24, 2019 · 2 comments
Labels
✨ New extension A new extension

Comments

@Dani-2399
Copy link

Dani-2399 commented May 24, 2019

Describe the extension

Function: health bar system, which replaces the following conditions and actions:




imagen



It is important to create a variable with the name life to store the value of life, if you are going to change the name the variable is important also to do it in the configuration of the function as shown in the image:




imagen




imagen




it is also important to put the width of the spr to the value of the variable or vice versa



screenshots






imagen




imagen




imagen

Checklist

  • Extension has a proper name and description.
  • Extension has tags (for example: "platform, brick, breakable").
  • All behaviors have a description.
  • All functions (actions, conditions, expressions) have descriptions.
  • I confirm that this extension can be intergrated to this GitHub repository, distributed and MIT licensed.

Extension file

Health Bar.zip

@Dani-2399 Dani-2399 added the ✨ New extension A new extension label May 24, 2019
@Dani-2399 Dani-2399 changed the title New extension Health Bar May 24, 2019
@arthuro555
Copy link
Member

Sorry for the late and negative answer: I am afraid this extension will have to be rejected, as it is way too specific and unflexible.

@Bouh
Copy link
Contributor

Bouh commented Jun 30, 2021

I agree it's not flexible as you said.
I think another new extension can do the trick, with a Shape painter object as a requirement the Health Bar can be added on an object with behavior or with action on instances.
And this way all the variables remain internally to the extension.

@Bouh Bouh closed this as completed Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

No branches or pull requests

3 participants