RPGMakerID
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Komunitas RPG Maker Indonesia
 
IndeksIndeks  Latest imagesLatest images  PencarianPencarian  PendaftaranPendaftaran  Login  
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.

 

 [VXA] Starting Game Beda

Go down 
3 posters
PengirimMessage
larkuzo
Advance
Advance
larkuzo


Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA] Starting Game Beda Empty
PostSubyek: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 16:50

Starting Game Beda
Versi: 1.0
Tipe: Custom


Pengenalan

Membantu ini ~ https://rmid.forumotion.net/t7209p20-cara-starting-game-yang-beda-v#110675


Fitur


  • Gak munculin Title Screen kalo belum ada save-an
  • Munculin Title Screen kalo udah ada save-an :v
  • Munculin logo di Title Screen kalo udah tamat



Screenshots
Buat apa?


Demo
Bandwidth sekarat :v


Scripts
Code:

#-------------------------------------------------------------------------------
# Custom System
# Author : larkuzo
# Contacts : http://www.rpgmakerid.com/u2820
# Publisher : Larkuzoft
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
#                        CONFIG HERE!!
#-------------------------------------------------------------------------------
module Larkuzo
  LOGO_X = 300 #posisi X logo
  LOGO_Y = 210 #posisi Y logo
  LOGO_NAME = "Logo" #nama file logo
  CENTER_LOGO = false #true/false, logonya ditengah
end
#-------------------------------------------------------------------------------
# Cara pakai :
# Paste kan script ini di bawah materials di atas main, kemudian copy kan gambar
# yang akan dijadikan logo ke folder Graphics/System, ubah LOGO_NAME di atas
# sesuai dengan nama file logo mu.
# Kemudian, saat di tamat game, jangan lupa untuk gunakan call script command
# di page 4, kemudian tuliskan ini :
# $tamat = true
# Nanti script ini akan memeriksa setiap mulai game, apakah sudah tamat atau
# belum, tergantung variable $tamat.
#-------------------------------------------------------------------------------
'##############################################################################'
'##############################################################################'
'########################## AWAS, ANJING GALAK!! :v ###########################'
'##############################################################################'
'##############################################################################'
#-------------------------------------------------------------------------------
# Scene Manager
#-------------------------------------------------------------------------------
module SceneManager
  def self.run
    DataManager.init
    Audio.setup_midi if use_midi?
    if first_scene_class == Scene_Map
      DataManager.setup_new_game
      $game_map.autoplay
    end
    @scene = first_scene_class.new
    @scene.main while @scene
  end
  def self.first_scene_class
    $BTEST ? Scene_Battle : DataManager.save_file_exists? ? Scene_Title : Scene_Map
  end
end

module DataManager
  #--------------------------------------------------------------------------
  # * Create Save Contents
  #--------------------------------------------------------------------------
  def self.make_save_contents
    contents = {}
    contents[:system]        = $game_system
    contents[:timer]        = $game_timer
    contents[:message]      = $game_message
    contents[:switches]      = $game_switches
    contents[:variables]    = $game_variables
    contents[:self_switches] = $game_self_switches
    contents[:actors]        = $game_actors
    contents[:party]        = $game_party
    contents[:troop]        = $game_troop
    contents[:map]          = $game_map
    contents[:player]        = $game_player
    contents[:tamat]        = $tamat
    contents
  end
  #--------------------------------------------------------------------------
  # * Extract Save Contents
  #--------------------------------------------------------------------------
  def self.extract_save_contents(contents)
    $game_system        = contents[:system]
    $game_timer        = contents[:timer]
    $game_message      = contents[:message]
    $game_switches      = contents[:switches]
    $game_variables    = contents[:variables]
    $game_self_switches = contents[:self_switches]
    $game_actors        = contents[:actors]
    $game_party        = contents[:party]
    $game_troop        = contents[:troop]
    $game_map          = contents[:map]
    $game_player        = contents[:player]
    $tamat              = contents[:tamat]
  end
  #--------------------------------------------------------------------------
  def self.create_game_objects
    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_timer        = Game_Timer.new
    $game_message      = Game_Message.new
    $game_switches      = Game_Switches.new
    $game_variables    = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.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
    $tamat              = false
  end
