Ignition X - autofit error

Monkey Forums/Monkey Programming/Ignition X - autofit error

ombinar(Posted 2014) [#1]
I'm getting this error:

Error : Identifier 'SetVirtualDisplay' not found.

I'm using Ignition X Framework.

----
Import autofit
...

Method OnCreate()
SetVirtualDisplay 500, 500 <<<< ERROR

Thanks.


DruggedBunny(Posted 2014) [#2]
I don't know the reason for the error, but I think you should probably be using Ignition X's own virtual resolution stuff rather than AutoFit -- it has its own virtual resolution functions as I understand it.


Pierrou(Posted 2014) [#3]
Yes you should. An example of how it works can be found here : ...\bananas\playniax\ignitionx\examples_03_the_engine\examples_01_getting_started\examples_02_simple_rendering\example_02_virtual_display .


ombinar(Posted 2014) [#4]
Great! Will definitely use it. Thanks for the quick response.