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.

Share | 
 

  edit wltr3565's Burst Gauge v1.9b

Topik sebelumnya Topik selanjutnya Go down 
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-13, 22:22
Post edit wltr3565's Burst Gauge v1.9b
#1
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
OK langsung saja, saat ini aku make wltr3565's Burst Gauge v1.9b dan aku sangat senang dengan script ini akan tetapi ada sedikit yang mengganjal yaitu bentuk gauge yang horizontal karena aku jadi serba salah mau naroh dimana :D kalo ditaroh diatas ntar ketutup ma help window kalo di bawah ntar ketutup ma yang laen lagi :), jadi intinya ada yang bisa ngeditin script ini biar gauge barnya jadi vertical ??

(note: aku dah coba edit sendiri tapi hasilnya malah kacau :D :D)

kurang lebih visualnya kayak gini

 edit wltr3565's Burst Gauge v1.9b Mx0hlk

scriptnya ada di sini wltr3565's Burst Gauge v1.9b thread di rmvx script


atau mungkin bisa dapat suport langsung dari penulis (wltr3565) :) :)

terimaksih :)
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-20, 20:41
PostRe: edit wltr3565's Burst Gauge v1.9b
#2
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
Wah, repot lagi :swt:
Usahain BUMP berkala ya biar aku gak lupa untuk buat versi verticalnya...
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-20, 23:49
PostRe: edit wltr3565's Burst Gauge v1.9b
#3
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
OK thanks buat responsnya, sebenarnya aku juga tidak terlalu terburu2 kok, don't worry, take your time :)

btw sebenarnya aku dah berhasil mengedit supaya gaugenya jadi vertikal dengan mengganti "width" dengan "height" tapi aku masih menemukan sedikit masalah, aku masih sedikit bingung gimana caranya biar gaugenya mulai dari bawah ke atas, karena hasil editanku gaugenya mulai dari atas nambahnya ke bawah, selain itu gaugenya jadi nggak bisa update secara properly, gauge nggak keliatan meskipun pointnya tetap nambah sebelum gauge full untuk pertamakali , tapi setelah gauge full jadi normal lg :)

thanks :)
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-21, 11:03
PostRe: edit wltr3565's Burst Gauge v1.9b
#4
rusted_71 
Scripter Karatan
rusted_71

Level 5
Posts : 392
Thanked : 11
Engine : RMVX
Skill : Beginner
Type : Scripter

 edit wltr3565's Burst Gauge v1.9b Vide
untuk bikin bitmap vertikal yang mulai dari bawah ke atas, coba pake cara ini...:

variable2nya...:
x = posisi x yang di inginkan...
y = posisi y paling atas (titik paling atas bitmap)
max_height = height maksimal yang bisa dicapai.
height = height saat draw bitmap (disini mungkin bisa di masukin variable sekarang)
width = lebar bitmap yang diinginkan...

contoh di RGSS << inget gw RGSS user, hehehehe

self.contents.fill_rect(x, y+max_height-height, width, height, Color.new(150,150,225))

penjelasan:
x,width, sama height kan ga berubah tuh... jadi ga usah di jelasin...

tapi yang berubah tuh cuma y nya...

y+max_height-height...

maksudnya seh biar ngedraw bitmapnya mulai dari titik atas di kurangi selisih max_height sama height, karena titik atas ngedraw bitmapnya dah di turunin sesuai variable jadi titik paling bawah yang dihasilin tuh y+max_height, kan ngedraw bitmapnya mulai dari atas ke bawah.
makanya tar hasilnya seperti ngedraw bitmap dari bawah ke atas, kan titik bawahnya rata, sedangkan titik atasnya beda...

untuk liat contohnya buka neh thread liat bitmap stat charnya

wah dah jelasin panjang lebar, tapi bener ga ya ama yang di maksud ma TS... >>> klo ga nyambung mohon maap ya... :sembah:
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-22, 09:05
PostRe: edit wltr3565's Burst Gauge v1.9b
#5
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
Ok thanks infonya, akan aku coba pelajari dahulu, soalnya aku gak terlalu bisa scripting, tapi aku rasa prisnsipnya sama meskipun di scriptnya Wltr sedikit berbeda karena yang diupdate adalah viewport bitmap gaugenya.

