Treasure Trove: Coins, Hearts and Power-Up Pickups Kit
README.md
PickupHUD
A simple on-screen counter for the local player, in five styles that match the looks: cartoon, scifi, fantasy, pixel and realistic. It shows:
- your counters (
counters, or coins plus anything above 0); - the letters of a
word, which light up as they are collected; - running power-ups with their time left;
- with more than one player, everyone's coins.
Every peer draws its own, so put it on a plain local entity: entity.spawn("HUD").component.add("pickupsKit.PickupHUD", { style = "pixel", word = "ZERO" }). Changing style restyles it at once.