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.
|
|
| Sprite berjalan di menu v1.0 | |
| 2009-08-23, 11:36 | Sprite berjalan di menu v1.0 |
---|
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Awards:
| Sprite berjalan di menu Versi: 1.0 Tipe: Menu eyecandy PengenalanBeberapa alasan untuk ngebuat script ini: 1. Ada requestor di RRR yang pengen menu kayak Kingdom Hearts 1 & 2, dan karakternya pada jalan. Ada sih kulihat di XP, tapi di VX... 2. Hanya pengen coba-coba. Hanya latihan untuk tahu gimana cara menggambar sprite. Kayaknya bisa jadi latihan bagus nih... FiturHanya gambarin sprite di menu kayak script yang gambarin sprite di luar sana. Hanya ada satu perbedaan: Spritenya dianimasikan/bergerak. Bisa juga milih gambar mana untuk ditunjukkin. ScreenshotsLihat spritenya nongol di menu, tapi yang saya lingkari adalah sprite utama. DemoNgapain? Scripts- Spoiler:
- Code:
-
=begin ================================================================================ Walking Sprites Menu v1.0 by wltr3565 ================================================================================ Many reasons built up for making this script. 1. I saw some script request to make Kingdom Hearts 1 & 2 styled menu screen, and the menu having the characters walking. I do saw it in XP, but in VX... 2. Just want to understand how the character sheets were drawn. It will be a good traning for me, somehow... ================================================================================ Script effect: Just showing character sprites in the menu like run-of-the-mill other menu redraw scripts. But only one difference: The sprites are walking. You can adjust what sprite to show too. ================================================================================ FAQ: Q: Somewhat this script is not working. Nothing happens. A: Please, put it below any party or menu-related scripts. Else, nothing will show. ================================================================================ Incompability: Hard to tell. But I do found this script not working with KGC's Large Party script. But the problem solved already. Put it below the large party script. ================================================================================ Install: Put it below any party related scripts and above main. ================================================================================ Terms of use: Credit wltr3565, and everything will be enough. ================================================================================ =end module WLTR #=============================================================================== #File name at the end of the file for using other sprite to show. Like _1 to #show Kaduki's normal idle stance instead just a walking sprite. #=============================================================================== SPRITE_ADJUST = "_1" end
#============================================================================== # ** Window_MenuStatus #------------------------------------------------------------------------------ # This window displays party member status on the menu screen. #==============================================================================
class Window_MenuStatus < Window_Selectable alias define initialize def initialize(x, y) @anim_index = 0 if @anim_index == nil @flip = false define(x,y) end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- alias sprite_drawing refresh def refresh sprite_drawing if @anim_index == 0 @anim_index = 1 @flip = false elsif @anim_index == 1 if @flip == false @anim_index = 2 else @anim_index = 0 end elsif @anim_index == 2 @anim_index = 1 @flip = true end
for actor in $game_party.members draw_actor_graphic_extreme(actor, 20, actor.index * 96 + 96, @anim_index) end end end
class Window_Base < Window def draw_actor_graphic_extreme(actor, x, y, anim) draw_character_extreme(actor.character_name, actor.character_index, x, y, anim) end def draw_character_extreme(character_name, character_index, x, y,anim) return if character_name == nil bitmap = Cache.character(character_name+WLTR::SPRITE_ADJUST) sign = character_name[/^[\!\$]./] if sign != nil and sign.include?('$') cw = bitmap.width / 3 ch = bitmap.height / 4 else cw = bitmap.width / 12 ch = bitmap.height / 8 end n = character_index a = anim src_rect = Rect.new((n%4*3+a)*cw, (n/4*4)*ch, cw, ch) self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect) end end
class Scene_Menu < Scene_Base def wait(duration) for i in 0...duration Graphics.update Input.update @command_window.update @status_window.update if @command_window.active update_command_selection elsif @status_window.active update_actor_selection end end end alias new update def update new @status_window.refresh wait(10) end end
Sori kalo dalam inggris. males terjemahin. CreditsThanks
- Requestor dari RRR.
- Lagi, Gust. Aku lagi main A8 sih. Kulihat battlernya Edge dan Iris dianimasiin.
|
| | | 2009-08-23, 12:01 | Re: Sprite berjalan di menu v1.0 |
---|
dnasman
Admin Kodok Ganteng Indonesia™
Posts : 1361 Thanked : 21 Engine : RMXP Skill : Intermediate Type : Event Designer
Awards:
| Tadi abis nyobain, terus nemuin error. entah kenapa padahal belum aku utak-atik scriptnya kenapa tuh ya? thnx |
| | | 2009-08-23, 12:25 | Re: Sprite berjalan di menu v1.0 |
---|
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Awards:
| Kagak ada masalah tuh. Yang di rmvx.net juga bilang kagak ada masalah (kecuali lag ) Pake script apa aja? copy pastenya bener gak? Note: Kusaranin module SPRITE_ADJUST diisiin ini deh = "". Ini bakal gunain sprite jalan yang biasa. |
| | | 2009-08-23, 17:41 | Re: Sprite berjalan di menu v1.0 |
---|
chapiiy Newbie
Posts : 6 Thanked : 0 Engine : RMVX
| saya juga sudah coba tapi menemuka problem dgn kk dnasman. thx |
| | | 2009-08-23, 17:47 | Re: Sprite berjalan di menu v1.0 |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| @dnas itu eror kalo script Scene_Base tidak ada (misal dipake di XP). |
| | | 2009-10-21, 20:55 | Re: Sprite berjalan di menu v1.0 |
---|
vherolly Newbie
Posts : 5 Thanked : 0 Engine : RMVX
| | | | 2009-10-22, 13:24 | Re: Sprite berjalan di menu v1.0 |
---|
Atsavin Advance
Posts : 490 Thanked : 11 Engine : Multi-Engine User Skill : Beginner Type : Writer
| kk/cc vherolly ini kan thread nya udah rada lama , baiknya jangan mereply thread ini karena ini termasuk necro post (klo gak salah) |
| | | 2009-10-26, 21:30 | Re: Sprite berjalan di menu v1.0 |
---|
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Awards:
| Sori. Yang lebih keupdate itu ada di RMVX.net.http://www.rpgmakervx.net/index.php?showtopic=19081 |
| | | 2010-04-21, 16:03 | Re: Sprite berjalan di menu v1.0 |
---|
sickozee Newbie
Posts : 13 Thanked : 0 Engine : RMVX
| kk, script ini taro dimana???? maap kalo OOT |
| | | 2010-04-21, 16:16 | Re: Sprite berjalan di menu v1.0 |
---|
eve Loli Mecha Mesum Musume
Posts : 1620 Thanked : 30 Engine : Other Skill : Beginner Type : Writer
Awards:
| @^ selamat, anda barusaja melakukan necro post.,., tapi karena masih baru, eve pikir ga masalah (asal ga diulangi) sekaligus jawab pertanyaannya: - petunjuk scriptnya wrote:
- Install:
Put it below any party related scripts and above main. tuh kan ada., baca lagi scriptnya deh kalau ga ngerti itu bahasa indonesianya pa, kira2 artinya seperti gini: - petunjuk scriptnya translated by eve wrote:
- Install:
Simpan di atas semua script yang berhubungan sama parti dan di atas Main. |
| | | | Re: Sprite berjalan di menu v1.0 |
---|
Sponsored content
| | | | | Sprite berjalan di menu v1.0 | |
|
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 ]
|
|
|
|
|
|