10.16
阿新 • • 發佈:2017-11-06
onf void 最初的夢想 main dbgview pack bsp new size
package XXX;
import java.awt.Color;
import com.rupeng.game.GameCore;
public class Game implements Runnable {
public static void main(String[] args) {
GameCore.start(new Game());
}
@Override
public void run() {
GameCore.setGameSize(1024, 768);
GameCore.setGameTitle("============");
GameCore.alert("請聽第一首歌曲 《最初的夢想》");
GameCore.loadBgView("XX.jpg");
GameCore.playSound("最初的夢想.mp3", true);
GameCore.closeSound("最初的夢想.mp3");
boolean b = GameCore.confirm("你覺得好聽嗎?");
if (b)
GameCore.alert("你的回答是好聽");
else
GameCore.alert("你的回答是不好聽.");
}
}
10.16