KMF - Kazamit 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
gp
NbNœ{C[W䗗܂B
II
@XNvg̏Ĉ͏Ȃłe͂Ȃ蕡GȂƂsĂ܂B
܂͕\̃XNvg̃ftHg̗܂ɋL܂B
ȉ̂悤ȗɕύXKv܂B
܂ʍ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
eLXgt@C@kff0826.txt 4KB
gp
NbNœ{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ɂꍇA3OŎ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
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 Graphics.frame_reset(Graphics.frame_reset͏Ă\܂) self.visible = true refresh self.contents_opacity = if @input_number_window != nil @input_number_window.contents_opacity = 0 end @fade_in = @@@ȏłB |
gp
NbNœ{C[W䗗܂B
II
@XNvg̏Ĉ͏Ȃł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 @iPtF[hC\邱Ƃ͂܂Ӗ͂Ȃƍl܂j P̓̕ǂݍ݂Ɛ䕶Ȃǂ̉́idef refreshj @ɉĂP\邲ƂɉʂXViGraphics.updatej |
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
eLXgt@C@kff0826.txt 4KB
gp
NbNœ{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ɂꍇA3OŎ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