“晴兰的秘密社团”的评论 https://seiran.mist.so Ruby与RGSS研究 Thu, 07 Sep 2017 17:23:07 +0000 hourly 1 https://wordpress.org/?v=4.9.5 浮生对《嵌入CRuby脚本引擎的一个历史遗留问题和解决方案》的评论 https://seiran.mist.so/uncategorized/embed-cruby.html#comment-2291 Thu, 07 Sep 2017 17:23:07 +0000 http://seiran.mist.so/?p=181#comment-2291 耗费了2个小时,哈哈哈哈,感谢。

]]>
sxysxy对《简单的Ruby直接到机器码的生成器(X86) RPGMaker兼容》的评论 https://seiran.mist.so/uncategorized/simple-ruby-mc-gen.html#comment-1967 Mon, 18 Jul 2016 17:20:13 +0000 http://seiran.mist.so/?p=164#comment-1967 Orz%%%%%%%%%%%%%%%%%%

]]>
0nepeop1e对《利用set_trace_func方法来判断一个方法是否被alias过》的评论 https://seiran.mist.so/ruby/%e5%88%a9%e7%94%a8set_trace_func%e6%96%b9%e6%b3%95%e6%9d%a5%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e6%96%b9%e6%b3%95%e6%98%af%e5%90%a6%e8%a2%abalias%e8%bf%87.html#comment-1946 Thu, 02 Jun 2016 21:06:33 +0000 http://seiran.mist.so/?p=147#comment-1946 如果原本就有设定跟踪的话会被搞丢吧==

]]>
taroxd对《利用set_trace_func方法来判断一个方法是否被alias过》的评论 https://seiran.mist.so/ruby/%e5%88%a9%e7%94%a8set_trace_func%e6%96%b9%e6%b3%95%e6%9d%a5%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e6%96%b9%e6%b3%95%e6%98%af%e5%90%a6%e8%a2%abalias%e8%bf%87.html#comment-655 Sat, 04 Oct 2014 04:05:10 +0000 http://seiran.mist.so/?p=147#comment-655 兰触好可怕,我要回家

]]>
Hui对《RGSS3Facets 0.02》的评论 https://seiran.mist.so/rgss/rgss3facets.html#comment-570 Mon, 25 Aug 2014 17:44:02 +0000 http://seiran.mist.so/?p=128#comment-570 – – 你说这个啊……图形库用的是SDL而且是纯Ruby实现,我这边用的是DirectX/OpenGL,不过原理还是可以参考一下的……thks~

]]>
晴兰对《RGSS3Facets 0.02》的评论 https://seiran.mist.so/rgss/rgss3facets.html#comment-569 Mon, 25 Aug 2014 17:38:42 +0000 http://seiran.mist.so/?p=128#comment-569 其实我也不是很清楚这些细节,这儿有zh99998前辈的一个现成的OpenRGSS,似乎可以参考一下?

项目地址是https://github.com/zh99998/OpenRGSS
具体到transition在:
https://github.com/zh99998/OpenRGSS/blob/master/lib/openrgss/graphics.rb
82行

]]>
Hui对《RGSS3Facets 0.02》的评论 https://seiran.mist.so/rgss/rgss3facets.html#comment-568 Mon, 25 Aug 2014 17:19:46 +0000 http://seiran.mist.so/?p=128#comment-568 呃,其实是自己正在实现兼容RGSS的游戏引擎,在实现Tone这个类的时候不知道它到底是怎么实现这种类似遮罩效果的。对了,RGSS的Graphics#transition的渐变动画是怎么实现的?看了半天渐变素材也没弄懂……

]]>
晴兰对《RGSS3Facets 0.02》的评论 https://seiran.mist.so/rgss/rgss3facets.html#comment-567 Mon, 25 Aug 2014 17:14:43 +0000 http://seiran.mist.so/?p=128#comment-567 其实是夏娜前辈的代码里面扒下来的,我也不知道当初是拟合还是分析了源代码

]]>
taroxd对《[RGSS]RGStorage 1.00》的评论 https://seiran.mist.so/rgss/rgssrgstorage-1-00.html#comment-482 Mon, 21 Jul 2014 13:28:51 +0000 http://seiran.mist.so/?p=73#comment-482 Too Tentacle cannot directly see

]]>
Hui对《RGSS3Facets 0.02》的评论 https://seiran.mist.so/rgss/rgss3facets.html#comment-377 Fri, 30 May 2014 13:47:54 +0000 http://seiran.mist.so/?p=128#comment-377 grayfull = (r * 38 + g * 75 + b * 15) >> 7
r = tone.red + r + (grayfull – r) * tone.gray / 256
g = tone.green+ g + (grayfull – g) * tone.gray / 256
b = tone.blue + b + (grayfull – b) * tone.gray / 256

这个算法是拟合出来的么?

]]>