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.
|
|
| [ASK][SOLVED]Custom menu script help | |
| 2014-01-03, 09:02 | [ASK][SOLVED]Custom menu script help |
---|
Croix Bartel Newbie
Posts : 6 Thanked : 0 Engine : Multi-Engine User Skill : Skilled Type : Event Designer
| Script ini bikin menunya cuma ada 3 option dan ada dibawah. Script asli: - Spoiler:
- Code:
-
# ----------------------------------------------------------------------- # Compact Menu by HungrySnake # as requested by Croix Bartel # # Instructions are stated below # -----------------------------------------------------------------------
module CMENU module CONFIG # ----------------- # Start Config # ----------------- # Commands for the menu MENU_COMMANDS = ["Item","Load","Exit"] # ----------------- # End Config # ----------------- end end
class Scene_Menu < Scene_Base def start super create_menu_background create_base_window create_command_window end def create_base_window actor = $game_party.members[0] @window_base = Window_Base.new(0,Graphics.height-128,Graphics.width,128) @window_base.draw_actor_face(actor,Graphics.width-150,0) @window_base.draw_actor_name(actor,Graphics.width-250,0) end def create_command_window @command_window = Window_Command.new(120,CMENU::CONFIG::MENU_COMMANDS) @command_window.y = Graphics.height-130 @command_window.opacity = 0 @command_window.refresh @command_window.index = 0 end def update_command_window @command_window.update if Input.trigger?(Input::C) Sound.play_decision case @command_window.index when 0 $scene = Scene_Item.new when 1 $scene = Scene_File.new(false, false, true) when 2 $scene = Scene_End.new end elsif Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new end end def update super update_menu_background update_command_window end def terminate super dispose_menu_background @window_base.dispose @command_window.dispose end end
pengen ane ubah jadi ada di sebelah kiri, tapi graphic muka actor sama namanya jadi ilang, ni editan ane: - Spoiler:
- Code:
-
# ----------------------------------------------------------------------- # Compact Menu by HungrySnake # as requested by Croix Bartel # # Instructions are stated below # -----------------------------------------------------------------------
module CMENU module CONFIG # ----------------- # Start Config # ----------------- # Commands for the menu MENU_COMMANDS = ["Item","Load","Exit"] # ----------------- # End Config # ----------------- end end
class Scene_Menu < Scene_Base def start super create_menu_background create_base_window create_command_window end def create_base_window actor = $game_party.members[0] @window_base = Window_Base.new(0,Graphics.height-416,128,Graphics.width-128) @window_base.draw_actor_face(actor,Graphics.width-150,0) @window_base.draw_actor_name(actor,Graphics.width-250,0) end def create_command_window @command_window = Window_Command.new(120,CMENU::CONFIG::MENU_COMMANDS) @command_window.y = Graphics.height-418 @command_window.opacity = 0 @command_window.refresh @command_window.index = 0 end def update_command_window @command_window.update if Input.trigger?(Input::C) Sound.play_decision case @command_window.index when 0 $scene = Scene_Item.new when 1 $scene = Scene_File.new(false, false, true) when 2 $scene = Scene_End.new end elsif Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new end end def update super update_menu_background update_command_window end def terminate super dispose_menu_background @window_base.dispose @command_window.dispose end end
Terakhir diubah oleh Croix Bartel tanggal 2014-01-03, 09:48, total 1 kali diubah |
| | | 2014-01-03, 09:25 | Re: [ASK][SOLVED]Custom menu script help |
---|
SaltLover Newbie
Posts : 47 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Artist
| Try This.. http://pastebin.com/29qBcBwa |
| | | 2014-01-03, 09:37 | Re: [ASK][SOLVED]Custom menu script help |
---|
Croix Bartel Newbie
Posts : 6 Thanked : 0 Engine : Multi-Engine User Skill : Skilled Type : Event Designer
| Woooh, yang diganti actor face toh bukan window-nya.. Sip, works like a charm, cuma kurang kiri dikit actor face-nya, solved sih, x nya diganti jadi -8 Thanks om |
| | | | Re: [ASK][SOLVED]Custom menu script help |
---|
Sponsored content
| | | | | [ASK][SOLVED]Custom menu script help | |
|
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 ]
|
|
|
|
|
|