Package ponkOut.graphics

Examples of ponkOut.graphics.Color


  @Override
  public void init() {
    Lighting.init();
    Camera.init(new Vector3f(0.0f, 0.0f, posZ));

    cursor = new Cursor(new Color(0.4f, 0.5f, 1.0f), new Color(0.7f, 0.6f, 1.0f), 0.0f, 4.5f, -19.5f, 0.5f,
        goManager);
  }
View Full Code Here


    GameGraphicsObjectsManager.init();
    Font.init();
    Skybox.init();
    Lighting.init();

    cursor = new Cursor(new Color(0.4f, 0.5f, 1.0f), new Color(0.7f, 0.6f, 1.0f), -8.0f, -6.5f, -19.5f, 0.5f,
        goManager);

    rotateLeft();
  }
View Full Code Here

    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");
    newText("Christian Matt");

    newCaption("GRAPHICS");
    newText("Christian Matt");

    moveText(30.0f);

    new Sprite(TextureManager.getInstance().getTexture("logos.tga"), new Color(1.0f, 1.0f, 1.0f, 0.8f),
        new Vector3f(-40.0f, textPosY, textPosZ), 80.0f, 40.0f, 0.0f, 1.0f, 0.5f, 1.0f, -45.0f, 0.0f, 0.0f,
        goManager);
  }
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.Color

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.