Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 [Tanya]About Bgm

Topik sebelumnya Topik selanjutnya Go down 
[Tanya]About Bgm Empty2010-07-14, 10:58
Post[Tanya]About Bgm
#1
Chapoenk 
Newbie
Newbie
Chapoenk

Level 5
Posts : 34
Thanked : 0
Engine : RMVX
Skill : Very Beginner
Type : Event Designer

[Tanya]About Bgm Vide
Kk dan cc senior, mo nanya dong..

  • Bagaimana supaya bgmnya tetap nyala pada saat encounter musuh?(bgmnya ga brubah musiknya misalkan lagunya metalica trus pas battle lagunya tetep metalica cmn ga putus alias ngalir terus lagunya.)
  • Bagaimana cara supaya pas mulai encounter musuh bgmnya pause dulu lalu pas dah selesai lanjut lagi bgmnya dan nyambung bukan dari awal lagi lagunya?
Segitu aja dulu deh. Nanti kalo ada lagi, mohon bantuannya yah wahai penghuni forum ini. :sembah:


Terakhir diubah oleh Chapoenk tanggal 2010-07-14, 11:02, total 1 kali diubah (Reason for editing : Merapihkan)
[Tanya]About Bgm Empty2010-07-14, 11:04
PostRe: [Tanya]About Bgm
#2
Guest 
Tamu
Anonymous


[Tanya]About Bgm Vide
Yang Nomer 1 Di Jawab Dengan Ini

[spooiler]
Code:
#==============================================================================
# ** Make BGM unchange 1.01 by ERZENGEL <erzvx@live.de>
#==============================================================================

DURING = 2  # if the switch with ID 9 is on the BGM won't change at the battle

#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
#  This class performs the map screen processing.
#==============================================================================

class Scene_Map < Scene_Base
  #--------------------------------------------------------------------------
  # * Switch to Battle Screen
  #--------------------------------------------------------------------------
  def call_battle
    unless $game_switches[DURING]
      @spriteset.update
      Graphics.update
      $game_player.make_encounter_count
      $game_player.straighten
      $game_temp.map_bgm = RPG::BGM.last
      $game_temp.map_bgs = RPG::BGS.last
      RPG::BGM.stop
      RPG::BGS.stop
      Sound.play_battle_start
      $game_system.battle_bgm.play
      $game_temp.next_scene = nil
      $scene = Scene_Battle.new
    else
      @spriteset.update
      Graphics.update
      $game_player.make_encounter_count
      $game_player.straighten
      Sound.play_battle_start
      $game_temp.next_scene = nil
      $scene = Scene_Battle.new
    end
  end
end

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * End Battle
  #    result : Results (0: win, 1: escape, 2:lose)
  #--------------------------------------------------------------------------
  def battle_end(result)
    if result == 2 and not $game_troop.can_lose
      call_gameover
    else
      $game_party.clear_actions
      $game_party.remove_states_battle
      $game_troop.clear
      if $game_temp.battle_proc != nil
        $game_temp.battle_proc.call(result)
        $game_temp.battle_proc = nil
      end
      unless $BTEST
        unless $game_switches[DURING]
          $game_temp.map_bgm.play
          $game_temp.map_bgs.play
        end
      end
      $scene = Scene_Map.new
      @message_window.clear
      Graphics.fadeout(30)
    end
    $game_temp.in_battle = false
  end
  #--------------------------------------------------------------------------
  # * Victory Processing
  #--------------------------------------------------------------------------
  def process_victory
    unless $game_switches[DURING]
      @info_viewport.visible = false
      @message_window.visible = true
      RPG::BGM.stop
      $game_system.battle_end_me.play
      unless $BTEST
        $game_temp.map_bgm.play
        $game_temp.map_bgs.play
      end
      display_exp_and_gold
      display_drop_items
      display_level_up
      battle_end(0)
    else
      @info_viewport.visible = false
      @message_window.visible = true
      display_exp_and_gold
      display_drop_items
      display_level_up
      battle_end(0)
    end
  end
end
[/spoiler]

Yang kedua Dua

Gag Tau :hammer:
[Tanya]About Bgm Empty2010-07-14, 11:13
PostRe: [Tanya]About Bgm
#3
eve 
Loli Mecha Mesum Musume
avatar

Level 5
Posts : 1620
Thanked : 30
Engine : Other
Skill : Beginner
Type : Writer
Awards:

[Tanya]About Bgm Vide
nomor dua:
pake scriptnya REI Audio Player. Coba google. Wa punya scriptnya tapi musti minta izin dulu ama yang punya buat masang di sini kan.
[Tanya]About Bgm Empty
PostRe: [Tanya]About Bgm
#4
Sponsored content 




[Tanya]About Bgm Vide
 

[Tanya]About Bgm

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMVX-