• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Snippet] TextBar

Wait, you are using long ones ? :ogre_hurrhurr:

Yush :ogre_datass:
If you would look at my Atomic Bomb spell in the Spells section, you'd notice how I use meaningful names everywhere :p
Advanced Streak System is an excellent example for that too (Super long names like killingPlayerId, killingName, dyingName, etc...


I don't like underscores at all D:
I don't know what you people see in them D:
 
I initially thought that the power of 2 idea was good, but then I saw this

set bar_p = color_p.apply(bars[R2I(width_p*percent_p + .5)]) + Color.convert(0, 0, 0, 0) + bars[R2I(width_p*(1 - percent_p) + .5)] + "|r"

Remember, the bars are colored and are split (colored portion + blank portion, like health bar with one portion empty and one portion filled). With power of 2, you'd be up to the exact same amount of leaks with substrings in the worst case scenario with worse performance and less accuracy.

I think that it's fine as is and is ready for approval.
 
Top