05-01-2007, 01:00 PM
Credit Script 1.4 REAL
By Acoole
May 1 2007
Ok,
This one is fully working and tested. My first script!
Instructions inside script.
This is a basic Credit Script.
Please do use, or just look at it.
I Spent alot of time fixing bugs, I Finally see how hard the scripting process is.
ChangeLog and future plans inside.
You can ethier download the demo, Click on script. Or just read the code posted here.
NOTICE: The latest release will Be Posted here anything with an (old) on it, is out of date, The demo will be updated when their is a big Update.
Thanks,
-Acoole
By Acoole
May 1 2007
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
No support is given. If you are the owner of the thread, please contact administration.
Ok,
This one is fully working and tested. My first script!
Instructions inside script.
This is a basic Credit Script.
Please do use, or just look at it.
I Spent alot of time fixing bugs, I Finally see how hard the scripting process is.
ChangeLog and future plans inside.
You can ethier download the demo, Click on script. Or just read the code posted here.
NOTICE: The latest release will Be Posted here anything with an (old) on it, is out of date, The demo will be updated when their is a big Update.
Code:
#===================================================
# - Credit Script 1.4
#===================================================
# Credit Script 1.4 Is A non-event based credit system.
# I made this because its easy' and people may(probally not)
# Want their credits to be displayed on one Whole screen.
# This will display all the credits on one screen.
# Make an event, click script fuction and call it with:
# $scene = Scene_Credits.new
#---------------------------------------------------------
#To edit the text go down to where ive commented.
#---------------------------------------------------------
# For the future:
# Scrolling
# A Small-Portal maybe an HP Bar and stuff.
# Hopefully soon to be added!
#--------------------------------------------------------------------------------
# Check my work out at http://www.creationasylum.net/.
#--------------------------------------------------------------------------------
# Other stuff ive done:
# Free FTP Upload for your files, Unlimited space:
# http://www.creationasylum.net/index.php?showtopic=16979&view=getnewpost
#--------------------------------------------------------------------------------
# Credits:
# Music gotten from one of Dubealex's Scripts.
# Read several RGSS Tutorials written by Dubealex and some other peoples ones.
# FAQ: Why old SDK
# A: Because i don't have the hang of The new one quite yet.
#-------------------------------------------------------------------------------
# ChangeLog:
# 1.4: Added SDK Compatibilty
# 1.3: Added Playtime( oo... we are nearer to being a portal!) - never released
# 1.2: Small Lagg bug fixed and added music!
# 1.1: First release.
#-------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# * SDK Log Script
#------------------------------------------------------------------------------
SDK.log('Credit Script', 'Acoole a.k.a Andrew', 2, '2.05.07')
#------------------------------------------------------------------------------
# * Begin SDK Enable Test
#------------------------------------------------------------------------------
if SDK.state('Credit Script') == true
class Scene_Credits
#---------------------------------------------------------------------------------
def initialize
end
#---------------------------------------------------------------------------------
def main
@window1 = Window1.new
@window1.x =0
@window1.y =0
@window1.height = 480
@window1.width = 641
#@window1.z = 200
Graphics.transition
loop do
Graphics.update
Input.update
#update
if $scene != self
break
end
end
Graphics.freeze
@window1.dispose
end
#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------
def update
end
#---------------------------------------------------------------------------------
end
class Window1 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 641,480)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 40
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 70, 70, "Credits")
self.contents.font.size = 22
# TEXT BEGINS
self.contents.draw_text(0, 0, 150, 150, "Scripted By Acoole")
self.contents.draw_text(0, 0, 250, 250, "Music By Acoole")
self.contents.draw_text(0, 0, 350, 350, "Idea By Acoole")
self.contents.draw_text(0, 0, 450, 450, "System By NetPlay Plus")
self.contents.draw_text(0, 0, 550, 550, "Interface By SomeGuy")
# TEXT ENDS
#Time starts(don't have to touch)
@total_sec = Graphics.frame_count / Graphics.frame_rate
hour = @total_sec / 60 / 60
min = @total_sec / 60 % 60
sec = @total_sec % 60
text = sprintf("%02d:%02d:%02d", hour, min, sec)
self.contents.font.color = normal_color
self.contents.draw_text(100, 0, 120, 32, text)
#Time ends
end
#---------------------------------------------------------------------------------
end
end
#------------------------------------------------------------------------------
# * End SDK Enable Test
#------------------------------------------------------------------------------
Thanks,
-Acoole