This is for the love2d engine. Works with the latest version. Look at my intro to software project for some examples on how to use this
3 lines
80 B
Plaintext
3 lines
80 B
Plaintext
function gui:centerY()
|
|
self:SetDualDim(nil,-(self.height/2),nil,nil,nil,.5)
|
|
end |