Example usage for com.badlogic.gdx.graphics OrthographicCamera subclass-usage

List of usage examples for com.badlogic.gdx.graphics OrthographicCamera subclass-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics OrthographicCamera subclass-usage.

Usage

From source file com.badlogic.gdx.tests.utils.ParallaxCamera.java

public class ParallaxCamera extends OrthographicCamera {
    Matrix4 parallaxView = new Matrix4();
    Matrix4 parallaxCombined = new Matrix4();
    Vector3 tmp = new Vector3();
    Vector3 tmp2 = new Vector3();

From source file com.bladecoder.engine.model.SceneCamera.java

public class SceneCamera extends OrthographicCamera implements Serializable {

    private static final float START_SCROLLX = 0.1f;
    private static final float START_SCROLLY = 0.15f;

    // to avoid create new vector when calling getPosition

From source file com.hajnar.GravityShip.GameObjects.GameCamera.java

public class GameCamera extends OrthographicCamera {

    private float playerVelocityBefore; //toto je pre metodu followWithZoom lebo neviem zistit akceleraciu telesa
    private Vector2 cameraTranslation;
    private Vector2 offset;

From source file com.intrepid.nicge.theater.cameras.Camera.java

public class Camera extends OrthographicCamera {
    // ****************************************************************************************
    // Const Fields
    // ****************************************************************************************

    // ****************************************************************************************

From source file com.jameslennon.spacejump.util.ActionCam.java

/**
 * An extension of the {@link OrthographicCamera}
 * <p/>
 * With several helper methods implemented which allows you to have fixed/moving
 * cameras, as well as following a given position.<br>
 * A current core feature is the ability to rumble the camera

From source file com.steelkiwi.patheditor.gdx.Camera.java

public class Camera extends OrthographicCamera {
    private static final float MIN_ZOOM = 0.01f;
    private static final float MAX_ZOOM = 1f;
    private static final float DELTA_ZOOM = 0.01f;

    private int difX, difY;

From source file de.cubicvoxel.openspacebox.ingame.controller.OsbCamera.java

/**
 * @author Maik Becker {@literal <hi@maik.codes>}
 */
public class OsbCamera extends OrthographicCamera implements ChunkManager.DrawableChunksProvider {
    /**
     * The relative speed {@link HasVelocity}-Objects should be tracked.

From source file edu.lehigh.cse.lol.internals.ParallaxCamera.java

/**
 * A custom camera that can supports parallax... this code is based on code
 * taken from the GDX tests
 */
public class ParallaxCamera extends OrthographicCamera {
    /**

From source file es.eucm.ead.engine.utils.InvOrtographicCamera.java

public class InvOrtographicCamera extends OrthographicCamera {

    private final Vector3 tmp = new Vector3();

    public InvOrtographicCamera() {
        //      this.rotate(180);

From source file fr.plafogaj.game.engine.TiledMapOrthographicCamera.java

/**
 * Class which is used for the camera scrolling based on the player.
 * When the player is not in the boxFixed, we scroll the camera.
 * Representation:
 * --------------------------------
 * --------------------------------