Package org.newdawn.slick

Examples of org.newdawn.slick.AppGameContainer


    BlocksThatFall() {
        super("Blocks That Fall");
    }
   
    public static void main(String[] args) throws SlickException {
        AppGameContainer app = new AppGameContainer(new BlocksThatFall());
        app.setDisplayMode(800, 600, false);
        app.setShowFPS(false);
        app.start();
    }
View Full Code Here


  /**
   * @param args
   */
  public static void main(String[] args) {
    try {
      AppGameContainer container = new AppGameContainer(new Main("Tales of Tyrelion"));
      container.setDisplayMode(1152, 864, false);
      container.setShowFPS(false);
      container.setTargetFrameRate(40);
      container.start();
    } catch (SlickException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

View Full Code Here

    }
   
    public static void main(String[] args) {
        try {
            app = new AppGameContainer(new SlickTest("Simple slick game"));
            app.setDisplayMode(640, 480, false);
            app.start();
        } catch(SlickException ex) {
            System.out.println("you dun goofed");
        }
View Full Code Here

   *
   * @param argv The arguments to pass into the test, not used here
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new DoubleClickTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] argv) {
    try {
      // create a new container for our example game. This container
      // just creates a normal native window for rendering OpenGL accelerated
      // elements to
      AppGameContainer container = new AppGameContainer(new Scroller(), 800, 600, false);
      container.start();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments provided to the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new SoundPositionTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments passed in the test
   */
  public static void main(String[] argv) {
    try {
      container = new AppGameContainer(new SavedStateTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new GradientImageTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new ImageReadTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new KeyRepeatTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of org.newdawn.slick.AppGameContainer

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.