It looks like you're new here. If you want to get involved, click one of these buttons!
--print(application:get("help")) --[[ Accepted value for Desktop's application:get() - [x,y] windowPosition - [w,h] windowSize - [w,h] screenSize - [x,y] cursorPosition - [text] clipboard - [text] windowTitle - [path] directory(where//help) - [path] openDirectoryDialog(title|path//help) - [path] openFileDialog(title|path|extensions//help) - [path] saveFileDialog(title|path|extensions//help) - [path] documentDirectory - [path] temporaryDirectory 0 ]] local x, y = application:get("windowPosition") print(x,y) -- 0, nil ??? print(application:get("windowPosition")) -- 0 ??? print(application:get("windowSize"), application:get("screenSize")) -- 0, 0 ??? application:set("windowPosition", 64, 64) -- THIS WORKS :-) |
Comments
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
How would you center your game in the middle of the screen, please?
This is a test app that tries to implement it http://forum.giderosmobile.com/discussion/comment/61884/#Comment_61884
By default the game position is 0,0 which is not professional