- 注册时间
- 2008-8-26
- 最后登录
- 2008-11-29
④见习
- 积分
- 320
|
文字挤在一块了,或许说只有一半了。
根据教程做得(复制,粘贴)
按钮图片是:
0.txt的代码是:
;mode800
*define
game
*start
bg "image\background\home.jpg",0
lsp 11,":a/2,0,3;image\button\start.jpg",300,250
lsp 12,":a/2,0,3;image\button\load.jpg",300,300
lsp 13,":a/2,0,3;image\button\exit.jpg",300,350
print 1
btndef ""
spbtn 11,1
spbtn 12,2
spbtn 13,3
btnwait %0
if %0<=0 goto *start
if %0==1 goto *newgame ;开始新游戏
if %0==2 goto *loadgame ;读取进度
if %0==3 goto *endgame ;结束游戏
*loadgame
systemcall load ;呼叫NS的读档选单
goto *start
*endgame
end
*newgame
csp -1
print 1
开始游戏\
end |
|