Hi. I’m completely new to using Urho, and definitely like what I see. But ran into a snag (as tends to inevitable happen)
I want to be able to set up a script so that way the user has some way to toggle fullscreen mode, change resolution, etc.
Tried poking around the editor’s scripts a bit to see if it had that kind of functionality, but could not find anything. In the documentation for the engine class there doesn’t seem to be a way to directly specify these sorts of values. The documentation on engine initialization indicates using the engine’s ParseParameter() method. I’m new to AngleScript, and C++ was never my strong point, so I’m not sure how to correctly set up a VariantMap to feed it. Also, the documentation seems to imply these parameters get used when the engine starts, but can they be used to also work after that, while the engine is running?
Using the commandline options mentioned on the UhroPlayer’s documentation page works fine for starting the editor (and samples) in windowed mode and resizable. But obviously it’s desirable in an actual game to change these settings while it’s running. Wouldn’t mind the editor being able to do that as well.