Java 类org.newdawn.slick.BigImage 实例源码

项目:trashjam2017    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:Progetto-C    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:BaseClient    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:GPVM    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:SpaceStationAlpha    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:cretion    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:slick2d-maven    文件:BigImageTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    // force a 256 pixel limit for testing
    original = image = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 512);
    sub = image.getSubImage(210,210,200,130);
    scaledSub = sub.getScaledCopy(2);
    image = image.getScaledCopy(0.3f);
    imageX = image.getFlippedCopy(true, false);
    imageY = imageX.getFlippedCopy(true, true);

    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:trashjam2017    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:Progetto-C    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:BaseClient    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:GPVM    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:SpaceStationAlpha    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:cretion    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}
项目:slick2d-maven    文件:BigSpriteSheetTest.java   
/**
 * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
 */
public void init(GameContainer container) throws SlickException {
    original = new BigImage("testdata/bigimage.tga", Image.FILTER_NEAREST, 256);
    bigSheet = new SpriteSheet(original, 16, 16);
}