thanks
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-22, 11:59
PostRe: edit wltr3565's Burst Gauge v1.9b
#6
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
@ocean:
Lebih tepatnya lagi aku ngeupdate spritenya, bukan viewportnya...
Aku dah buatin patchnya, nih:
Code:
#===============================================================================
# This patch will ought to make the gauge to rise vertically, instead the
# default way, horizontally.
# Not sure if this works properly if the gauge is patched to use default gauges,
# but try it first. Put this directly below the burst gauge script.
#===============================================================================
class Window_Burst < Sprite
  def initialize
    super(Viewport.new(0, 0, 544, 416))
    @gauge_skin = Sprite.new
    @gauge_skin.bitmap = Cache.system(WLTR::BURST_GAUGE_SETUP::GAUGE_SKIN_BURST)
    @gauge_skin.viewport = Viewport.new(WLTR::BURST_GAUGE_SETUP::GAUGE_X,WLTR::BURST_GAUGE_SETUP::GAUGE_Y, @gauge_skin.width, @gauge_skin.height)
    @gauge_color = Sprite.new
    @gauge_color.bitmap = Cache.system(WLTR::BURST_GAUGE_SETUP::GAUGE_FILL_NORMAL)
    @gauge_color.viewport = Viewport.new(WLTR::BURST_GAUGE_SETUP::GAUGE_X,WLTR::BURST_GAUGE_SETUP::GAUGE_Y, @gauge_color.width, @gauge_color.height)
    gauge_width = @gauge_color.bitmap.height * $game_party.Burst_Gauge / $game_party.total_burst
    @gauge_color.src_rect.set(0, 0, @gauge_color.width, @gauge_color.height)
    @gauge_color.src_rect.y = 0 - gauge_width + @gauge_color.height
    @gauge_color.y = 0 - gauge_width + @gauge_color.height
    @bursttext = Sprite.new
    @bursttext.bitmap = Bitmap.new(544, 416)
    @bursttext.bitmap.font.color.set(255, 255, 255)
    @bursttext.bitmap.draw_text(0, 0, 544, 416, WLTR::BURST_GAUGE_SETUP::BURST_NAME)
    @bursttext.viewport = Viewport.new(0, 0, 544, 416)
    @bursttext.x = WLTR::BURST_GAUGE_SETUP::TEXT_X
    @bursttext.y = WLTR::BURST_GAUGE_SETUP::TEXT_Y - 200
    @bursttext.z = 300
    @gauge_color.z = 200
    @gauge_skin.z = 100
  end
 
  def update
    gauge_width = 0 - @gauge_color.bitmap.height * $game_party.Burst_Gauge / $game_party.total_burst + @gauge_color.height
    gauge_width.round
    if @gauge_color.src_rect.y < gauge_width
      boost = WLTR::BURST_GAUGE_SETUP::GAUGE_ALTER_SPEED
      @gauge_color.src_rect.y += boost
      @gauge_color.y += boost
      @gauge_color.src_rect.y = gauge_width.round if @gauge_color.src_rect.y > gauge_width.round
      @gauge_color.y = gauge_width.round if @gauge_color.y > gauge_width.round
    elsif @gauge_color.src_rect.y > gauge_width
      boost = WLTR::BURST_GAUGE_SETUP::GAUGE_ALTER_SPEED
      @gauge_color.src_rect.y -= boost
      @gauge_color.y -= boost
      @gauge_color.src_rect.y = gauge_width.round if @gauge_color.src_rect.y < gauge_width.round
      @gauge_color.y = gauge_width.round if @gauge_color.y < gauge_width.round
    end
    check_activation
  end
end
#===============================================================================
#
# END OF SCRIPT
#
#===============================================================================
Aku pake sedikit metodenya element particlesku, jadi bisa ngehemat waktu :swt:
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-23, 13:07
PostRe: edit wltr3565's Burst Gauge v1.9b
#7
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
Quote :
Lebih tepatnya lagi aku ngeupdate spritenya, bukan viewportnya...

eh iya spritenya :D
maklum gak terlalu "ngeh" dengan hal kayak gini :D, thanks banget buat responsnya yang cepat, ternyata ini lebih cepat dari yang aku harapkan :)
segera aku coba dulu, kalo ada bug ntar aku post lg di sini

thanks :)
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-23, 22:12
PostRe: edit wltr3565's Burst Gauge v1.9b
#8
reijubv 
Kai Runes
Kai Runes
reijubv

Kosong
Posts : 1476
Thanked : 33
Engine : RMVX
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
hmmm . . .
sepertinya trid ini beruntung ya requestnya di respon dg baik :kabur:

kalau misalnya udah clear nanti bilang ya, hohoho. .

@wltr
jgn lupa di post juga nanti kalau sudah ada versi fix nya, ok !
( Apa udah fix ya . . )
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-23, 23:56
PostRe: edit wltr3565's Burst Gauge v1.9b
#9
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
Udah aku coba dan berjalan dengan baik, tapi aku nemu sedikit bug aku sendiri juga bingung apa yang salah pertama aku kira karena script burst gauge yang aku pake dah aku edit, tapi setelah patch aku coba pada script yang belum aku utak-atik bug yang serupa masih terjadi,

