package asd; import com.rupeng.game.GameCore; public class ty implements Runnable { public static void main(String[] args){ GameCore.start(new ty()); } public void run() { GameCore.setGameSize(1000, 666); GameCore.setGameTitle("嫌弃——心灵的感动"); GameCore.alert("请听一首歌曲,《最长的旅途》"); GameCore.loadBgView("ly_.jpg"); GameCore.pause(5000); GameCore.loadBgView("zxz_.jpg"); GameCore.pause(5000); GameCore.loadBgView("hz_.jpg"); GameCore.pause(5000); GameCore.playSound("最长的旅途.mp3", true); GameCore.pause(160000); GameCore.alert("三千世界皆为草芥,凡夫俗子具是泥尘。 这一世,你是张显宗,我是岳绮罗"); boolean b = GameCore.confirm("你觉得好听吗?"); if (b) GameCore.alert("你的回答是好听"); else GameCore.alert("你的回答是不好听."); } }