// Use this for initialization void Start() { // hot hot singleton action instance = this; FutileParams fparams = new FutileParams(true, true, false, false); fparams.AddResolutionLevel(800.0f,1f,1f,""); // *** Uncomment to set origin to bot left //fparams.origin = new Vector2(0,0); Futile.instance.Init (fparams); Futile.atlasManager.LoadAtlas("Atlases/Sprites"); Futile.atlasManager.LoadFont("gamefont", "gamefont.png", "Atlases/gamefont"); rand = new System.Random(System.DateTime.Now.Millisecond); // *** Goes to initial page *** GoToTitlePage(); //GoToDebugRoomPage(); }
// Use this for initialization void Start() { // hot hot singleton action instance = this; FutileParams fparams = new FutileParams(true, true, false, false); fparams.AddResolutionLevel(800.0f, 1f, 1f, ""); // *** Uncomment to set origin to bot left //fparams.origin = new Vector2(0,0); Futile.instance.Init(fparams); Futile.atlasManager.LoadAtlas("Atlases/Sprites"); Futile.atlasManager.LoadFont("gamefont", "gamefont.png", "Atlases/gamefont"); rand = new System.Random(System.DateTime.Now.Millisecond); // *** Goes to initial page *** GoToTitlePage(); //GoToDebugRoomPage(); }