Chapoenk Newbie
Posts : 34 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Event Designer
| Subyek: [Tanya]About Bgm 2010-07-14, 10:58 | |
| 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.
Terakhir diubah oleh Chapoenk tanggal 2010-07-14, 11:02, total 1 kali diubah (Reason for editing : Merapihkan) | |
|
Guest Tamu
| Subyek: Re: [Tanya]About Bgm 2010-07-14, 11:04 | |
| 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 |
|
eve Loli Mecha Mesum Musume
Posts : 1620 Thanked : 30 Engine : Other Skill : Beginner Type : Writer
Trophies
Awards:
| Subyek: Re: [Tanya]About Bgm 2010-07-14, 11:13 | |
| 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. | |
|
Sponsored content
| Subyek: Re: [Tanya]About Bgm | |
| |
|