Package ponkOut.graphics

Examples of ponkOut.graphics.WorldText


    goManager = new GraphicsObjectsManager();

    scrollPos = 0.0f;

    WorldText ponkOutText = new WorldText("PonkOut", 15.0f, new Color(0.8f, 0.8f, 1.0f, 0.8f), new Vector3f(0.0f,
        0.0f, -150.0f), -45.0f, 0.0f, 0.0f, goManager);
    ponkOutText.translate(-0.5f * ponkOutText.getWidth(), 0.0f, 0.0f);

    textPosY = -40.0f;
    textPosZ = -130.0f;

    newCaption("PROGRAMMING");
View Full Code Here


  }

  private void newCaption(String text) {
    moveText(20.0f);

    WorldText item = new WorldText(text, 8.0f, new Color(0.8f, 0.8f, 1.0f, 0.8f), new Vector3f(0.0f, textPosY,
        textPosZ), -45.0f, 0.0f, 0.0f, goManager);
    item.translate(-0.5f * item.getWidth(), 0.0f, 0.0f);

    moveText(20.0f);
  }
View Full Code Here

    moveText(20.0f);
  }

  private void newText(String text) {
    WorldText item = new WorldText(text, 5.0f, new Color(0.8f, 0.8f, 1.0f, 0.8f), new Vector3f(0.0f, textPosY,
        textPosZ), -45.0f, 0.0f, 0.0f, goManager);
    item.translate(-0.5f * item.getWidth(), 0.0f, 0.0f);

    moveText(10.0f);
  }
View Full Code Here

TOP

Related Classes of ponkOut.graphics.WorldText

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.