💬

Community answer

Collected from the ACE community Discord archive around 2022-05-18. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Per-element colors on a HUD without spamming setColor

🖼️ RenderingUpdated 2 days ago•0 views
Write a common draw function that calls render.setColor internally per element (EGP-style element system) rather than spamming setColor at call sites.

How to assign colors to individual HUD elements cleanly

Write a common draw function that calls render.setColor internally per element (EGP-style element system) rather than spamming setColor at call sites.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.