RPG UI-HEALTH ORBS PACK


RPG UI Orbs is a collection of high-quality fantasy-style UI elements designed for RPG, adventure, and dark fantasy games.


by Game HUB


Price History +

RPG ORBS - LIQUID HEALTH ORBS


1. Create a UI > Image on a Canvas or create game object and add component sprite Renderer.

2.  Drag any material from Materials/ onto its Material slot.

3. Press Play. The orb fills, holds, drains and repeats on its own.

Keep the Image square. The globe is a circle inscribed in its rect, so unequal width and height render an ellipse. Prefabs/ contains ready-made orb-and-frame combinations in two styles.


Orb.shader and SpriteFrame.shader each contain two SubShaders: one tagged for the Universal pipeline and one untagged for Built-in. Both are written in CG against UnityCG.cginc, which ships with the engine rather than a package, so neither takes a dependency that could go missing when you switch pipeline.

HDRP: a variant exists at Shaders/HDRP~/Orb_HDRP.shader. To try it, rename the folder from "HDRP~" to "HDRP" (the trailing ~ is what makes Unity ignore it) and assign the "VFXPack/Health Orb (HDRP)" shader to your materials. This variant has NOT been confirmed rendering, and there is no HDRP version of the frame sprite shader, so the frames will not draw. Treat HDRP as a starting point rather than supported.


DRIVING THE FILL FROM GAMEPLAY

By default the orb loops on its own. For a real health bar, tick "Manual Fill" on the material and set the _Fill property from script: material.SetFloat("_Fill", health / maxHealth);. A complete OrbFill component, including the CanvasRenderer caveat that UI. Graphics ignore MaterialPropertyBlocks, is listed in README.md.