| [tanya] cara mbuat Choice SCREEN | |
|
|
Pengirim | Message |
---|
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: [tanya] cara mbuat Choice SCREEN 2011-01-23, 16:06 | |
| Permisi mas-mbak bro.... mau nanya ni?? ada yang tau ngga gimana mbuat screen kaya pict ni..tlolong dong kasih pencerahan | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-23, 16:17 | |
| | |
|
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-23, 16:22 | |
| itu classNya dimasukin sebelum main ato setelahnya ya'...ato waktu main manggil class scene_title diganti ama itu dulu??? | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | |
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-23, 16:44 | |
| ane dapet script na setelah main dia manggil Scene_Intro isinya - Code:
-
#============================================================================== # play events before title # http://makegame.vn #==============================================================================
class Scene_Intro def main $data_actors = load_data("Data/Actors.rxdata") $data_classes = load_data("Data/Classes.rxdata") $data_skills = load_data("Data/Skills.rxdata") $data_items = load_data("Data/Items.rxdata") $data_weapons = load_data("Data/Weapons.rxdata") $data_armors = load_data("Data/Armors.rxdata") $data_enemies = load_data("Data/Enemies.rxdata") $data_troops = load_data("Data/Troops.rxdata") $data_states = load_data("Data/States.rxdata") $data_animations = load_data("Data/Animations.rxdata") $data_tilesets = load_data("Data/Tilesets.rxdata") $data_common_events = load_data("Data/CommonEvents.rxdata") $data_system = load_data("Data/System.rxdata") $game_system = Game_System.new Graphics.frame_count = 0
$game_temp = Game_Temp.new $game_system = Game_System.new $game_switches = Game_Switches.new $game_variables = Game_Variables.new $game_self_switches = Game_SelfSwitches.new $game_screen = Game_Screen.new $game_actors = Game_Actors.new $game_party = Game_Party.new $game_troop = Game_Troop.new $game_map = Game_Map.new $game_player = Game_Player.new $game_party.setup_starting_members
$game_map.setup(63)
$game_player.moveto($data_system.start_x, $data_system.start_y)
$game_player.refresh
$game_map.autoplay $game_map.update $scene = Scene_Map.new end end trus q cari di map juga ga ada tu isi map - Code:
-
class Scene_Map #-------------------------------------------------------------------------- # Scene_Map #-------------------------------------------------------------------------- def main
@spriteset = Spriteset_Map.new @message_window = Window_Message.new
Graphics.transition
loop do Graphics.update
Input.update update if $scene != self break end end
Graphics.freeze @spriteset.dispose
@message_window.dispose
if $scene.is_a?(Scene_Title) Graphics.transition Graphics.freeze end end
kurang lebih kayak itu,.dia bisa nampilin screen kayak gmbar,.tpi text buat choiceNya dimana ya | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 09:38 | |
| Justru choicenya gada hubungan ama kedua scene yg km sebutin.. Coba pelajari dari script bawaan Scene_Menu, dgn salah satu command window End Game yang menuju Scene_End | |
|
| |
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 16:38 | |
| mungkin itu choice dari eventing biasa...
kenapa bisa munculin event sebelum title?
karena dia punya script intro yang fungsinya manggil semua database awal trus buka scene_map...
nah di scene_map (map awal tempat char muncul pertama) kan ada event yang autorun...
di event itu dia manggil choice deh...
nah trus di event itu juga kita bisa bikin biar scenenya balik lagi ke scene_title...
klo masih ga ngerti tanya aja lagi... | |
|
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 20:40 | |
| coy ni game rainblood yang dah ane jadiin project,.karena sifat game yg berbayar tolong untuk tidak disebar luaskan ya,.ane cuman pngen dapet ilmunya,.mnta tolong bantuannya nganalisa ya, dimana letak screen itu n gimana alurnya...
[url=link download]http://www.media*fire.com/download.php?hoxf0x6qwa0zcjd | |
|
| |
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 20:56 | |
| - bungatepijalan wrote:
- Wah, ini mah pake script
Ane kasi dikit caranya, kira2 contohnya kaya gini: - Code:
-
class Scene_Option1 #-------------------------------------------------------------------------- # * Main Processing #-------------------------------------------------------------------------- def main # Make command window s1 = "Full Screen Mode" s2 = "Window Mode" @command_window = Window_Command.new(192, [s1, s2]) @command_window.x = 320 - @command_window.width / 2 @command_window.y = 240 - @command_window.height / 2 # Execute transition Graphics.transition # Main loop loop do # Update game screen Graphics.update # Update input information Input.update # Frame Update update # Abort loop if screen is changed if $scene != self break end end # Prepare for transition Graphics.freeze # Dispose of window @command_window.dispose # If switching to title screen if $scene.is_a?(Scene_Title) # Fade out screen Graphics.transition Graphics.freeze end end # blablabla..... end Biarpun cuma dikit sepotong2 dan tktnya salah, lagian tampilannya gakan kaya gini tapi semoga membantu Dan juga ini sebenarnya nyontek dari script bawaan Scene_End skrip apanya? itu eventing pun bisa (yaa mesti skip titlescreen dulu sih) pertama, ganti dulu main dengan ini - Code:
-
#============================================================================== # ** Main #------------------------------------------------------------------------------ # After defining each class, actual processing begins here. #==============================================================================
begin # Prepare for transition Graphics.freeze $defaultfonttype = $fontface = $fontname = Font.default_name = "Calibri" $defaultfontsize = $fontsize = Font.default_size = 19 $data_actors = load_data("Data/Actors.rxdata") $data_classes = load_data("Data/Classes.rxdata") $data_skills = load_data("Data/Skills.rxdata") $data_items = load_data("Data/Items.rxdata") $data_weapons = load_data("Data/Weapons.rxdata") $data_armors = load_data("Data/Armors.rxdata") $data_enemies = load_data("Data/Enemies.rxdata") $data_troops = load_data("Data/Troops.rxdata") $data_states = load_data("Data/States.rxdata") $data_animations = load_data("Data/Animations.rxdata") $data_tilesets = load_data("Data/Tilesets.rxdata") $data_common_events = load_data("Data/CommonEvents.rxdata") $data_system = load_data("Data/System.rxdata") $map_infos = load_data("Data/MapInfos.rxdata") for key in $map_infos.keys $map_infos[key] = $map_infos[key].name end #------------------------------------------------------------------------------ $game_self_variables = Self_Variables.new if $self_var #------------------------------------------------------------------------------ $game_system = Game_System.new $game_temp = Game_Temp.new $game_switches = Game_Switches.new $game_variables = Game_Variables.new $game_self_switches = Game_SelfSwitches.new $game_screen = Game_Screen.new $game_actors = Game_Actors.new $game_party = Game_Party.new $game_troop = Game_Troop.new $game_map = Game_Map.new $game_player = Game_Player.new $game_party.setup_starting_members $game_map.setup ($data_system.start_map_id) $game_player.moveto ($data_system.start_x, $data_system.start_y) $game_player.refresh $game_map.autoplay $game_map.update $scene = Scene_Map.new # $scene = Scene_Title.new $scene.main while $scene != nil Graphics.transition(20) rescue Errno::ENOENT filename = $!.message.sub("Tidak ada file atau direktory itu - ", "") print("Tidak menemukan #{filename}.") end
terus di map nya (tempat player start position) bikin event autorun kyk gini yg dibawahnya itu custom evented title screen, kk cari aja di gugel caranya kalo gw post caranya keribetan pokoknya perhatiin aja itu choice yg yes nya digambar | |
|
| |
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 21:06 | |
| saya tidak bisa mengedit postingan saya diatas !! mod maaf yah dopost, kalo bisa tolong mergein cuma mau nambahin kalo gambarnya ga jelas, di bagian Iya nya codenya seperti ini (script call) - Code:
-
showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), '' showm.call(18,0,0,0) showm.call(13,0,0,0) showm.call(13,0,2,0) showm.call(18,0,2,0) | |
|
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 21:30 | |
| kerenn mas bro,.,.thengkyu so muuch i lop u pull dah,... wah sekalian nanya lagi ni,.itu ngasi bgroundNya gmana ya'... | |
|
| |
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 22:35 | |
| bukannya itu tinggal tambahin eventnya doank ya?
tambahin aja show_picture... | |
|
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-24, 23:12 | |
| malah ancur,. dibagian mana se.?.. | |
|
| |
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-25, 09:30 | |
| - asrori wrote:
- kerenn mas bro,.,.thengkyu so muuch i lop u pull dah,...
wah sekalian nanya lagi ni,.itu ngasi bgroundNya gmana ya'... kreatip dikit lah, tambahin aja satu event lagi sebagai parallel process jadi di player start positionnya ada 2 event yg satu, kayak tadi (pilihan switch to fullscreen) terus yg kedua show backgroundnya --- > (sekali lagi, kreatiplah) | |
|
| |
asrori Newbie
Posts : 32 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [tanya] cara mbuat Choice SCREEN 2011-01-25, 17:13 | |
| ok ok tengkyu,. ane masih awam banget rpg, n pngen blajar scripting,.trima kasih pencerahannya | |
|
| |
Sponsored content
| Subyek: Re: [tanya] cara mbuat Choice SCREEN | |
| |
|
| |
| [tanya] cara mbuat Choice SCREEN | |
|