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.
|
|
| 2011-12-31, 10:02 | [ask] jet credit script |
---|
baszto Advance
Posts : 317 Thanked : 2
| kk ada yang tau gak cara memperlambat script credit ini? karna naiknya kecepetan ngerti gak maksud saya? klo gak coba aj dlu scriptny.., thx - Code:
-
module JetCredits # This is the text that will be displayed for the credits rolling. # Stay within the { and the } CREDITS_TEXT = %Q{
Credits Scripts - _________
Jet - Credit Script Others - ________ Jet - Being cools and everything yo AND FINALLY, THE ONE, THE ONLY Jet - he is just too hawt not to credit } # Do you want to center the text in the screen? CENTER_CREDITS_TEXT = true # Are the credits skippable with a button? SKIP_CREDITS_WITH_BUTTON = true # This is the button then can press if they want to skip the credits. SKIP_CREDITS_BUTTON = Input::C end
#=============================================================================== # DON'T EDIT FURTHER UNLESS YOU KNOW WHAT TO DO. #============================================================================== class Scene_Credits < Scene_Base include JetCredits def initialize(return_scene = "Scene_Title") @return_scene = return_scene end def start create_menu_background @text = CREDITS_TEXT q = CENTER_CREDITS_TEXT ? 1 : 0 line_index = 0 @text.each_line {|s| if s[/<img: (.+)>/i].nil? line_index += 1 else line_index += (Cache.picture($1).height / 24.0).round end } @credits = Window_Base.new(0, 416, 544, line_index * 24 + 32) @credits.opacity = 0 line_index = 0 @text.each_line {|s| text_to_draw = s.gsub("\n"){|h| "" } if text_to_draw[/<img: (.+)>/i].nil? @credits.contents.draw_text(0, line_index * 24, 514, 24, text_to_draw, q) line_index += 1 else f = Cache.picture($1) x = q == 1 ? 544 / 2 - (f.width / 2.0) : 0 @credits.contents.blt(x, line_index * 24, f, f.rect) line_index += (f.height / 24.0).round end } end def update super loop do Graphics.update Input.update @credits.y -= 1 if SKIP_CREDITS_WITH_BUTTON if Input.trigger?(SKIP_CREDITS_BUTTON) break end end break if @credits.y <= @credits.height * -1 end eval("$scene = #{@return_scene}.new") end def terminate super dispose_menu_background @credits.dispose end end |
| | | 2011-12-31, 10:05 | Re: [ask] jet credit script |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| mending pake Woratana;s Credit script |
| | | 2011-12-31, 10:20 | Re: [ask] jet credit script |
---|
baszto Advance
Posts : 317 Thanked : 2
| sya gak ngerti sama yg punya woratana |
| | | 2011-12-31, 10:24 | Re: [ask] jet credit script |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| - Quote :
- sya gak ngerti sama yg punya woratana
perasaan lebih gampang deh kok malah ngga ngerti |
| | | 2011-12-31, 10:59 | Re: [ask] jet credit script |
---|
baszto Advance
Posts : 317 Thanked : 2
| entahlah, pengertian orang itukan beda2 |
| | | 2011-12-31, 11:40 | Re: [ask] jet credit script |
---|
DrDhoom Doomed Zombie
Posts : 629 Thanked : 22 Engine : Multi-Engine User Skill : Intermediate Type : Scripter
| - Code:
-
module JetCredits # This is the text that will be displayed for the credits rolling. # Stay within the { and the } CREDITS_TEXT = %Q{
Credits Scripts - _________
Jet - Credit Script Others - ________ Jet - Being cools and everything yo AND FINALLY, THE ONE, THE ONLY Jet - he is just too hawt not to credit } # Do you want to center the text in the screen? CENTER_CREDITS_TEXT = true # Are the credits skippable with a button? SKIP_CREDITS_WITH_BUTTON = true # This is the button then can press if they want to skip the credits. SKIP_CREDITS_BUTTON = Input::C #Editted by DrDhoom CD = 3 #Greater number, slower scroll end
#=============================================================================== # DON'T EDIT FURTHER UNLESS YOU KNOW WHAT TO DO. #============================================================================== class Scene_Credits < Scene_Base include JetCredits def initialize(return_scene = "Scene_Title") @return_scene = return_scene @cd = CD end def start create_menu_background @text = CREDITS_TEXT q = CENTER_CREDITS_TEXT ? 1 : 0 line_index = 0 @text.each_line {|s| if s[/<img: (.+)>/i].nil? line_index += 1 else line_index += (Cache.picture($1).height / 24.0).round end } @credits = Window_Base.new(0, 416, 544, line_index * 24 + 32) @credits.opacity = 0 line_index = 0 @text.each_line {|s| text_to_draw = s.gsub("\n"){|h| "" } if text_to_draw[/<img: (.+)>/i].nil? @credits.contents.draw_text(0, line_index * 24, 514, 24, text_to_draw, q) line_index += 1 else f = Cache.picture($1) x = q == 1 ? 544 / 2 - (f.width / 2.0) : 0 @credits.contents.blt(x, line_index * 24, f, f.rect) line_index += (f.height / 24.0).round end } end def update super loop do Graphics.update Input.update #Edited @cd -= 1 if @cd <= 0 @credits.y -= 1 @cd = CD end #End of edit if SKIP_CREDITS_WITH_BUTTON if Input.trigger?(SKIP_CREDITS_BUTTON) break end end break if @credits.y <= @credits.height * -1 end eval("$scene = #{@return_scene}.new") end def terminate super dispose_menu_background @credits.dispose end end Pengaturan kecepatannya ada di Module |
| | | 2011-12-31, 12:01 | Re: [ask] jet credit script |
---|
baszto Advance
Posts : 317 Thanked : 2
| ok sip om thx banget ya topic solved. |
| | | | Re: [ask] jet credit script |
---|
Sponsored content
| | | | Similar topics | |
|
Similar topics | |
| |
Halaman 1 dari 1 | |
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
Latest 10 Topics | [Web Novel] Gloria Infidelis 2016-11-17, 21:27 by LightNightKnight
[Announcement] Forum baru untuk RMID 2016-08-25, 16:39 by TheoAllen
Where I'm Wrong ? 2016-07-24, 16:10 by ReydVires
flakeheartnet's Resources part III 2016-07-08, 14:30 by flakeheartnet
Keira's Art Warehouse 2016-06-28, 19:27 by KeiraBlaze
Theo Core Time System + Bingung 2016-06-27, 16:24 by Lockin
Error Script, Maybe ? 2016-06-27, 16:20 by Lockin
Nusaimoe @ RMID Lounge 2016-06-21, 05:02 by Jihad Bagas
Call Random Battle 2016-06-15, 17:04 by Lockin
Flakeheartnet Resources Part II [come back gift] 2016-06-07, 15:51 by flakeheartnet
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|
|
|