Package ponkOut.graphics

Examples of ponkOut.graphics.HUDText


    goManager = new GraphicsObjectsManager();
    inputManager = InputManager.getInstance();
    currentState = new MenuState(this, null);
    currentState.init();

    fpsText = new HUDText("", 10.0f, 0.8f, 0.8f, 1.0f, 0.9f, new Vector2f(1.0f, 1.0f), showFPS, goManager);

    // use Gaussian function for weighting
    float sum = 0.0f;
    for (int i = 0; i < SMOOTHING_COUNT; ++i) {
      double x = i / (SMOOTHING_COUNT - 1.0);
View Full Code Here


    entityManager = EntityManager.getInstance();
    goManager = new GameGraphicsObjectsManager();

    paused = false;
    pauseText = new HUDText("Pause", 50.0f, 0.8f, 0.8f, 1.0f, 0.5f, false, goManager);
    anyKeyText = new HUDText("(press Escape to quit or any other key to continue)", 12.0f, 0.8f, 0.8f, 1.0f, 1.0f,
        false, goManager);
    anyKeyText.translate(0.0f, -50.0f);

    new Map(goManager);
  }
View Full Code Here

TOP

Related Classes of ponkOut.graphics.HUDText

Copyright © 2018 www.massapicom. 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.