2010.10.15 23:38

전투시 화면 확대..!

조회 수 2536 추천 수 0 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form

#==============================================================================
# ?™ MINTO
#------------------------------------------------------------------------------
#   ?l?X???t?‰?O?ð???¤???C?“???W?…?[?????·?B
#==============================================================================

module MINTO
 
  # ?o?g??“?“?‰‰?oVX?ð?LŒø‰? ?i true ???LŒø / false ???³Œø ?j
  RGSS["?o?g??“?“?‰‰?oVX"] = true
 
end

if MINTO::RGSS["?o?g??“?“?‰‰?oVX"] == true then

#==============================================================================
# ?¡ Scene_Map
#------------------------------------------------------------------------------
# ?@?}?b?v‰æ?????????ð?s?¤?N?‰?X???·?B
#==============================================================================

class Scene_Map < Scene_Base
  #--------------------------------------------------------------------------
  # ?œ ?V?X?e???C?“?N???[?h??Œ¾
  #--------------------------------------------------------------------------
  include MINTO_System                    # ?????Æ?V?X?e?????W?…?[??
  #--------------------------------------------------------------------------
  # ?œ ?o?g??“?“?‰‰?o
  #--------------------------------------------------------------------------
  def battle_effect
    # Œ?????‰æ???ð?o??
    snapshot_for_background
    # ?o?????½‰æ‘œ?ð“??????Þ
    bitmap = $game_temp.background_bitmap
    # ?V?[?“?X?v?‰?C?g?ª?LŒø?????‡
    if @scene_sprite.bitmap
      # ?V?[?“?X?v?‰?C?g?ð?N???A
      @scene_sprite.bitmap.dispose
      @scene_sprite.bitmap = nil
    end
    # ?T?u?X?v?‰?C?g?ð????
    sub_sprite = @scene_sprite.dup
    # ?r?b?g?}?b?v?ð“n?????`???·??
    @scene_sprite.bitmap = bitmap
    sub_sprite.bitmap = bitmap
    # ???W?ð’†?S??Œ?’??·??
    @scene_sprite.x = Graphics.width / 2
    @scene_sprite.y = Graphics.height / 2
    @scene_sprite.ox = Graphics.width / 2
    @scene_sprite.oy = Graphics.height / 2
    sub_sprite.x = Graphics.width / 2
    sub_sprite.y = Graphics.height / 2
    sub_sprite.ox = Graphics.width / 2
    sub_sprite.oy = Graphics.height / 2
    # ?X?v?‰?C?g?ð??‘O?????\???·??
    @scene_sprite.z = 999999
    sub_sprite.z = 999998
    # ?V?[?“?X?v?‰?C?g?ð‰??Z?\?????·??
    @scene_sprite.blend_type = 1
    # ?V?[?“?X?v?‰?C?g?ðŒ?“]?³?¹??
    blackout(0, 160, -160, @scene_sprite)
    # ?X?v?‰?C?g???s“§?¾“x?ð??’??·??
    @scene_sprite.opacity = 0
    sub_sprite.opacity = 255
    # ?Y?[?????³’l?ð’??`
    zoom = (3.0 / 40.0)
    zoom2 = (3.5 / 40.0)
    # ??“??J?nSE?ð‰‰‘t
    Sound.play_battle_start
    # ??“?BGM?ð‰‰‘t
    $game_system.battle_bgm.play
    # ???[?v?????i40‰??????·???j
    40.times do
      # ?Q?[??‰æ???ð?X?V
      Graphics.update
      # ?X?v?‰?C?g?ð?Y?[???³?¹??
      sub_sprite.zoom_x += zoom
      sub_sprite.zoom_y += zoom
      @scene_sprite.zoom_x += zoom2
      @scene_sprite.zoom_y += zoom2
      # ?V?[?“?X?v?‰?C?g?ð?™?X???\???³?¹??
      @scene_sprite.opacity += (255 / 40)
    end
    # ?g?‰?“?W?V?‡?“??”?
    Graphics.freeze
    # ?T?u?X?v?‰?C?g?ð‰ð??
    sub_sprite.bitmap.dispose
    sub_sprite.dispose
  end
  #--------------------------------------------------------------------------
  # ?œ ?o?g??‰æ???????Ø??‘???
  #--------------------------------------------------------------------------
  def call_battle
    # ?}?b?vGBM?ð?L‰?
    $game_temp.map_bgm = RPG::BGM.last
    # ?}?b?vBGS?ð?L‰?
    $game_temp.map_bgs = RPG::BGS.last
    # ??“??J?n‰‰?o?ð???s
    battle_effect
    # ?X?v?‰?C?g?Z?b?g?ð?X?V
    @spriteset.update
    # ?Q?[??‰æ???ð?X?V
    Graphics.update
    # ?G?“?J?E?“?g?J?E?“?g?ð?‰??‰?
    $game_player.make_encounter_count
    #?v?Œ?C???[???p?¨?ð?¸?³
    $game_player.straighten
    # ?\???³?????????V?[?“?ð?N???A
    $game_temp.next_scene = nil
    # ??“?‰æ?????Ø??‘???
    $scene = Scene_Battle.new
  end
end

end

 


설명
이 스크립트는 전투가 시작될 때 허용, 화면은 문자로 확대할 것입니다 다음 게임의 전투로의 전환을 완료
.


Screen



Copyright ⓒ Nioting All Rights Reserved. (since 1999)    개인정보
        

Fatal error: Cannot access property sessionController::$lifetime in /web/old/xe/modules/session/session.controller.php on line 45