Ejemplo n.º 1
0
    void Start()
    {
        FutileParams fparams = new FutileParams(true,true,false,false);
        fparams.AddResolutionLevel(480.0f, 1.0f, 1.0f, "");
        fparams.origin = new Vector2(0.5f, 0.5f);

        Futile.instance.Init(fparams);

        Futile.atlasManager.LoadAtlas("Atlases/simple");

        game = new PDGame();
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        FutileParams fparams = new FutileParams(true, true, true, true);

        fparams.AddResolutionLevel(480.0f, 1.0f, 1.0f, "");
        fparams.origin = new Vector2(0.5f, 0.5f);
        Futile.instance.Init(fparams);

        Futile.atlasManager.LoadAtlas("Atlases/PongDemo");

        game = new PDGame();
    }