1.rpg maker xp 设置å¼å¤´å¨ç»
rpg maker xp 设置å¼å¤´å¨ç»
æ2个æ¹æ³ï¼ä¸ä¸ªæ¯æ¥¼ä¸çæ¹æ³ï¼è¿æä¸ä¸ªæ¯ç¨èæ¬ï¼ææç¾åå®å ¸éçåè¯Copyä¸æ¥ï¼æ ¢æ ¢è¯»~~ï¼hoho~ï¼
çå§~è¯è¯´åæ¥,源码加人软件源码购买è¿ä¸ªèæ¬åªæ¯ææ¾ç¤ºä¸ä¸ªå¾ç,å¦æè¦æ¾ç¤ºå¨ç»çè¯,å°±å¨è¿æ¸¡å°æ é¢ç»é¢åå§åå¤å¥½çå¾çå ¨é¨åä¸å»å¯,å ¶å®æè·¯çè¯2个é½æ¯ä¸æ ·ç
å¨ååºæ¯ä¹åå å°åºæ¯å å ¥å°æ¸¸æéåºï¼æ以é¦å æ们éè¦ä¿®æ¹Mainèæ¬æ®µã
å°åå çä¸å¥ï¼
$scene = Scene_Title.new
ä¿®æ¹ä¸ºï¼
$scene = Scene_Logo.new
ç¶åæ°å»ºä¸ä¸ªèæ¬æ®µè½GPRA_Scene_Logoï¼ç»åºèæ¬æ®µå ¨é¨ä»£ç å¦ä¸ï¼
#=================================================
# â Scene_Logo
#-------------------------------------------------
# å¤çç头çç±»ã
#=================================================
class Scene_Logo
#-----------------------------------------------
# â 主å¤ç
#-----------------------------------------------
def main
# å¦ææ¨ä¸æ³å¨æ¯æ¬¡æµè¯æ¸¸æ游æçæ¶åé½æ¾ç¤ºLOGOï¼è¯·å å ¥ä»¥ä¸æ³¨éè¯å¥
# if $DEBUG
# $scene = Scene_Title.new
# return
# end
# çæLOGOå¾å½¢
@sprite = Sprite.new
@sprite.bitmap = RPG::Cache.picture("logo")
@sprite.x =
@sprite.y =
# æ¾ç¤ºè®¡æ¶å¨
@show_time=
# æ§è¡è¿æ¸¡
Graphics.transition()
# 主循ç¯
while @show_time>0 do
# å·æ°æ¸¸æç»é¢
Graphics.update
# æ¾ç¤ºè®¡æ¶å¨åä¸
@show_time -= 1
end
# åå¤è¿æ¸¡
Graphics.freeze
# éæ¾æ é¢å¾å½¢
@sprite.bitmap.dispose
@sprite.dispose
# æ§è¡è¿æ¸¡ï¼è¿æ¸¡å°å ¨é»
Graphics.transition()
# åå¤è¿æ¸¡ï¼ç¨äºåå¤è¿æ¸¡å°æ é¢ç»é¢
Graphics.freeze
# è¿å ¥æ é¢ç»é¢
$scene = Scene_Title.new
end
end
èæ¬å¶ä½ç头æ¹æ³æ¯é对æä¸å®çèæ¬åºç¡çRMerçï¼æ以ä¸ä¸å®æ¯ææç游æå¶ä½è é½å¯ä»¥ç®åçææ¡ãæºä»£ç ä¸å·²ç»å å«äºä¸å®ç注éï¼å¨æ¤åç®åç说æä¸ä¸ã
å½ç¶ç头æ¯ä¸ºäºæ¾ç¤ºå¾çï½æ以éè¦åçåå¤å·¥ä½å°±æ¯å æè¦æ¾ç¤ºçå¾çå¯¼å ¥å°å·¥ç¨éï¼æè ç´æ¥Copyå°"./Graphics/Pictures/"ç®å½ä¸ãå¨èæ¬éæ¾ç¤ºå¾çä¸è¬æ¯è¦ä½¿ç¨å°ç²¾çµï¼Spriteï¼çï¼å¨è¿éæ们é¦å 声æä¸ä¸ª@spriteåéï¼ç¶åç¨å®çbitmapè½½å ¥å¾çãä¾å¦ï¼@sprite.bitmap = RPG::Cache.picture("logo")ï¼è½½å ¥çå°±æ¯ååå¯¼å ¥çå为"logo.*"çå¾çæ件ãç¶åå¦æå¾çä¸æ¯å ¨å±çï¼éè¿ç²¾çµçxåyå±æ§æå®ä¸ä¸æ¾ç¤ºçåæ ãç²¾çµæ¯èªå¨æ¾ç¤ºçï¼æ以ä¸ç¨è¿è¡è´´å¾çæä½çãæå ³ç²¾çµç详ç»ä½¿ç¨ï¼å¯ä»¥åçF1æè çå ¶å®ç¸å ³æç¨ï¼å¨æ¤ä¸åå¤è¯´ã
ä¹åç头æ»è¦åæ¢åï¼æ以å¨è¿éå®ä¹ä¸ä¸ªè®¡æ¶å¨@show_timeï¼åå§åå®çå¼ä¸ºãå¨æ¾ç¤ºè¿ç¨å¾ªç¯ä¸å°å¯¹å®éåï¼æåè¾¾å°å®æ¶çç®çï¼å°LOGOæ¾ç¤ºä¸ä¸ªåºå®é¿çæ¶é´ã代ç ä¸çwhile循ç¯å°±æ¯å¾ªç¯å·æ°ç»é¢çï¼å ¶ä¸å°±ä½¿ç¨äº@show_timeåéä½ä¸ºå¾ªç¯ç»§ç»æ¡ä»¶ã
å ³äºGraphics.freezeåGraphics.transitionå½æ°ï¼å°±æ¯åå¤è¿æ¸¡åè¿è¡è¿æ¸¡ï¼åäºä»¶ä¸çåè½æ¯å®å ¨ä¸æ ·çï¼å¤§å®¶å¦æä¸æ¸ æ¥èªå·±è¯è¯å°±æç½äºï¼å¨F1ä¸å¯ä»¥æç´¢å°ï¼ã
Graphics.freezeå»ç»å½åçå±å¹ï¼ä¸å 许ç»é¢è¿è¡æ´æ°ã
Graphics.transitionå°±æ¯ä»ååå»ç»æ¶çç»é¢è¿æ¸¡å°å½åç»å¶å¥½çç»é¢ã
Graphics.transition第ä¸ä¸ªå¯éåæ°æå®çæ¯å¤å°å¸§å®æè¿æ¸¡ã
@sprite.bitmap.dispose / @sprite.dispose
ä½å¾åç²¾çµä¸å®è¦éæ¾çï¼è¿ç¹ä¸è½å¿è®°ã