|
| animated sprites in the character faces | |
| | Pengirim | Message |
---|
Rexel08 Newbie
Posts : 13 Thanked : 1 Engine : RMVX Skill : Intermediate Type : Writer
| Subyek: animated sprites in the character faces 2011-07-14, 18:26 | |
| gan ane nubi mo nanya, ada nggak script buat nampilin animasi karakter di tempat face di menu. Itu loh yg biasanya kalo kita buka menu kan ada gambar facenya karakter, itu diganti ama animated sprites . kalo ada post disini yak. thanks yang mau bantu | |
| | | LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Trophies
Awards:
| Subyek: Re: animated sprites in the character faces 2011-07-14, 19:04 | |
| Nih saya kasih linknya om wltr3565 : https://rmid.forumotion.net/t478-sprite-berjalan-di-menu-v10Terus kamu script di bawah ini kamu paste Window_MenuStatus : - Spoiler:
- Code:
-
#============================================================================== # ** Window_MenuStatus #------------------------------------------------------------------------------ # This window displays party member status on the menu screen. #==============================================================================
class Window_MenuStatus < Window_Selectable #-------------------------------------------------------------------------- # * Object Initialization # x : window X coordinate # y : window Y coordinate #-------------------------------------------------------------------------- def initialize(x, y) super(x, y, 384, 416) refresh self.active = false self.index = -1 end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear @item_max = $game_party.members.size for actor in $game_party.members x = 104 y = actor.index * 96 + WLH / 2 draw_actor_name(actor, x, y) draw_actor_class(actor, x + 120, y) draw_actor_level(actor, x, y + WLH * 1) draw_actor_state(actor, x, y + WLH * 2) draw_actor_hp(actor, x + 120, y + WLH * 1) draw_actor_mp(actor, x + 120, y + WLH * 2) end end #-------------------------------------------------------------------------- # * Update cursor #-------------------------------------------------------------------------- def update_cursor if @index < 0 # No cursor self.cursor_rect.empty elsif @index < @item_max # Normal self.cursor_rect.set(0, @index * 96, contents.width, 96) elsif @index >= 100 # Self self.cursor_rect.set(0, (@index - 100) * 96, contents.width, 96) else # All self.cursor_rect.set(0, 0, contents.width, @item_max * 96) end end end
Maunya jadi facenya ilang terus diganti sama animated sprite kan? | |
| | | Rexel08 Newbie
Posts : 13 Thanked : 1 Engine : RMVX Skill : Intermediate Type : Writer
| Subyek: Re: animated sprites in the character faces 2011-07-15, 08:41 | |
| - LowlingLife wrote:
- Nih saya kasih linknya om wltr3565 : https://rmid.forumotion.net/t478-sprite-berjalan-di-menu-v10
Terus kamu script di bawah ini kamu paste Window_MenuStatus :
- Spoiler:
- Code:
-
#============================================================================== # ** Window_MenuStatus #------------------------------------------------------------------------------ # This window displays party member status on the menu screen. #==============================================================================
class Window_MenuStatus < Window_Selectable #-------------------------------------------------------------------------- # * Object Initialization # x : window X coordinate # y : window Y coordinate #-------------------------------------------------------------------------- def initialize(x, y) super(x, y, 384, 416) refresh self.active = false self.index = -1 end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear @item_max = $game_party.members.size for actor in $game_party.members x = 104 y = actor.index * 96 + WLH / 2 draw_actor_name(actor, x, y) draw_actor_class(actor, x + 120, y) draw_actor_level(actor, x, y + WLH * 1) draw_actor_state(actor, x, y + WLH * 2) draw_actor_hp(actor, x + 120, y + WLH * 1) draw_actor_mp(actor, x + 120, y + WLH * 2) end end #-------------------------------------------------------------------------- # * Update cursor #-------------------------------------------------------------------------- def update_cursor if @index < 0 # No cursor self.cursor_rect.empty elsif @index < @item_max # Normal self.cursor_rect.set(0, @index * 96, contents.width, 96) elsif @index >= 100 # Self self.cursor_rect.set(0, (@index - 100) * 96, contents.width, 96) else # All self.cursor_rect.set(0, 0, contents.width, @item_max * 96) end end end
Maunya jadi facenya ilang terus diganti sama animated sprite kan? ya, itu scriptnya ya ? thx gan | |
| | | LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Trophies
Awards:
| Subyek: Re: animated sprites in the character faces 2011-07-15, 08:49 | |
| Scriptnya om wltr hanya untuk menambahkan fungsi animated sprites di tempat actor_face.... Kalo mau facenya gak ada & digantiin sama animated sprites, paste script yang di atas di window_menustatus. | |
| | | Sponsored content
| Subyek: Re: animated sprites in the character faces | |
| |
| | | | animated sprites in the character faces | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|