end
#-------------------------------------------------------------------------------
# Scene_Title
#-------------------------------------------------------------------------------
class Scene_Title < Scene_Base
  alias :starts :start
  def start
    for i in 0..DataManager.savefile_max - 1
      if !Dir.glob(sprintf("Save%02d.rvdata2", i+1)).empty?
        DataManager.load_game(i)
        if $tamat
          break
        end
      end
    end
    starts
    $tamat ? draw_logo : nil
  end
  #-----------------------------------------------------------------
  # Draw Logo
  #-----------------------------------------------------------------
  def draw_logo
    @logo = Sprite.new
    @gambar_logo = Cache.system(Larkuzo::LOGO_NAME) rescue nil
    @logo.bitmap = @gambar_logo
    @logo.x = Larkuzo::LOGO_X
    @logo.y = Larkuzo::LOGO_Y
    @logo.z = @command_window.z-1
    center_sprite(@logo) if Larkuzo::CENTER_LOGO
  end 
  #-----------------------------------------------------------------
  # Terminate
  #-----------------------------------------------------------------
  alias :terminates :terminate
  def terminate
    terminates
    delete_logo if $tamat
  end
  #-----------------------------------------------------------------
  # Delete Logo
  #-----------------------------------------------------------------
  def delete_logo
    @logo.bitmap.dispose
    @logo.dispose
  end
end
cara pakai ada di script


Credits


  • Enterbrain
  • Larkuzo (kalo mau :v )


Kembali Ke Atas Go down
http://fsfsource.blogspot.com
Radis3D
Sang Iblis
Radis3D


Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer

Trophies
Awards:
[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:03

kok gak bisa ya??
apa ane yang gak bisa ngaturnya?????
:p
Kembali Ke Atas Go down
larkuzo
Advance
Advance
larkuzo


Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:05

Gak bisa apanya? :v
Di saya bisa :v
Kembali Ke Atas Go down
http://fsfsource.blogspot.com
Radis3D
Sang Iblis
Radis3D


Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer

Trophies
Awards:
[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:07

nyeting tamatnya....
:p

ane udah set true tapi logo gak nongol..
coba bisa lebih detail gak???
Kembali Ke Atas Go down
larkuzo
Advance
Advance
larkuzo


Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:15

Udah disimpen di Graphics/System?
Udah sesuai nama file di folder dan di script?
Kembali Ke Atas Go down
http://fsfsource.blogspot.com
Radis3D
Sang Iblis
Radis3D


Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer

Trophies
Awards:
[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:17

udah..
bntar2

setting tamatnya tu gimana??

script: $tamat=true
gitu???

klo iya setelah itu gmana?
skip menunya udah work...
cuma dibagian ini yang bigung
Kembali Ke Atas Go down
larkuzo
Advance
Advance
larkuzo


Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:25

Cobain save game, terus exit dan buka lagi gamenya
Kembali Ke Atas Go down
http://fsfsource.blogspot.com
Radis3D
Sang Iblis
Radis3D


Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer

Trophies
Awards:
[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:29

ternyata salah penempatan nya om..
:p

ane taruh save baru tamat
setelah di dibalik
tamat baru save

bisa

maap ya om, gak bisa ngasi jempol meski udah iso..
нїκѕ нїκѕ нїκѕ нїκѕ
Kembali Ke Atas Go down
arls
Advance
Advance
arls


Level 5
Posts : 412
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Mapper

Trophies
Awards:
[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:30

mmm.... Gmana ya kk bikin script ini ngedeteksi kalau kita udah tamat game tersebut?
Kembali Ke Atas Go down
larkuzo
Advance
Advance
larkuzo


Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty2012-12-13, 17:36

@arls
Nambahin data jenis baru (boolean) ke save data, kemudian saat mulai game kita ekstrak setiap save data untuk mencari data boolean tersebut, jika sudah ketemu, tinggal di cek, apakah bernilai true atau false, kalau udah ketemu yang true, ya.. sudah :v
Kalo gak ketemu berarti belum tamat :v
Kesananya terserah :v Tinggal manfaatkan data boolean tersebut :v
Di script ini, data bertipe boolean untuk mengecek tamat atau tidaknya adalah $tamat
Kembali Ke Atas Go down
http://fsfsource.blogspot.com
Sponsored content





[VXA] Starting Game Beda Empty
PostSubyek: Re: [VXA] Starting Game Beda   [VXA] Starting Game Beda Empty

Kembali Ke Atas Go down
 
[VXA] Starting Game Beda
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Cara starting game yang beda :v
» Tentang Starting game dan Finishing Game
» [Ask] Beda sama game yg waktu itu gw bikin
» (ASK) Beda abs dan xas
» [STARTING PROJECT] OverForged

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