import com.rupeng.game.GameCore;
public class Main implements Runnable {
public void run() {
for (int i = 0; i < 7 * 80; i = i + 80) {
GameCore.createSprite(i, "mario");
GameCore.setSpritePosition(i, i, 100);
GameCore.playSpriteAnimate(i, "walk", true);
GameCore.pause(200);
}
GameCore.pause(2000);
}
public static void main(String[] args) {
GameCore.start(new Main());
}
}
public class Main implements Runnable {
public void run() {
for (int i = 0; i < 7 * 80; i = i + 80) {
GameCore.createSprite(i, "mario");
GameCore.setSpritePosition(i, i, 100);
GameCore.playSpriteAnimate(i, "walk", true);
GameCore.pause(200);
}
GameCore.pause(2000);
}
public static void main(String[] args) {
GameCore.start(new Main());
}
}