I've been using zmud/cmud for years on my mac with parallels. been looking out for a good mac client.
Unfortunately, i can't for the life of me, understand how it works. But, i'd like to learn. So, please bear with me.
So, i'm trying to capture my health, spellpoints etc into a createMiniConsole.
Code: Select all
font_size = 13
local x, y = calcFontSize( font_size )
createMiniConsole("StatusBar",0,0,0,0)
setMiniConsoleFontSize("StatusBar", font_size)
resizeWindow( "StatusBar", x*175, y*1.5 )
setBackgroundColor("StatusBar",255,0,0,0)
I don't want a gauge, so for starters, i have this.
Code: Select all
cecho ( "StatusBar", "<green>Hp: [" .. hpCur .. "/" .. hpMax.. "] <white>Sp: [" .. spCur .. "/" .. spMax .. "]" )
Is this the right/best way to do it? Any suggestions?
Oh, and instead of having it at the top of the screen, how do i make it such that its at the bottom and doesn't block the text.
Also, i got this from the Mudlet Manual
Code: Select all
function resizeEvent( event, x, y )
echo("RESIZE EVENT: event="..event.." x="..x.." y="..y.."\n")
end
Thanks