Gauge and updater

edited April 2016 in Mechanic's Corner
Would anyone be willing to share a gauge and a updater with me. I just need the format and stuff so I can build from that or if you know a website that can help me that would be really helpful.

Comments

  • AeldraAeldra , using cake powered flight
    edited April 2016
    from http://wiki.mudlet.org/w/Manual:Geyser

     hpbar = Geyser.Gauge:new({
     name="hpbar",
      x="50%", y="85%",
      width="45%", height="5%",
    })
    hpbar:setValue(math.random(1,100),100)


    There's fancy stuffs how you can make them look nice and all that, if you poke around the manual too,
    but that's like how you do a basic gauge. There's ways to make them go up vertical instead of horizontal
    too.

    Avatar / Picture done by the lovely Gurashi.
  • Thank you
  • edited April 2016
    You need to do something with the orientation to make it vertical or horizontal
Sign In or Register to comment.