lua - Scaling in gideros -
local scaling = application.center application:setscalemode(scaling)
i tried using above code in gideros gives error 'bad argument #1 'setscalemode' (string expected, got nil) @ setscalemode, how can fix ?actually, did not recognise application.center , though according apress lua game development, should.
it seems constants not set (probably bug), can still use values here: http://docs.giderosmobile.com/reference/gideros/application/setscalemode#application:setscalemode
as application:setscalemode("center")
but can set value in gideros studio project properties
Comments
Post a Comment