Pada saat update sebelum dan sesudah gauge full semuanya berjalan normal bug terjadi saat kondisi gauge full, saat sprite gauge fill normal diganti dengan sprite gauge fill burst (kalo aku gak salah sebut :)) nah pada saat itu sprite gauge burst bergeser sekitar 5 pixel ke bawah, tapi saat update berikutnya saat gauge berkurang, posisi gauge kembali ke posisi semula, aku dah coba membaca ulang scriptnya sapa tau bisa nemuin sendiri masalahnya tapi tetap gak ketemu :D

berikut screenienya

 edit wltr3565's Burst Gauge v1.9b 5d57id

burst gauge implement on my game:
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 00:15
PostRe: edit wltr3565's Burst Gauge v1.9b
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
Itu bukan bug, tapi emang scriptnya bersifat gitu. Burst gauge berkurang seiring command berlangsung. Disaat burst gauge 0, aktifasi burst sudah habis dan kembali seperti semula. Kamu orang kedua yang salah paham dengan ginian :swt:. Ini normal kok, daripada jadi invincible...

EDIT:
Perasaan ato si tokoh utama itu lagi ngelawan Remilia? :kabur: Dan screenienya kelewat keren! :jedug Itu beneran pake Tankentai?
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 00:29
PostRe: edit wltr3565's Burst Gauge v1.9b
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
opss ternyata normal :)
tapi saat masih versi horisontal hal tersebut sepertinya tidak terjadi,atau mungkin karena efek dibikn vertikal kali ya :),

btw yang aku maksud adalah posisi sprite gauge burst bergeser sekitar 5 px kebawah, jadi menurutku gaugenya memang full tapi posisi spritenya gaugenya bergeser kebawah bukan berkurang, tapi setelah frame update berikutnya sprite gauge kembali bergeser ke atas kembali ke posisi normalnya baru setelah itu gage berkurang dengan normal :)

atau mungkin itu memang normal?
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 00:33
PostRe: edit wltr3565's Burst Gauge v1.9b
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
Kayaknya masalah kemelesetan pixel itu emang error dariku deh :swt: Ya, kebanyakan kan gunain gambar mereka sendiri :- Biarin, kamu tinggal pas in gambar kamu.
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 01:00
PostRe: edit wltr3565's Burst Gauge v1.9b
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
tapi kalo misalnya yang aku edit adalah file spritenya (burst3.png) untuk menyesuiakan pergeseran tsb biar pas saat gauge full ntar saat update gaugenya berkurang bukankah ntar gaugenya malah akan bergeser ke bawah saat update berkurangnya gauge.

sebenarnya saat ini aku dah mikirin solusi yang tidak "praktis" yaitu dengan menambah satu sprite lagi katakanlah burst4 sebagai koreksi posisi burst3 jadi saat gauge == max spritenya tidak langsung diganti dengan burst3 tetapi diganti dengan burst4 dulu agar posisi gaugenya sesuai dengan skin yang telah disiapkan baru setelah gauge < max (update gauge berkurang) sprite diganti kembali dengan burst3. :D

kalo misalnya aku melakuakn itu berarti bagian yang harus aku edit adalah bagian
def check_activation ??

edit:
aku pake tanketai dan cuman mainin posisi karakternya trus ditamabah FASTEBS :)
kalo batlernya aku nyomot dari sisni
http://www.hcn.zaq.ne.jp/cagzd200/index.html
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 18:26
PostRe: edit wltr3565's Burst Gauge v1.9b
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

 edit wltr3565's Burst Gauge v1.9b Vide
Gak perlu. Check_activatioin gak merubah posisi sprite sama sekali. Itu hanya mengganti bitmap bila kalau burstnya dah penuh. Yang harus dibuat pas adalah posisi pixel skin dengan gaugenya, usahakan resolusi gauge sama dengan skinnya dan posisikan tempat gauge diskin dengan yang digauge.
 edit wltr3565's Burst Gauge v1.9b Empty2010-08-24, 23:20
PostRe: edit wltr3565's Burst Gauge v1.9b
ocean bliss 
Newbie
Newbie
ocean bliss

Level 5
Posts : 93
Thanked : 2
Engine : RMVX
Skill : Skilled
Type : Artist

 edit wltr3565's Burst Gauge v1.9b Vide
Ok, aku akan chek lg skinnya :).

karena script yang aku pake dah sedikit aku edit, aku pisah x,y gauge dan skinnya biar aku lebih bebas bikin skinnya dan tidak terikat dengan x,y dari gauge
 edit wltr3565's Burst Gauge v1.9b Empty
PostRe: edit wltr3565's Burst Gauge v1.9b
Sponsored content 




 edit wltr3565's Burst Gauge v1.9b Vide
 

edit wltr3565's Burst Gauge v1.9b

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Scripts :: RGSS2 Support-