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 | 
 

 [XP]Nufus Scene Splash

Topik sebelumnya Topik selanjutnya Go down 
[XP]Nufus Scene Splash Empty2012-03-15, 15:42
Post[XP]Nufus Scene Splash
#1
Nefusa 7 
Senior
Senior
Nefusa 7

Level 5
Posts : 954
Thanked : 6
Engine : RMXP
Skill : Intermediate
Type : Scripter

[XP]Nufus Scene Splash Vide
Nufus Scene Splash
Engine: RMXP
Versi: 1.0
Tipe: Before Title


Pengenalan
Ini adalah script convertan dari [VX]Nufus Scene Splash


Fitur

  • Splash before Title



Screenshots
Tidak dibutuhkan


Demo
Here


Scripts
Code:
#------------------------------------------------------------------------
# [XP] Splash Screen ( ver 1.0 ) ORIGINAL
# Author : Nufus27
#------------------------------------------------------------------------
# ** Description
#    This script show a splash screen before title screen
#------------------------------------------------------------------------
# ** How to use
#    => Place this script above main
#    => in main, change "$scene = Scene_Title.new" to "$scene = Scene_Splash.new"
#------------------------------------------------------------------------
# ** Credit to:
#    => Nefusa 7
#------------------------------------------------------------------------
class Scene_Splash
 #--------------------------------------------------------------------------
 # â—Ź Initialize the scene
 #-------------------------------------------------------------------------- 
 def main
 # Load the System database & create a new game 
 $data_system = load_data("Data/System.rxdata")
 $game_system = Game_System.new
 # Initialize some transition stuff
 @show = true
 @hide = false
 @n = 0
 @splash_numb = 2
 # Define info about each splash screen
 @sprite1 = Sprite.new
 @sprite1.bitmap = RPG::Cache.title("Splash-1")
 @sprite1.opacity = 0
 @sprite2 = Sprite.new
 @sprite2.bitmap = RPG::Cache.title("Splash-2")
 @sprite2.opacity = 0
 # Update graphics and input
 Graphics.transition
 loop do
  Graphics.update
  Input.update
  update
  if $scene != self
    break
  end
 end
 # Discard your graphics when you leave this scene
 Graphics.freeze
 @sprite1.dispose
 @sprite2.dispose
 end
 #--------------------------------------------------------------------------
 # â—Ź Update the contents in this scene
 #--------------------------------------------------------------------------
 def update
  # If SPACEBAR is pressed, go to to title screen
  if Input.trigger?(Input::C)
    $game_system.se_play($data_system.decision_se)
    $scene = Scene_Title.new
  end
  # Change the opacity of the graphics
  transition
  # Update graphics
  @sprite1.update
  @sprite2.update
 end
 #--------------------------------------------------------------
 # Transition through splash screens
 #-------------------------------------------------------------- 
 def transition
      # Fade in a splashscreen
      if @show == true
        @n += 2
        if @n > 255
          @hide = true
          @show = false
          @n = 255
        end
      end
      # Fade out a splashscreen and load the next one
      if @hide == true
        @n -= 2
        if @n < 0
          @hide = false
          @show = true
          @splash_numb -= 1
          @n = 0
        end
      end     
      # Choose which action to perform in this scene
      case @splash_numb     
        when 0
          $scene = Scene_Title.new
        when 1
          @sprite2.opacity = @n
        when 2
          @sprite1.opacity = @n
      end
    end
end     


Credits

  • Nefusa 7
[XP]Nufus Scene Splash Empty2012-03-15, 21:54
PostRe: [XP]Nufus Scene Splash
#2
Roger 
Novice
Novice
Roger

Level 5
Posts : 191
Thanked : 3
Engine : RMVX
Skill : Very Beginner
Type : Scripter

[XP]Nufus Scene Splash Vide
Nah ini script yg saya cari !!
minta ijin mengembangkan
:sembah:
[XP]Nufus Scene Splash Empty2012-03-15, 23:16
PostRe: [XP]Nufus Scene Splash
#3
budi 
Newbie
Newbie
budi

Level 5
Posts : 7
Thanked : 0
Engine : RMXP
Skill : Very Beginner
Type : Mapper

[XP]Nufus Scene Splash Vide
akhirnya keluar juga buat yg XP :clap: :thumbup:

makasih ya mas bro....

[XP]Nufus Scene Splash Empty2012-03-16, 04:38
PostRe: [XP]Nufus Scene Splash
#4
Nefusa 7 
Senior
Senior
Nefusa 7

Level 5
Posts : 954
Thanked : 6
Engine : RMXP
Skill : Intermediate
Type : Scripter

[XP]Nufus Scene Splash Vide
@roger, silahkan :D

@budi, sama-sama :D
[XP]Nufus Scene Splash Empty2012-03-16, 05:39
PostRe: [XP]Nufus Scene Splash
#5
Garry Laly 
Senior
Senior
Garry Laly

Level 5
Posts : 651
Thanked : 3
Engine : Multi-Engine User
Skill : Beginner

[XP]Nufus Scene Splash Vide
Wah :D

Cocok nih, ojekanku di XP semua sekarang :-
[XP]Nufus Scene Splash Empty
PostRe: [XP]Nufus Scene Splash
#6
Sponsored content 




[XP]Nufus Scene Splash Vide
 

[XP]Nufus Scene Splash

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 :: RMXP Scripts-