타이틀/게임오버

Random Title Screen

by Man... posted Oct 28, 2008
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
Random Title Screen
Version
1.0
by Woratana
Release Date: 07/02/2008


Introduction
This script will random your tile screen.
To make player not get bored every time they start game. smile.gif


Features
Version 1.0
- Random title screen from pictures as much as you want
시작
#======================================================================
========
# ■ [RMVX] +Random Title Screen+
#------------------------------------------------------------------------------
# Version 1.0
# by Woratana [woratana@hotmail.com]
# Release Date: 07/02/2008
#
# This scrip will random title screen
#
# You can set title screen pictures to be random at line:
# Title = ["filename","filename2","filename3",...]
# title screen picture must be in folder "System"
#
# For example, Title = ["Screenfire","Title1"]
# >> Title Screen will random between pictures "Screenfire" and "Title1".
#=============================================================================
class Scene_Title < Scene_Base
Title = Array.new

# Set Title Screen Pictures for random here!
Title = ["Title","Title10","Title25","Title50","Title80"]

def create_title_graphic
@sprite = Sprite.new
title_random = rand(Title.size)
@sprite.bitmap = Cache.system(Title[title_random].to_s)
end
end