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.

Share | 
 

 [VXA] Title ScreenZ 1.1

Topik sebelumnya Topik selanjutnya Go down 
[VXA] Title ScreenZ 1.1 Empty2015-07-10, 06:13
Post[VXA] Title ScreenZ 1.1
#1
Arpib.Z.Zaszi 
Newbie
Newbie
Arpib.Z.Zaszi

Level 5
Posts : 7
Thanked : 0
Engine : Multi-Engine User
Skill : Very Beginner
Type : Jack of All Trades

[VXA] Title ScreenZ 1.1 Vide
Title ScreenZ
Versi: 1.1


Pengenalan :

Script ini digunakan untuk mengedit Title Screen game kalian, misalnya mengacak banyak gambar lalu memilih satu gambar untuk dijadikan gambar Title Screen dan mengacak banyak BGM lalu memilih satu BGM untuk dijadikan BGM Title Screen, dll.




Fitur :

  • Random Gambar Title Screen
  • Random BGM Title Screen
  • Splash Screen




Scripts :

Code:
#==============================================================================
# ** Title ScreenZ 1.1
#------------------------------------------------------------------------------
#  Script ini digunakan untuk mengedit Title Screen game kalian, misalnya
#  mengacak banyak gambar lalu memilih satu gambar untuk dijadikan gambar
#  Title Screen dan mengacak banyak BGM lalu memilih satu BGM untuk dijadikan
#  BGM Title Screen, dll.
#
#  Developer : Arpib.Z.Zaszi
#
#------------------------------------------------------------------------------
# Change Logs :
# -----------------------------------------------------------------------------
#  Version 1.0 (09 Juli 2015):
#  - Pembuatan Script TitleScreenZ
#
#  Version 1.1 (10 Juli 2015):
#  - Penambahan Script Random BGM Title Screen
#  - Penambahan Script Splash Screen
#==============================================================================

module TitleScreenZ
  #--------------------------------------------------------------------------
  # * Pengaturan Random Images1
  #--------------------------------------------------------------------------
  # * Set ke false untuk menonaktifkan Random Images1
  RandomImages1 = true
  # * Daftar nama file gambar Images1 yang ada di folder ../Graphics/Titles1/
  NameImages1 = ["Images1-1", "Images1-2", "Images1-3", "Images1-4", "Images1-5"]
 
  #--------------------------------------------------------------------------
  # * Pengaturan Random Images2
  #--------------------------------------------------------------------------
  # * Set ke false untuk menonaktifkan Random Images2
  RandomImages2 = true
  # * Daftar nama file gambar Images2 yang ada di folder ../Graphics/Titles2/
  NameImages2 = ["Images2-1", "Images2-2", "Images2-3", "Images2-4", "Images2-5"]
 
  #--------------------------------------------------------------------------
  # * Pengaturan Random BGM
  #--------------------------------------------------------------------------
  # * Set ke false untuk menonaktifkan Random BGM
  RandomBGM = true
  # * Daftar nama file BGM yang ada di folder ../Audio/BGM/
  NameBGM = ["BGM1", "BGM2", "BGM3", "BGM4", "BGM5"]
  # * Keras/Pelannya Suara BGM (default: 100)
  VolumeBGM = 100
  # * Cepat/Lambatnya Suara BGM (default: 100)
  PitchBGM = 100
 
  #--------------------------------------------------------------------------
  # * Pengaturan Splash Screen
  #--------------------------------------------------------------------------
  # * Set ke false untuk menonaktifkan Splash Screen
  SplashScreen = true
  # * Nama file gambar Splash Screen yang ada di folder ../Graphics/System/
  NameSplashScreen = "Logo"
  # * Durasi lamanya gambar Splash Screen
  DurationSplashScreen = 120 # 60 = 1 detik
end

class Scene_Title
  #--------------------------------------------------------------------------
  # * Proses Splash Screen
  #--------------------------------------------------------------------------
  def start
    $SplashScreen = TitleScreenZ::SplashScreen
    super
    if $SplashScreen == true
    create_splash_screen
    else
    end
    Graphics.freeze
    create_background
    create_foreground
    create_command_window
    play_title_music
  end
 
  def create_splash_screen
    $NameSplashScreen = TitleScreenZ::NameSplashScreen
    $DurationSplashScreen = TitleScreenZ::DurationSplashScreen
    @sprite1 = Sprite.new
    @sprite1.bitmap = Bitmap.new("Graphics/System/" + $NameSplashScreen)
    center_sprite(@sprite1)
    Graphics.wait($DurationSplashScreen)
  end
 
  #--------------------------------------------------------------------------
  # * Proses Random Gambar Title Screen
  #--------------------------------------------------------------------------
  def create_background
    $RandomImages1 = TitleScreenZ::RandomImages1
    $NameImages1 = TitleScreenZ::NameImages1
    $RandomImages2 = TitleScreenZ::RandomImages2
    $NameImages2 = TitleScreenZ::NameImages2
    if $RandomImages1 == true
    @sprite1 = Sprite.new
    $RandomImagesTitleScreen = $NameImages1[rand($NameImages1.size)]
    @sprite1.bitmap = Cache.title1($RandomImagesTitleScreen)
    center_sprite(@sprite1)
    else
    @sprite1 = Sprite.new
    @sprite1.bitmap = Cache.title1($data_system.title1_name)
    center_sprite(@sprite1)
    end
    if $RandomImages2 == true
    @sprite2 = Sprite.new
    $RandomImagesTitleScreen = $NameImages2[rand($NameImages2.size)]
    @sprite2.bitmap = Cache.title2($RandomImagesTitleScreen)
    center_sprite(@sprite2)
    else
    @sprite2 = Sprite.new
    @sprite2.bitmap = Cache.title2($data_system.title2_name)
    center_sprite(@sprite2)
    end
  end
 
  #--------------------------------------------------------------------------
  # * Proses Random BGM Title Screen
  #--------------------------------------------------------------------------
  def play_title_music
    $RandomBGM = TitleScreenZ::RandomBGM
    $NameBGM = TitleScreenZ::NameBGM
    $VolumeBGM = TitleScreenZ::VolumeBGM
    $PitchBGM = TitleScreenZ::PitchBGM
    if $RandomBGM == true
    $RandomBGMTitleScreen = $NameBGM[rand($NameBGM.size)]
    Audio.bgm_play("Audio/BGM/" + $RandomBGMTitleScreen, $VolumeBGM, $PitchBGM)
    RPG::BGS.stop
    RPG::ME.stop
    else
    $data_system.title_bgm.play
    RPG::BGS.stop
    RPG::ME.stop
    end
  end
end




Intruksi :

  1. Copy Script di atas
  2. Buka Script Editor di RPG Maker VX Ace
  3. Paste Script tersebut ke bagian di bawah Materials tapi di atas Main Process
  4. Setting bagian Module TitleScreenZnya sesuai kebutuhan
 

[VXA] Title ScreenZ 1.1

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Ace Scripts-