Questions about lua scripting in Spring
Posted: 28 Mar 2009, 12:42
1) There is SetCameraOffset(). Is there GetCameraOffset()?
2) Can i access to Spring window properties? I need to store & restore its left corner position. Or should it be done in the engine?
3) How can i get screen (dektop) resolution? Don't mess with the game resolution cause i can run the game in windowed mode. I see many widgets which uses constant 0.75 to make a proportional scale in Y-axis. This is false in 1280x1024 resolution.
2) Can i access to Spring window properties? I need to store & restore its left corner position. Or should it be done in the engine?
3) How can i get screen (dektop) resolution? Don't mess with the game resolution cause i can run the game in windowed mode. I see many widgets which uses constant 0.75 to make a proportional scale in Y-axis. This is false in 1280x1024 resolution.