KMF - Kazamit Multimedia Factory

K.M.F Kazami Multimedia Factory
RPGcN[XPp@RGSSXNvg
ZłƂ肠JĂ܂B

b͈ꕶ•\Ƃ̃X[WO
tHgtB^[


b͈ꕶ•\Ƃ̃X[WO
b͂cN[QOOOn̂悤Ɉꕶ•\܂B
܂A̕\̎d𔼓̐ǂ݂găX[Yɂ܂B

yXNvgeziftHg̕ύXӏȂ̂Œڌfڂ܂Bj

class Window_Message

142sڕt
# ̕
next
end
self.contents.font.color.alpha=120
self.contents.draw_text(4 + x, 32 * y, 40, 32, c)
self.contents.font.color.alpha=255
Graphics.update

# `
self.contents.draw_text(4 + x, 32 * y, 40, 32, c)
Ԏ4sljĂB

254sڕt
refresh
Graphics.frame_reset
self.visible = true
self.contents_opacity = 0
if @input_number_window != nil
@input_number_window.contents_opacity = 0
end
@fade_in = true

ȏ̃XNvgȉ̂悤ɏCĂB

refreshOsɈړĂB
Graphics.frame_reset(Graphics.frame_reset͏Ă\܂)
self.visible = true
refresh
self.contents_opacity = 0 @255
if @input_number_window != nil
@input_number_window.contents_opacity = 0
end
@fade_in = true@false


@@@ȏłB

gp
gpNbNœ{C[W䗗܂B

II
@XNvg̏C̂͏Ȃłe͂Ȃ蕡GȂƂsĂ܂B
܂͕\̃XNvg̃ftHg̗܂ɋL܂B
CxgɂEBhE\̌Ăяo

EBhEEEBhEg̐

P‚̓̕ǂݍ݂Ɛ䕶Ȃǂ̉́idef refreshj
@i͕͒\Ȃj

SǂݍݏIƂɕS珙Xɓx𗎂ƂătF[hCŕ\
@idef updatej

ȉ̂悤ȗɕύXKv܂B
CxgɂEBhE\̌Ăяo

EBhEEEBhEg̐

܂tF[hC͕̏KvȂBŏsɁB
@iPƒtF[hC\邱Ƃ͂܂Ӗ͂Ȃƍl܂j


P‚̓̕ǂݍ݂Ɛ䕶Ȃǂ̉́idef refreshj
@ɉĂP\邲ƂɉʂXViGraphics.updatej
܂ʍXV̕142sڕt߂ɒlj
self.contents.font.color.alpha=120
self.contents.draw_text(4 + x, 32 * y, 40, 32, c)
self.contents.font.color.alpha=255
Graphics.update

łBPGraphics.updatepƁAɊ炩[hłȂꍇɂQ‚̕\ Č܂BŁAP`悵ƂɁA̕𔼓ialpha=120jŗ\ \Ăƕ͂̏o̗ꂪX[YɂȂƍl܂B
̒ljself.contents.draw_text(4 + x, 32 * y, 40, 32, c)͔̕`łA s̕`͂ɓs# `ȉ̏ƂȂ܂B
̕`ƕs̕`̊ԂɉʍXV邱ƂɂA
1ځijXVỎʂɊi[ʍXV1ځisjXVỎʂɊi[
2ځijXVỎʂɊi[ʍXV2ځisjXVỎʂɊi[
3ځijXVỎʂɊi[ʍXV3ځisjXVỎʂɊi[
EEE
ƂɂȂ̂킩Ǝv܂Bi킩Ȃl͐[lȂĂ\łj

Ȃ炱̕ύXł΂ė悤ɂPޏƂɑS̕tF[hCƂ߂󋵂ƂȂĂ܂܂B
i̊Iɂ͕̓EBhẼI[vƂĂx邾Ǝv܂j
ŗ\ߕ̓EBhẼtF[hC؂ĂASsɂĂ˂΂Ȃ܂B
̏254sڕt߂ɂȂ܂B
refreshq̕ꕶޏɂ܂̂ŁA
self.visible = truêƂɔzuKv܂B
܂Aself.contents_opacity255ɂĂA@fade_infalseɂĂƂɂ
tF[hC̏JbgĉʂXVΕ\łԂƂȂ܂B

Graphics.frame_resetƂ́A̗\͈̔͂łSĂ̏̕ݏ
Ԃ邽߂ɁAʼnʂ̍XV^C~O킹̂Ǝv܂B
ĂP‚݂̏ł͂ȂɏȂ낤ƂƂŁAJbgĂ
\Ȃ̂ł͂ȂƎv܂B

͐BBSŎ󂯕tĂ܂m(_ _)m



tHgtB^[
ɉeƈ݂͂‚XNvgłB

DL eLXgt@C@kff0826.txt 4KB

gp
gpNbNœ{C[W䗗܂B

gp@E
܂AcN[XP̃XNvgڂő}iIjpĐV
‚ڂ̋󔒗ɁAL̃XNvgSRs[ĂB
ڂ̏ꏊ́Aǂł\܂񂪁AVڂ
Scene_DebugMain̊ԂɓĂ̂؂̂悤łB
î`ꂽƂÂق̂̂㏑邽߁j
ږ̓tHgtB^[ƂKȖOtĒuĂB

͂ł܂ŁAƂ̓C̕\XNvg
邱ƂŃtB^[gp邱Ƃo܂B

ƂWindow_Messageځiclass Window_Message < Window_Selectablej
144s
self.contents.draw_text(4 + x, 32 * y, 40, 32, c)
g܂B
͕̓EBhÊ镶`\bhłB
ςƒɉb̕ɕω܂B

̃XNvg̈Ӗ́A
self:̃NXi\bhjĂяoĂяoƂ̃EBhE@
.contents:EBhEeƂ
.draw_text:eLXg\B
ij̎ẃAwvBitmapdraw_text\bhĂ
Ă܂A
4+x:`̈Xij̎n_iXWj
32*y:`̈Yicj̎n_iYWj
40:`̈̉̃TCYij
32:`̈̏c̃TCYij
c:`悷镶f[^
ƂȂĂ܂B̑ɂalignp̈‚Ă‚ȂĂ
ƂɂȂĂ܂B

Ăȉ̂悤ɏ邾ŃtHgtB^[͋@\܂B
self.contents.kage(4 + x, 32 * y, 40, 32, c)
ŁAẻE1pxA1px̂Ƃɂ‚܂B
̕邾łBƊȒPłB


ëʒuFw肵̂߂Ɏw”\Ȉ܂߂
pďڂĂ܂B
self.contents.kage(4 + x, 32 * y, 40, 32, c, 0, Color.new(0,0,0,200),1,1)

kageƂ̂draw_textƓ́het`h\bhłB
ŏɒljclass BitmapŒ`Ă܂B
ij̈IvVƂ4‘܂B

0:̊񂹕łB 0draw_textŏȗ̂ƓӖA0
܂iftHgjB1ɂꍇA3‘OŎw肵̈撆̒Ɋ񂹂܂B
40̂Ƃɕ20̕`悷ƂA10Eɂĕ\킯łB
2ɂꍇA񂹂ɂȂ܂B
ɂ‚߂Č\ƂȂǂɎgł傤B

Color.new(0,0,0,200)
̃XNvgƂɍŏɓǂłB
ɂ͉ẽJ[̈w肵܂BAP0,0,0ƂĂ
܂܂BJ[̈́ȀꍇAh4‚͂R‚̐
ZbghƂ‚̈ƒ`Ă˂΂Ȃ܂B
Ƃ͂AJ[Ƃ‚̃IuWFNgi摜ƂƓj
ɂȂ邩łBɂ̓J[Ƃ1Zbg̈w肵܂B
ڂ̓wvColorQƂĂB
ɂ͉eɂȂF́iԓx,Γx,“x,sxjw肵܂B
eƂƂ0,0,0̍Asx200łƓ邭炢ɂĂ܂B
eƂ‚eƂ̌ʂ‚邱Ƃ邩ȂƎvÂ܂

1(Ō̈‘O)F͉e̖{艺ɉsNZ邩
Ă܂B͂Ȃǂ̕ł12ÓƎv܂B
܂藣ꂷƕςɓǂ݂ɂȂ܂^CgSȂǂł
głB

1(Ō)FlɁAe̖{EɉsNZ邩
܂Bɂ炵Ƃ̓}CiXlw肵ĂB