|
| Notorius Simple Hud | |
| | Pengirim | Message |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Subyek: Notorius Simple Hud 2009-08-01, 15:15 | |
| Notorius Simple HUD Versi: 1 Tipe: HUD PengenalanKarena aku membuat game yang cuma beraktor satu (notorius doang), terpikirlah untuk memodif Window_MenuStatus... eh ini kebuat.. plus karena ga ada kerjaan Fitur
- Menampilkan Nama actor
- Menampilkan HP dan SP actor
- Menampilkan State Actor
Screenshots DemoGa butuh... Scripts - Code:
-
#============================================================================== # ** Window_Hud #------------------------------------------------------------------------------ # Menampilkan blablabla... ga berguna # #Note: hanya menampilkan actor nomer 1 #==============================================================================
class Window_Hud < Window_Base #-------------------------------------------------------------------------- # Initialize #-------------------------------------------------------------------------- def initialize super(0, 0, 300, 100) self.contents = Bitmap.new(width - 32, height - 32) refresh end #-------------------------------------------------------------------------- # Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear for i in 0...$game_party.actors.size actor = $game_party.actors[i] draw_actor_name(actor, 0, 0) #menampilkan nama draw_actor_state(actor, 70, 0) #State draw_actor_hp(actor, 0, y + 30) #HP draw_actor_sp(actor, 140, y + 30) #SP end end #-------------------------------------------------------------------------- # Update #-------------------------------------------------------------------------- def update refresh #Ya ile, puter-puter end end Instruksi
- Tambahkan beberapa hal ke Scene_Map: ganti:
- Spoiler:
- Code:
-
def main # Make sprite set @spriteset = Spriteset_Map.new # Make message window @message_window = Window_Message.new # Transition run Graphics.transition # Main loop loop do
menjadi ini:
- Spoiler:
- Code:
-
def main # Make sprite set @spriteset = Spriteset_Map.new # Make message window @message_window = Window_Message.new # Buat WindowHud @hud = Window_Hud.new @hud.x = 0 # Lokasi X Hud @hud.y = 0 # Lokasi Y hud @hud.opacity = 0 #Opacity HUD @hud.back_opacity = 0 #Back_O HUD # Transition run Graphics.transition # Main loop loop do
- dan juga
- Spoiler:
- Code:
-
# Dispose of sprite set @spriteset.dispose # Dispose of message window @message_window.dispose
menjadi
- Spoiler:
- Code:
-
# Dispose of sprite set @spriteset.dispose # Dispose of message window @message_window.dispose # Hapus HUD @hud.dispose
- terakhir,
- Spoiler:
- Code:
-
def update # Loop loop do # Update map, interpreter, and player order # (this update order is important for when conditions are fulfilled # to run any event, and the player isn't provided the opportunity to # move in an instant) $game_map.update $game_system.map_interpreter.update $game_player.update # Update system (timer), screen $game_system.update $game_screen.update # Abort loop if player isn't place moving
menjadi
- Spoiler:
- Code:
-
def update # Loop loop do # Update map, interpreter, and player order # (this update order is important for when conditions are fulfilled # to run any event, and the player isn't provided the opportunity to # move in an instant) $game_map.update $game_system.map_interpreter.update $game_player.update #update Window_HUD @hud.update #atau @hud.refresh # Update system (timer), screen $game_system.update $game_screen.update # Abort loop if player isn't place moving
Credits
- Aku sendiri?
- Enterbrain (aku kan ngedit ) dan Mr. Mo deh
| |
| | | solsepatu Advance
Posts : 422 Thanked : 3 Engine : RMVX
| Subyek: Re: Notorius Simple Hud 2009-08-01, 15:48 | |
| Hoooo jadi si Noto sekarang scripter ya... Mantap Lanjutkan ya | |
| | | mbahnoname Senior
Posts : 670 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Mapper
Trophies
Awards:
| Subyek: Re: Notorius Simple Hud 2009-08-01, 16:31 | |
| Om NOTO SCRIPTER ??? Mantep banget master junk.... teruslah pamerkan karya mu !!! Eh bar hpnya bisa di ganti gak ? | |
| | | Randomasta Senior
Posts : 661 Thanked : 6 Engine : RMVX
| Subyek: Re: Notorius Simple Hud 2009-08-01, 17:02 | |
| Hmm.. mungkin bisa dikasi window di bekgronnya, yg rada transparan mungkin, soalnya yg sekarang rada susah kebaca tulisannya (menurutku) | |
| | | dnasman
Admin Kodok Ganteng Indonesiaā¢
Posts : 1361 Thanked : 21 Engine : RMXP Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: Re: Notorius Simple Hud 2009-08-01, 17:20 | |
| Weleh! rupanya lama ga oL itu bertapa digunung utk bljar script yak? btw bener kata om 656, tulisannya rada ga kebaca tuh! (apalagi klo pake tileset snow field ) keep up the good work! ditunggu karya2 selanjutnya | |
| | | ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Trophies
Awards: | Subyek: Re: Notorius Simple Hud 2009-08-01, 17:33 | |
| ade NOTO tuh HUD lebih dibaik di kasih Window warna biru misalnya, soalnya kalo kayak gitu di beberapa tileset jadi ga kebaca... oh ya good job ya | |
| | | Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Subyek: Re: Notorius Simple Hud 2009-08-23, 13:01 | |
| maaf lama ga OL, pasti kalian rindu sama aku <<< siapa bilang! Kita benci junker *kelempar ke tong sampah* Tak jawab ah - mbahnoname wrote:
- Om NOTO SCRIPTER ???
Mantep banget master junk.... teruslah pamerkan karya mu !!!
Eh bar hpnya bisa di ganti gak ? Bisa, itu juga pake Script org wkwkkwkw dasar JUNKER! <<< saiia - 656 wrote:
- Hmm.. mungkin bisa dikasi window di bekgronnya, yg rada transparan mungkin, soalnya yg sekarang rada susah kebaca tulisannya (menurutku)
Gampang, di Scene_Map, @hud.backopacity dan @hud.opacity nya di jadiin 255 aja - Dnasman wrote:
- Weleh! rupanya lama ga oL itu bertapa digunung utk bljar script yak? Very Happy
btw bener kata om 656, tulisannya rada ga kebaca tuh! (apalagi klo pake tileset snow field )
keep up the good work! ditunggu karya2 selanjutnya Iya men, saiia baru pulang MERANTAU <<< ngiklanin film Haduh, sebenernya punya CMS sih, cuman malu ah - theo wrote:
- ade NOTO tuh HUD lebih dibaik di kasih Window warna biru misalnya, soalnya kalo kayak gitu di beberapa tileset jadi ga kebaca... Smile
oh ya good job ya Waduh gw ngacleng nih banyak teriakannya Siap mas, tinggal pake cara yg diatas | |
| | | Sponsored content
| Subyek: Re: Notorius Simple Hud | |
| |
| | | | Notorius Simple Hud | |
|
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 ]
|
|
|
|