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] Starting Game Beda

Topik sebelumnya Topik selanjutnya Go down 
[VXA] Starting Game Beda Empty2012-12-13, 16:50
Post[VXA] Starting Game Beda
#1
larkuzo 
Advance
Advance
larkuzo

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

[VXA] Starting Game Beda Vide
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 )


[VXA] Starting Game Beda Empty2012-12-13, 17:03
PostRe: [VXA] Starting Game Beda
#2
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA] Starting Game Beda Vide
kok gak bisa ya??
apa ane yang gak bisa ngaturnya?????
:p
[VXA] Starting Game Beda Empty2012-12-13, 17:05
PostRe: [VXA] Starting Game Beda
#3
larkuzo 
Advance
Advance
larkuzo

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

[VXA] Starting Game Beda Vide
Gak bisa apanya? :v
Di saya bisa :v
[VXA] Starting Game Beda Empty2012-12-13, 17:07
PostRe: [VXA] Starting Game Beda
#4
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA] Starting Game Beda Vide
nyeting tamatnya....
:p

ane udah set true tapi logo gak nongol..
coba bisa lebih detail gak???
[VXA] Starting Game Beda Empty2012-12-13, 17:15
PostRe: [VXA] Starting Game Beda
#5
larkuzo 
Advance
Advance
larkuzo

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

[VXA] Starting Game Beda Vide
Udah disimpen di Graphics/System?
Udah sesuai nama file di folder dan di script?
[VXA] Starting Game Beda Empty2012-12-13, 17:17
PostRe: [VXA] Starting Game Beda
#6
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA] Starting Game Beda Vide
udah..
bntar2

setting tamatnya tu gimana??

script: $tamat=true
gitu???

klo iya setelah itu gmana?
skip menunya udah work...
cuma dibagian ini yang bigung
[VXA] Starting Game Beda Empty2012-12-13, 17:25
PostRe: [VXA] Starting Game Beda
#7
larkuzo 
Advance
Advance
larkuzo

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

[VXA] Starting Game Beda Vide
Cobain save game, terus exit dan buka lagi gamenya
[VXA] Starting Game Beda Empty2012-12-13, 17:29
PostRe: [VXA] Starting Game Beda
#8
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA] Starting Game Beda Vide
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..
нїκѕ нїκѕ нїκѕ нїκѕ
[VXA] Starting Game Beda Empty2012-12-13, 17:30
PostRe: [VXA] Starting Game Beda
#9
arls 
Advance
Advance
arls

Level 5
Posts : 412
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Mapper
Awards:
[VXA] Starting Game Beda Vide
mmm.... Gmana ya kk bikin script ini ngedeteksi kalau kita udah tamat game tersebut?
[VXA] Starting Game Beda Empty2012-12-13, 17:36
PostRe: [VXA] Starting Game Beda
larkuzo 
Advance
Advance
larkuzo

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

[VXA] Starting Game Beda Vide
@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
[VXA] Starting Game Beda Empty
PostRe: [VXA] Starting Game Beda
Sponsored content 




[VXA] Starting Game Beda Vide
 

[VXA] Starting Game Beda

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-