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.
|
|
| [Solved] Kakak scripter bantu saya! | |
| 2012-05-07, 14:39 | [Solved] Kakak scripter bantu saya! |
---|
Uchiha Melvin Newbie
Posts : 60 Thanked : 0 Engine : RMXP Skill : Beginner Type : Event Designer
| Mau nanya nih kakak! Cara merubah tampilan credits yang ada di scripts ini (http://www.rmxpunlimited.net/forums/topic/4591-credits-script/) yang tadinya posisi hurufnya center menjadi Align Left (Rata Kiri) gimana sih? - Spoiler:
CREDITS_FONT = "Times New Roman" CREDITS_SIZE = 24 CREDITS_OUTLINE = Color.new(0,0,127, 255) CREDITS_SHADOW = Color.new(0,0,0, 100) CREDITS_FILL = Color.new(255,255,255, 255)
#============================================================================== # ¦ Scene_Credits #------------------------------------------------------------------------------ # Scrolls the credits you make below. Original Author unknown. Edited by # MiDas Mike so it doesn't play over the Title, but runs by calling the following: # $scene = Scene_Credits.new #==============================================================================
class Scene_Credits
# This next piece of code is the credits. CREDIT=<<_END_ #Start Editing Untitled Project
Director --------------- MiDas Mike
Scripts --------------- SephirothSpawn Deke Dubealex Momomomo? (yes, that's their name) Wachunga Near Fantastica Datriot MeisMe rpgmaker CogWheel BudsieBuds
Graphics --------------- Tana zanyzora ccoa Enterbrain TR-the-one-and-only
Music and sound --------------- Andrew Estrada DoomWorld.com IcePlug Andy Smith Enterbrain Joe Gallagher drenrin2120
Mapping --------------- MiDas Mike
Storyline --------------- MiDas Mike
Beta Testers ---------------
Special Thanks --------------- Unlimited Adventures - "Without that game, this game would never have made a start. UA is where Journey of Heroes first started."
Trickster - "Thanks for fixing the scripts. I greatly appreciate your help in this project."
---------------
Thank you for playing this game. We hope you enjoyed it. Watch for other titles by MiDas Productions in the future..
#Stop Editing _END_ def main #------------------------------- # Animated Background Setup #------------------------------- @sprite = Sprite.new #@sprite.bitmap = RPG::Cache.title($data_system.title_name) @backgroundList = ["MiDas"] #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]) #------------------ # Credits Setup #------------------ credit_lines = CREDIT.split(/\n/) credit_bitmap = Bitmap.new(640,32 * credit_lines.size) credit_lines.each_index do |i| line = credit_lines[i] credit_bitmap.font.name = CREDITS_FONT credit_bitmap.font.size = CREDITS_SIZE x = 0 credit_bitmap.font.color = CREDITS_OUTLINE credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line,1) credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line,1) credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line,1) credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line,1) credit_bitmap.font.color = CREDITS_SHADOW credit_bitmap.draw_text(0,i * 32 + 8,640,32,line,1) credit_bitmap.font.color = CREDITS_FILL credit_bitmap.draw_text(0,i * 32,640,32,line,1) end @credit_sprite = Sprite.new(Viewport.new(0,50,640,380)) @credit_sprite.bitmap = credit_bitmap @credit_sprite.z = 9998 @credit_sprite.oy = -430 @frame_index = 0 @last_flag = false #-------- # Setup #-------- # ME?BGS ?????? 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? return (@frame_index >= @credit_sprite.bitmap.height + 480) end def last if not @last_flag @last_flag = true @last_count = 0 else @last_count += 1 end if @last_count >= 300 $scene = Scene_Map.new end 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? last if last? @credit_sprite.oy += 1 end end
|
| | | 2012-05-07, 14:59 | Re: [Solved] Kakak scripter bantu saya! |
---|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Awards:
| credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line, 1) credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line, 1) credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line, 1) credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line, 1) credit_bitmap.font.color = CREDITS_SHADOW credit_bitmap.draw_text(0,i * 32 + 8,640,32,line, 1) credit_bitmap.font.color = CREDITS_FILL credit_bitmap.draw_text(0,i * 32,640,32,line, 1) yang dibold itu diganti dengan 0 |
| | | 2012-05-07, 15:12 | Re: [Solved] Kakak scripter bantu saya! |
---|
Uchiha Melvin Newbie
Posts : 60 Thanked : 0 Engine : RMXP Skill : Beginner Type : Event Designer
| makasih kakak akan saya coba |
| | | 2012-05-07, 15:17 | Re: [Solved] Kakak scripter bantu saya! |
---|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Awards:
| sama-sama |
| | | 2012-05-07, 16:21 | Re: [Solved] Kakak scripter bantu saya! |
---|
Uchiha Melvin Newbie
Posts : 60 Thanked : 0 Engine : RMXP Skill : Beginner Type : Event Designer
| Makasih kakak, bisa.... Thread saya dah selesai silahkan di locked |
| | | 2012-05-07, 17:52 | Re: [Solved] Kakak scripter bantu saya! |
---|
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Awards:
| Berhubung udah solved dan saya lihat sepertinya tidak ada yang ingin ditambahkan lagi, maka saya akan me-lock thread ini. Kalau TS atau member lain ingin menambahkan, harap hubungi admin atau moderator setempat. Terima kasih. ~Locked Since Solved~ |
| | | | Re: [Solved] Kakak scripter bantu saya! |
---|
Sponsored content
| | | | | [Solved] Kakak scripter bantu saya! | |
|
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 ]
|
|
|
|
|
|