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.
|
|
| 2012-06-15, 23:10 | Scene Gameover Skip |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| Scene Gameover Skip Versi: 1.0 Tipe: Custom Menu Enhancement PengenalanPertamanya dibuat untuk game Wandering Brawler dan Legend of Seven Swords Add-on ini gunanya untuk ngasi pilihan 'Continue' atawa 'to Title' pas kalah battle. Sisipkan skrip ini diantara Material dan Main, dan kayaknya ente udah tau cara install dan pakenya Fitur
- Ngga nampilin gambar Game Over, cuma pilihan 'Continue' dan 'To Title'
ScreenshotsSS bisa bohong coba sendiri dan buktikan khasiatnya DemoNgga perlu kayaknya Scripts - Code:
-
# ============================================================================== # richter_h's Scene Gameover Skip; 'Choose your fate'-esque style! # v1.0 - June 14, 2012 # Type: Snippet, Custom Menu Enhancement, Add-on # Level: Easy # ============================================================================== # Firstly made for my game needs (Legend of Seven Swords and Wandering Brawler) # This add-on lets you to not straightly go to Game Over screen when defeated # in combat or by event, in example. Will take the player to choice just like # in title screen instead. # Simply put this below Material and above Main in Script Editor. Don't ask me # how to put scripts on. Ask other for assistance. # (implying whoever has a use of this knows how to put scripts in Script Editor) # # Credits if you wanna. Don't claim as your own. # ============================================================================== # Overwrites: # - Scene_Battle: call_gameover # - Scene_File: initialize, return_scene # ==============================================================================
# ============================================================================== # Menyentuh yang di bawah ini lebih bahaya dari tabung LPG 3 kg, lhoo! :hammer # Jadi jauhi yang di bawah kecuali pernah latihan debus atawa ente emang # berpengalaman ngeskrip... :Peace: # ============================================================================== class Scene_Gameover_Choice < Scene_Base def initialize(menu_index = 0) @menu_index = menu_index end def start super create_menu_background create_command_window end
def post_start super open_command_window end
def pre_terminate super close_command_window end
def terminate super dispose_command_window dispose_menu_background end def update super update_menu_background @command_window.update if Input.trigger?(Input::C) case @command_window.index when 0 to_load_screen when 1 to_title end end end
def update_menu_background super @menuback_sprite.tone.set(0, 0, 0, 128) end
def create_command_window s1 = "Try again" # Vocab::continue s2 = "Give up" # Vocab::shutdown @command_window = Window_Command.new(172, [s1, s2]) @command_window.x = (544 - @command_window.width) / 2 @command_window.y = (416 - @command_window.height) / 2 @command_window.index = @menu_index @command_window.openness = 0 end
def dispose_command_window @command_window.dispose end
def open_command_window @command_window.open begin @command_window.update Graphics.update end until @command_window.openness == 255 end
def close_command_window @command_window.close begin @command_window.update Graphics.update end until @command_window.openness == 0 end
def to_load_screen Sound.play_decision $scene = Scene_File.new(false, false, false, true) end def to_title Sound.play_decision RPG::BGM.fade(800) RPG::BGS.fade(800) RPG::ME.fade(800) $scene = Scene_Title.new close_command_window Graphics.fadeout(60) end end
class Scene_Battle < Scene_Base def call_gameover wait(150) #edit snapshot_for_background $scene = Scene_Gameover_Choice.new @message_window.clear end end
class Scene_File < Scene_Base def initialize(saving, from_title, from_event, from_battle = false) @saving = saving @from_title = from_title @from_event = from_event @from_battle = from_battle end def return_scene if @from_title $scene = Scene_Title.new elsif @from_event $scene = Scene_Map.new elsif @from_battle $scene = Scene_Gameover_Choice.new(0) else $scene = Scene_Menu.new(4) end end end
Credits
- Credit ke ane, kalo ente mau cantumin. Ngga juga ngga apa apa asal jangan ngaku skrip ini bikinan ente
|
| | | 2012-06-15, 23:20 | Re: Scene Gameover Skip |
---|
ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Awards:
| Pernah liat mirip punya sapaaa gitu. Tapi ada transfer map nya. Mungkin d tambah lagi fiturnya, jadi manggil common event (coz dari common event bisa merambah switch, var, branch), ato apalah... Nice script bro |
| | | 2012-06-15, 23:25 | Re: Scene Gameover Skip |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| - ashm wrote:
- Pernah liat mirip punya sapaaa gitu.
Tapi ada transfer map nya. Mungkin d tambah lagi fiturnya, jadi manggil common event (coz dari common event bisa merambah switch, var, branch), ato apalah... Nice script bro
nah menyangkut transfer map sebenerne ane pengen bikin semacem 'Back to Latest Checkpoint' cuman masih bingung buat ngereset variable, switch, sama teman-temannya. Udah dicoba bikin tapi dapetnya error kalo ada waktu dan kalo misalnya ane butuh dan bisa implementasinya ane masukin di versi 2 skrip ini thanks btw |
| | | 2012-06-15, 23:36 | Re: Scene Gameover Skip |
---|
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Awards:
| Wah.. Snippet ya om? Keren nih... Bisa dijadikan referensi.. Kenapa gak sekalian bikin script yang alter game-over? |
| | | 2012-06-15, 23:51 | Re: Scene Gameover Skip |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| - LowlingLife wrote:
- Wah.. Snippet ya om? Keren nih... Bisa dijadikan referensi.. Kenapa gak sekalian bikin script yang alter game-over?
altering gameover ya kalo bisa ngereset semua global variable ($game_switches, $game_variables, $game_states, dsb) baru bisa dikembangin jadi sistem yang bisa dikatakan punya 'checkpoint.' soale ada masalah sama global variable2 itu emang dasarnya ini lebih enak disebut snippet |
| | | 2012-06-16, 00:36 | Re: Scene Gameover Skip |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| Latest check point itu sistemnya kaya gimana? Apa ga bisa pake sistem quick load aja? Kalo pake quick load kan variable switch dllnya jadi balik ke keadaan pas quick save, dan lagi rasanya udah ada script quick save/quick load jadi tinggal diulik dikid. (sok tau ) |
| | | 2012-06-16, 05:19 | Re: Scene Gameover Skip |
---|
yukitou Newbie
Posts : 61 Thanked : 1 Engine : Multi-Engine User Skill : Beginner Type : Artist
| susah juga yah kalo mesti ngereset ulang switch sama variablenya istilahnya seperti bikin temporary automatic save point buat jadi checkpointnya (sama aja itu mah) jadi nge alter save data juga |
| | | 2012-06-16, 11:08 | Re: Scene Gameover Skip |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| Checkpoint? Nge reset semua variable ke latest checkpoint? . . . . Knapa ga buat smacam "Hidden Save File" doank? Bukan berarti file ny yg hidden.... Cuman klo mau manual save / load, file trsebut ga d liatin Mungkin dengan memberi nama lain pada file ny? Yep~ Somekind pf "temporary save point" ~ Tpi klo d jadiin satu, ntar kalo pake file save yg lain malah tabrakan ama cekpoit ny Jdi mending buat "Child Save Point" ~ Masing2 original save point punya 1 anak yg bernama Child Save Point ~ Itu yg jadi checkpoint untuk tiap data save an ~ |
| | | | Re: Scene Gameover Skip |
---|
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 ]
|
|
|
|
|
|