hey guys. i need some game scripts. like i can put in my inn and they can play poker, puzzle games and more. also if you can find a cradit script i could be cool. thanks
GamerGeeks...
yuzippy
Jul 9 2010, 12:12 PM
Sorry, but try requesting a script in the RPG-Maker XP Request Script section, here.
Nub Cake
Jul 9 2010, 12:25 PM
QUOTE (GamerGeeks @ Jul 9 2010, 12:57 PM)
hey guys. i need some game scripts. like i can put in my inn and they can play poker, puzzle games and more. also if you can find a cradit script i could be cool. thanks
I don't know how far back it is to the credit script, but it has been posted at the script forum before, if not it's here:
#============================================================================== # ¦ Scene_Credits #------------------------------------------------------------------------------ # Scrolls the credits you make below. Original Author unknown. Edited by # MiDas Mike (now known as Emily_Konichi) so it doesn't play over the Title, but runs by calling the following: # $scene = Scene_Credits.new # New Edit 3/6/2007 11:14 PM by AvatarMonkeyKirby. # Ok, what I've done is changed the part of the script that was supposed to make # the credits automatically end so that way they actually end! Yes, they will # actually end when the credits are finished! So, that will make the people you # should give credit to now is: UNKOWN, Emily_Konichi, and AvatarMonkeyKirby. # -sincerly yours, # Your Beloved # Oh yea, and I also added a line of code that fades out the BGM so it fades # sooner and smoother. #==============================================================================
class Scene_Credits
# This next piece of code is the credits. CREDIT=<<_END_ Credits! -------------- Edit here (as Direct By:) And down to _END_ (remove this i made here) _END_ def main
@sprite = Sprite.new #@sprite.bitmap = RPG::Cache.title($data_system.title_name) @backgroundList = ["Title_Pano01"] #Edit this to the title screen(s) you wish to show in the background. They do repeat. @backgroundGameFrameCount = 0 # Number of game frames per background frame. @backgroundG_BFrameCount = 3.4 @sprite.bitmap = RPG::Cache.title(@backgroundList[0])
#Stops all audio but background music. Audio.me_stop Audio.bgs_stop Audio.se_stop
Graphics.transition
loop do
Graphics.update Input.update
update if $scene != self break end end Graphics.freeze @sprite.dispose @credit_sprite.dispose end
##Checks if credits bitmap has reached it's ending point def last? if @frame_index > (@credit_sprite.bitmap.height + 500) $scene = Scene_Map.new Audio.bgm_fade(10000) #aprox 10 seconds return true end return false end
#Check if the credits should be cancelled def cancel? if Input.trigger?(Input::C) $scene = Scene_Map.new return true end return false end def update @backgroundGameFrameCount = @backgroundGameFrameCount + 1 if @backgroundGameFrameCount >= @backgroundG_BFrameCount @backgroundGameFrameCount = 0 # Add current background frame to the end @backgroundList = @backgroundList << @backgroundList[0] # and drop it from the first position @backgroundList.delete_at(0) @sprite.bitmap = RPG::Cache.title(@backgroundList[0]) end return if cancel? return if last? @credit_sprite.oy += 1 #this is the speed that the text scrolls. 1 is default #The fastest I'd recomend is 5, after that it gets hard to read. @frame_index += 1 #This should fix the non-self-ending credits end end
Hope this will help you, and just to have said it, i have not made it and do not take credits, but sadly i can't remember who :/ And poker would be great for games ^^
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.