单纯截图的话 就是我上面说的 然后ctrl+v 到画图上 作者: qq632147899 时间: 2008-11-26 01:36
不是地啊
就是截图啦作者: 莳衍灵儿 时间: 2008-11-26 01:44
如果是想按一键只截游戏部分图的话~
redant前辈的QQ截图是其中一个~(或者可以全屏幕按PIINT再粘贴)
还有一个是这个~
http://rpg.blue/web/htm/news109.htm [LINE]1,#dddddd[/LINE]系统信息:本贴由本区版主认可为正确答案,66RPG感谢您的热情解答~作者: 菜鸟飞呀飞 时间: 2008-11-26 01:46
提示: 作者被禁止或删除 内容自动屏蔽作者: 八云紫 时间: 2008-11-26 01:56
直接去 截图存档 的脚本里拆好了{/hx}作者: 菜鸟飞呀飞 时间: 2008-11-26 02:05
提示: 作者被禁止或删除 内容自动屏蔽作者: 枪胜贤者 时间: 2008-11-26 02:13
http://rpg.blue/web/DLPRO/teach/200510/截图功能(保存为.jpg格式).rar
下一个试试!!带截图功能的!!作者: 枪胜贤者 时间: 2008-11-26 02:13
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#============================================================================== #
# Screenshot V2
#
# Screenshot Script v1 & screenshot.dll v1 created by: Andreas21
# Screenshot Script v2 created/edit by: cybersam
# the autor is found on a german board...
# the comments are added by me...
# since the autor didnt want to add any comment...
# so thats it from here...
# have fund with it... ^-^
#
# oh yea.. the needed command line is found in "Scene_Map" in "def update"
#
#===============================================================================
module Screen
@screen = Win32API.new 'screenshot', 'Screenshot', %w(l l l l p l l), ''
@readini = Win32API.new 'kernel32', 'GetPrivateProfileStringA', %w(p p p p l p), 'l'
@findwindow = Win32API.new 'user32', 'FindWindowA', %w(p p), 'l'
module_function
#-----------------------------------------------------------------------------
# here comes the stuff...
# i add here the stuff for automatic change of the number for the screenshot
# so it wont overrite the old one...
# if you want to change so stuff change them in this line below
# or you can change them in your command line... like
# Screen::shot("screenshot", 2)
# this change the name and the type of the screenshot
# (0 = bmp, 1 = jpg and 2 = png)
# ----------------------------------------------------------------------------
def shot(file = "screenshot", typ = 2)
# to add the right extension...
if typ == 0
typname = ".bmp"
elsif typ == 1
typname = ".jpg"
elsif typ == 2
typname = ".png"
end
file_index = 0
dir = "Graphics/Pictures/"
# make the filename....
file_name = dir + file.to_s + typname.to_s
# make the screenshot.... Attention dont change anything from here on....
@screen.call(0,0,640,480,file_name,handel,typ)
end
# find the game window...
def handel
game_name = "\0" * 256
@readini.call('Game','Title','',game_name,255,".\\Game.ini")
game_name.delete!("\0")
return @findwindow.call('RGSS Player',game_name)
end
end