Examples of LevelLoader


Examples of com.googlecode.jumpnevolve.game.Levelloader

   *            Die Subarea-Breite
   * @throws IOException
   */
  public Editor(MainMenu parent, String source, int width, int height,
      int subareaWidth) throws IOException {
    super(new Levelloader(source), width, height, subareaWidth);

    this.parentMenu = parent;

    this.playerPosition = new PositionMarker(this, "Player",
        PositionMarker.MODUS_BOTH, Vector.ZERO, Color.red);
View Full Code Here

Examples of com.sertaogames.cactus2d.components.LevelLoader

    height = 128;
    TextureRegion[][] tmp = TextureRegion.split(bt, width, height);
    go.transform.getLocalPosition().add(Gdx.graphics.getWidth()/2 - 128 * Cactus2DApplication.invCameraZoom, Gdx.graphics.getHeight()/2 - 64 * Cactus2DApplication.invCameraZoom);
    go.spriteRenderer.gui = true;
    go.AddComponent(new ButtonComponent(tmp[2][0],tmp[2][1]));
    go.AddComponent(new LevelLoader(MainLevel.class));
    go.AddComponent(new AudioComponent("data/sound/click.wav"));
    addGameObject(go);

    go = new GameObject("sound");
    tmp = TextureRegion.split(bt, 128, 128);
View Full Code Here

Examples of com.sertaogames.cactus2d.components.LevelLoader

    subGameObject.transform.getLocalPosition().add(10, 0);
    subGameObject.AddComponent(new SpriteRendererComponent(null));
    subGameObject.spriteRenderer.gui = true;
    subGameObject.AddComponent(new ButtonComponent(tmp[1][0], tmp[1][1]));
    subGameObject.AddComponent(new AudioComponent("data/sound/click.wav"));
    subGameObject.AddComponent(new LevelLoader(MainLevel.class));
    tip.addGameObject(subGameObject);

    subGameObject = new GameObject("Menu");
    subGameObject.transform.getLocalPosition().add(width * 0.35f * Cactus2DApplication.invCameraZoom, 0);
    subGameObject.AddComponent(new SpriteRendererComponent(null));
    subGameObject.spriteRenderer.gui = true;
    subGameObject.AddComponent(new ButtonComponent(tmp[0][6], tmp[0][7]));
    subGameObject.AddComponent(new AudioComponent("data/sound/click.wav"));
    subGameObject.AddComponent(new LevelLoader(MenuLevel.class));
    tip.addGameObject(subGameObject);
   

    l.alignment = HAlignment.CENTER;
    label.AddComponent(l);
View Full Code Here

Examples of com.sertaogames.cactus2d.components.LevelLoader

    /** Aqui dizemos que o game object faz parte da GUI */
    sr.gui = true;
   
    /** Aqui incluimos os componentes que representam comportamentos*/
    go.AddComponent(new SplashTouch()); // Torna o level toc�vel
    go.AddComponent(new LevelLoader(MenuLevel.class));// Ao fim deste l�vel, cassega o pr�ximo
    addGameObject(go);// Adciona o game object ao level
    }
View Full Code Here
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.