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.
|
|
| 2011-05-02, 17:26 | [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| hallo
umm kaka, pengen request dund?
req script yg bisa nambahin minigame di menu pas title
jadi nanti kalo kita pengen nambahin, di panggil pake event atau pake cara lain
note: minigame yg dipake dibuat dengan event
atau kalo uda ada, link pls
thanks SOLVED scriptnya? neh: - Spoiler:
(tips: kalo nyari pencet ctrl+f) > buka script, scene_title, cari kode ini (biasanya line 37) - Code:
-
s1 = "New Game" s2 = "Continue" s3 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288 ganti sama - Code:
-
s1 = "New Game" s2 = "Continue" s3 = "Minigame" s4 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3,s4]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288 > cari kode ini (line 92) - Code:
-
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Shutdown command_shutdown end end end ganti sama - Code:
-
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Minigame command_minigame when 3 # Shutdown command_shutdown end end end > cari ini - Code:
-
$game_player.moveto($data_system.start_x, $data_system.start_y) ganti sama - Code:
-
$game_player.moveto(0,0) > terakhir, tambah ini diatas main - Code:
-
def command_minigame # Play decision SE $game_system.se_play($data_system.decision_se) # Stop BGM Audio.bgm_stop # Reset frame count for measuring play time Graphics.frame_count = 0 # Make each type of game object $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 # Set up initial party $game_party.setup_starting_members # Set up initial map position $game_map.setup(id minimap gamemu (cek di map properties)) # Move player to initial position $game_player.moveto($data_system.start_x, $data_system.start_y) # Refresh player $game_player.refresh # Run automatic change for BGM and BGS set with map $game_map.autoplay # Update map (run parallel process event) $game_map.update $scene = Scene_Map.new end selesai
CREDITS TO: Feriell'a & nisamerica TS comment: Oiya, sorry kalo yg ketipu judul ya jadi script ini buat nambahin menu di title, terus kita di transfer ke map yg kamu mau bisa dipake buat yg lain kok
Terakhir diubah oleh fachiru tanggal 2011-05-03, 23:08, total 2 kali diubah |
| | | 2011-05-02, 23:51 | Re: [Solved] Script Minigame |
---|
Feriell'a Novice
Posts : 123 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Scripter
| ummmm... ini maksudnya mau nambahin command baru pada Scene_Title yaw... yaitu command Minigame... langkah 1lihat di script Scene_Title bagian ini (line 37): - Spoiler:
s1 = "New Game" s2 = "Continue" s3 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288
tinggal diganti aja: - Spoiler:
s1 = "New Game" s2 = "Continue" s3 = "MInigame" s4 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3,s4]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288
langkah 2lihat di script Scene_Title bagian ini (line 91): - Spoiler:
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Shutdown command_shutdown end end end
diganti : - Spoiler:
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Minigame command_minigame when 3 # Shutdown command_shutdown end end end
langkah 3terakhir...tambahin definisi baru ini : - Spoiler:
def command_minigame # Play decision SE $game_system.se_play($data_system.decision_se) # Stop BGM Audio.bgm_stop # Reset frame count for measuring play time Graphics.frame_count = 0 # Make each type of game object $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 # Set up initial party $game_party.setup_starting_members # Set up initial map position $game_map.setup($data_system.start_map_id) # Move player to initial position $game_player.moveto($data_system.start_x, $data_system.start_y) # Refresh player $game_player.refresh # Run automatic change for BGM and BGS set with map $game_map.autoplay # Update map (run parallel process event) $game_map.update # Switch to minigame $scene = Scene_???.new >>> nama scene minigame nya end
thanks ^^
Terakhir diubah oleh Feriell'a tanggal 2011-05-02, 23:57, total 1 kali diubah |
| | | 2011-05-02, 23:56 | Re: [Solved] Script Minigame |
---|
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Awards:
| Yang jadi pertanyaannya itu bahwa minigamenya berupa event atau script? Pengaktifan minigame yang berupa event dan script beda jauh lho. |
| | | 2011-05-03, 00:00 | Re: [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| @feriel waw makasih, aku coba dolo @wltr hee? oh ya? baiklah biar feriel sendiri yg berbicara |
| | | 2011-05-03, 00:08 | Re: [Solved] Script Minigame |
---|
Feriell'a Novice
Posts : 123 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Scripter
| hahahaha... aku aja bingung... sebenarnya klo mau pake event itu minigame nya... lebih enak..ubah keseluruhan command di TITLE jadi event semua... mulai dari newgame, continue, dan shutdown.. cara nya ya... lagi2 maen event... jadi Title nya ga pake script lagi... |
| | | 2011-05-03, 00:18 | Re: [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| hoo begitu... ok deh makasih yaw ayoo adakah yg bisa bantu? |
| | | 2011-05-03, 08:20 | Re: [Solved] Script Minigame |
---|
hart Senior
Posts : 805 Thanked : 38 Engine : Other Skill : Very Beginner Type : Developer
| wah, sayang XP. Saya gk punya RMXP jadi gk bisa bantu, sebagai gantinya ane bantu ngangkat trid ini aja deh |
| | | 2011-05-03, 08:54 | Re: [Solved] Script Minigame |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| What? Bantu? Itu kan tinggal make punya si Feriel trus masukin minigameny aja kan? Hha Nah masalahny, lu mau minigamenya event ato script? Dan maunya game yg gimana? Kalo kata gwa minigame enakan event, soalnya lebih bebas, sedangkan kalo script jarang. Ampe sekarang gwa belom pernah liat script minigame |
| | | 2011-05-03, 09:16 | Re: [Solved] Script Minigame |
---|
hart Senior
Posts : 805 Thanked : 38 Engine : Other Skill : Very Beginner Type : Developer
| @om merica: wah sedih sekali hatiku mendengar kata2mu.. bagai ditusuk 7 pedang, menembus hatiku padahal saya udah beberapa kali ngepost script minigame, tapi anda bahkan tidak pernah lihat script minigame... BTT: walaupun minigamenya pake script, kan biasanya tetap dipanggil via event, jadi sama aja namanya tetap minigame pake event. |
| | | 2011-05-03, 10:40 | Re: [Solved] Script Minigame |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| @hart Ogh iya lupa Maap2 Yang gwa pernah coba dari lu pake engine GM dll sih, bukan script RM Tapi iya juga, perasaan pernah liat script minigame kartu Sori2 hha Sori OOT btw |
| | | 2011-05-03, 14:41 | Re: [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| owh ada yg script?(minigame punyanya hart) (lol baru tau ) tapi aku kalo minigamenya event gimana? bisa kah dipanggil pake script? makasih |
| | | 2011-05-03, 15:56 | Re: [Solved] Script Minigame |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| minigame ny event, ya d panggil ny dengan mentransfer player ke map di mana event itu di eksekusi dengan autorun o yah.... cek minigames pack q ~ >>> https://rmid.forumotion.net/t1091p30-vx-minigames-minigames-packudah rada ga prnah d urus lagi yep, rencana ny q mau compile smua jenis minigame prom RMID d project itu musti konsisten, mauny pake script apa event ?? EDIT : Owh.... right..... XP ?? then cuma bisa contek event2 minigames ny EDIT MORE : kbnyakan minigameny ada pake script VX ga tau deh.... MORE n MORE EDIT : really.... ini kan trit RGSS request |
| | | 2011-05-03, 16:06 | Re: [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| @kuro makasih, btw kata2mu yg "mentransfer player ke map di mana event itu di eksekusi dengan autorun" aku dapet ide cuma aku butuh event(atau script) yg bisa nambahin meu di cms, nanti ditransfer ke map gitu adakah |
| | | 2011-05-03, 16:44 | Re: [Solved] Script Minigame |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| @Fach Quote dari Feriel - Feriell'a wrote:
- ummmm...
ini maksudnya mau nambahin command baru pada Scene_Title yaw... yaitu command Minigame...
langkah 1
lihat di script Scene_Title bagian ini (line 37):
- Spoiler:
s1 = "New Game" s2 = "Continue" s3 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288
tinggal diganti aja:
- Spoiler:
s1 = "New Game" s2 = "Continue" s3 = "MInigame" s4 = "Shutdown" @command_window = Window_Command.new(192, [s1, s2, s3,s4]) @command_window.back_opacity = 160 @command_window.x = 320 - @command_window.width / 2 @command_window.y = 288
langkah 2
lihat di script Scene_Title bagian ini (line 91):
- Spoiler:
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Shutdown command_shutdown end end end
diganti :
- Spoiler:
def update # Update command window @command_window.update # If C button was pressed if Input.trigger?(Input::C) # Branch by command window cursor position case @command_window.index when 0 # New game command_new_game when 1 # Continue command_continue when 2 # Minigame command_minigame when 3 # Shutdown command_shutdown end end end
langkah 3
terakhir...tambahin definisi baru ini :
- Spoiler:
def command_minigame # Play decision SE $game_system.se_play($data_system.decision_se) # Stop BGM Audio.bgm_stop # Reset frame count for measuring play time Graphics.frame_count = 0 # Make each type of game object $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 # Set up initial party $game_party.setup_starting_members # Set up initial map position $game_map.setup($data_system.start_map_id) # Move player to initial position $game_player.moveto($data_system.start_x, $data_system.start_y) # Refresh player $game_player.refresh # Run automatic change for BGM and BGS set with map $game_map.autoplay # Update map (run parallel process event) $game_map.update # Switch to minigame $scene = Scene_???.new >>> nama scene minigame nya end
thanks ^^ Paling yang scene minigame ga perlu ditulis, bagian yang di-bold delete aja, terus isi posisi X dan Y nya, juga map ID nya |
| | | 2011-05-03, 16:55 | Re: [Solved] Script Minigame |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| Ah ~ great ~ .... yep.... yg d atas tinggal langsung edit script ~ but, mending buat title screen pake event klo mau full customization event title screen by Rekka (RMXP) ~ >>> https://rmid.forumotion.net/t1529-rekka-cts <<< EDIT : content removed |
| | | 2011-05-03, 17:06 | Re: [Solved] Script Minigame |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| Eh tunggu, gwa ada yang lupa di bawah game_map.update, tambahin ini: $game_temp.player_transferring = true $game_temp.player_new_map_id = $game_temp.player_new_x = $game_temp.player_new_y = $scene = Scene_Map.new Sebetulnya ini buat transfer player EDIT!! EDIT!! Pake ini aja ganti $game_map.setup($data_system.start_map_id) jadi $game_map.setup(ID MAP MINIGAMEMU) Cek Map ID lu di map properties dan $game_player.moveto($data_system.start_x, $data_system.start_y) jadi $game_player.moveto(X, Y) dengan X dan Y adalah posisi koordinat yang diharapkan |
| | | 2011-05-03, 22:49 | Re: [Solved] Script Minigame |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| @kuro makasih udah bantu aku tadi nyari2 tapi kebanyakan removed @sid & feriell whoaaaaa, makasih feriel, sid peluk cium diapain aja kya nah, kalo ada yg baca ini terus bingung, aku satuin aja scriptnya di 1st post SOLVED, silakan lock trit ini mod |
| | | | Re: [Solved] Script Minigame |
---|
Sponsored content
| | | | Similar topics | |
|
Similar topics | |
| |
Halaman 1 dari 1 | |
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
Latest 10 Topics | [Web Novel] Gloria Infidelis 2016-11-17, 21:27 by LightNightKnight
[Announcement] Forum baru untuk RMID 2016-08-25, 16:39 by TheoAllen
Where I'm Wrong ? 2016-07-24, 16:10 by ReydVires
flakeheartnet's Resources part III 2016-07-08, 14:30 by flakeheartnet
Keira's Art Warehouse 2016-06-28, 19:27 by KeiraBlaze
Theo Core Time System + Bingung 2016-06-27, 16:24 by Lockin
Error Script, Maybe ? 2016-06-27, 16:20 by Lockin
Nusaimoe @ RMID Lounge 2016-06-21, 05:02 by Jihad Bagas
Call Random Battle 2016-06-15, 17:04 by Lockin
Flakeheartnet Resources Part II [come back gift] 2016-06-07, 15:51 by flakeheartnet
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|
|
|