Package com.sertaogames.terremoto

Source Code of com.sertaogames.terremoto.TerremotoApplication

package com.sertaogames.terremoto;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.sertaogames.cactus2d.Cactus2DApplication;
import com.sertaogames.terremoto.component.DragAndDropComponent;
import com.sertaogames.terremoto.level.SplashLevel;

/**
* Responsible class for initial configure zoom and game load
* @author Jader
*
*/
public class TerremotoApplication {
 
  public static String fontName = "cueva";

  public static void main(String[] args) {
    /**Resolution 1*/
    int width = 450;
    int height = 753;
    /**Resolution 2*/
    width = 360;
    height = 615;
   
    /**Camera zoom definition*/
    Cactus2DApplication.cameraZoom = 600f/width;
   
    /**Init game with splashs*/
    Cactus2DApplication game = new Cactus2DApplication();
    game.loadLevel(new SplashLevel());

    /**Create window of the game*/
    new LwjglApplication(game, "Terremoto", width, height, false);
   
  }
}
TOP

Related Classes of com.sertaogames.terremoto.TerremotoApplication

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.