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

Numerical Health display not updating. #29

Closed
jsmunster opened this issue Aug 22, 2015 · 2 comments · Fixed by #39
Closed

Numerical Health display not updating. #29

jsmunster opened this issue Aug 22, 2015 · 2 comments · Fixed by #39

Comments

@jsmunster
Copy link
Collaborator

Numerical health display in the hud at the upper left corner is not updating correctly, but the health BAR is. Maybe. Sort of.

@vulpineblaze
Copy link
Owner

@jsmunster found an unrelated bug:

if Unity fails to find a component in child in and Update loop (eg I deleted SecondaryWeaponScript from blue_turret but not from PlayerScript) if simply fails the script - no code below that point is run.

@vulpineblaze
Copy link
Owner

numerical health display and health bar show correct values.

Some of the errors found:

  • size was 60, increased to 120 to show all text
  • health was int, but needed float for laser damage; zero would null the division

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

Successfully merging a pull request may close this issue.

2 participants