| PHLiM2's Menu MODs problem | |
|
|
Pengirim | Message |
---|
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: PHLiM2's Menu MODs problem 2010-03-14, 19:37 | |
| member rmvx.net pasti tau kan ni script?? gw ada masalah gimana disable tu fitur backgroundnya untuk battle, soalnya fitur background menunya juga "nular" jadi battleback.... ada yg isa membantu nyeleseiin ni masalh??/ itu aja terima kasih, sorry klo penjelasaannya ga jelass | |
|
| |
Durea Novice
Posts : 161 Thanked : 3 Engine : RMVX
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-14, 19:41 | |
| boleh dikasih linknya ?
gw g tau sih... | |
|
| |
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: Re: PHLiM2's Menu MODs problem 2010-03-14, 19:43 | |
| nih linknya langsung dari rmvx.net
http://www.rpgmakervx.net/index.php?showtopic=22292 | |
|
| |
Durea Novice
Posts : 161 Thanked : 3 Engine : RMVX
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-14, 20:25 | |
| woke nih gw baca nya yang v 0.6 di bagian background script si Phlim - Spoiler:
#-------------------------------------------------------------------------- # * Create Snapshot for Using as Background of Another Screen #-------------------------------------------------------------------------- def snapshot_for_background if MENU_BG_ON $game_temp.background_bitmap.dispose $game_temp.background_bitmap = Cache.picture(MENU_BG) else $game_temp.background_bitmap.dispose $game_temp.background_bitmap = Graphics.snap_to_bitmap $game_temp.background_bitmap.blur end end
nah variabel penampung BGnya sama dengan di Spriteset Battle - Spoiler:
#-------------------------------------------------------------------------- # * Create Battleback Sprite #-------------------------------------------------------------------------- def create_battleback source = $game_temp.background_bitmap bitmap = Bitmap.new(640, 480) bitmap.stretch_blt(bitmap.rect, source, source.rect) bitmap.radial_blur(90, 12) @battleback_sprite = Sprite.new(@viewport1) @battleback_sprite.bitmap = bitmap @battleback_sprite.ox = 320 @battleback_sprite.oy = 240 @battleback_sprite.x = 272 @battleback_sprite.y = 176 @battleback_sprite.wave_amp = 8 @battleback_sprite.wave_length = 240 @battleback_sprite.wave_speed = 120 end
solusinya bagian Background - PHLiM2 nya diganti jadi - Spoiler:
#============================================================================== # ** Menu Background #------------------------------------------------------------------------------ # This section changes the background for all menus. #============================================================================== module MENUBG MENU_BG_ON = true MENU_BG = "menubg" end
class Scene_Base include MENUBG #-------------------------------------------------------------------------- # * Create Snapshot for Using as Background of Another Screen #-------------------------------------------------------------------------- def snapshot_for_background if MENU_BG_ON $backgroundmenu = Cache.picture(MENU_BG) else $backgroundmenu.dispose $backgroundmenu = Graphics.snap_to_bitmap $backgroundmenu.blur end end #-------------------------------------------------------------------------- # * Create Background for Menu Screen #-------------------------------------------------------------------------- def create_menu_background @menuback_sprite = Sprite.new @menuback_sprite.bitmap = $backgroundmenu if MENU_BG_ON @menuback_sprite.color.set(0, 0, 0, 0) else @menuback_sprite.color.set(16, 16, 16, 128) end update_menu_background end end
ga nolak dikasih ijo2 :p | |
|
| |
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: Re: PHLiM2's Menu MODs problem 2010-03-14, 20:43 | |
| ok... dah di coba tapi pas battle jadi kok item pekat..??!! | |
|
| |
Durea Novice
Posts : 161 Thanked : 3 Engine : RMVX
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-14, 21:03 | |
| coba scriptnya dipindah semua ke game Project apa kek buat nyoba aja...
gw ngerinya si Phlim ngerusak variable intinya RMVX....
soalnya biasanya script addons pake variable sendiri | |
|
| |
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 00:36 | |
| dah tanya langsung ke Phlimnya... dia bilang bakal memperbaiki masalah tu di versi berikutnya, jadi kayaknya cuma menunggu aja. nih... btw, aku dah coba kopas smua scriptnya ke project, ngga ada perubahan apa2 | |
|
| |
Durea Novice
Posts : 161 Thanked : 3 Engine : RMVX
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 07:16 | |
| solusi dari gw mending bikin battleback sendiri...
tapi masih gw usahain...
Mungkin tanya RMer yang lain kaya rusted,wltr, ato reiju | |
|
| |
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 10:08 | |
| nih ganti script background yang ada di script nya si philm ama yang ini - Spoiler:
- Code:
-
#============================================================================== # ** Menu Background #------------------------------------------------------------------------------ # This section changes the background for all menus. #============================================================================== module MENUBG MENU_BG_ON = true MENU_BG = "menubg" end
class Scene_Base include MENUBG #-------------------------------------------------------------------------- # * Create Snapshot for Using as Background of Another Screen #-------------------------------------------------------------------------- alias snapshot_for_bgmenu snapshot_for_background def snapshot_for_background $bg_menu_bitmap.dispose if $bg_menu_bitmap != nil $bg_menu_bitmap = Cache.picture(MENU_BG) $bg_menu_bitmap.blur snapshot_for_bgmenu end #-------------------------------------------------------------------------- # * Create Background for Menu Screen #-------------------------------------------------------------------------- alias create_background_menu create_menu_background def create_menu_background if MENU_BG_ON @menuback_sprite = Sprite.new @menuback_sprite.bitmap = $bg_menu_bitmap @menuback_sprite.color.set(0, 0, 0, 0) update_menu_background else create_background_menu end end end
dah di coba dan berhasil... | |
|
| |
Durea Novice
Posts : 161 Thanked : 3 Engine : RMVX
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 12:26 | |
| akhirnya sing dewa datang OOT : itu alias maksudnya apa yah sekalian nanya2 lah :p | |
|
| |
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 13:13 | |
| @durea: sapa dewa...? zzzzz
tuh alias maksudnya ngopi method yang dah ada tapi namanya beda... cth alias my_initialize initialize
maksudnya tuh bikin method my_initialize sama persis dengan method initialize yang dah ada...
jadi klo lu panggil my_initialize tar dia bakal ngerjain method yang sebelum di ubah... ini biar compabilitynya lebih gede... | |
|
| |
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: Re: PHLiM2's Menu MODs problem 2010-03-15, 16:09 | |
| @rusted beres 100%..... thanks dah membantu +rep for you | |
|
| |
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: PHLiM2's Menu MODs problem 2010-03-20, 21:30 | |
| /me summoning rei...
REEEEIIIII..... lock nih thread...
hehehe | |
|
| |
Sponsored content
| Subyek: Re: PHLiM2's Menu MODs problem | |
| |
|
| |
| PHLiM2's Menu MODs problem | |
|