Skip to content

Instantly share code, notes, and snippets.

View rutan's full-sized avatar

Rutan rutan

View GitHub Profile
# encoding: utf-8
#===============================================================================
# ■ 16x16アイコン2倍拡大表示さん
#-------------------------------------------------------------------------------
# 2020/08/01 Ruたん
#-------------------------------------------------------------------------------
# 16x16のアイコンを2倍拡大(32x32)で表示します。
# このスクリプトは、性質上再定義が多いためなるべく上の方に入れてください。
#
# ■ 画像(IconSet)について
# 音量変更スクリプトさんのアドオン形式: フルスクリーンメニュー
module HZM_VXA
module AudioVol
class Window_VolConfig < Window_Command
#-------------------------------------------------------------------------
# ● コマンド生成:アクション
#-------------------------------------------------------------------------
alias hzm_vxa_volume_addon_fullscreen_make_command_list_actions make_command_list_actions
def make_command_list_actions
hzm_vxa_volume_addon_fullscreen_make_command_list_actions
@rutan
rutan / reacolle.rb
Created February 7, 2017 15:25
Reacolle - Reaction Collection for Slack
# coding: utf-8
=begin
# Reacolle
"Reacolle" is the simple slack bot application written by Ruby.
When happen event `add_reaction` in any public channel, Reacolle post message to your channel.
# original: http://www.endressdreamer.wjg.jp/RGSS3_12.html
class Window_Quest_Menu < Window_Selectable
# 再定義: draw_text の3つ目の引数を修正
def draw_quest(str, x, y, enabled, index)
if str != ""
self.contents.font.color = normal_color
self.contents.font.color.alpha = enabled ? 255 : 128
self.contents.draw_text(x + 24, y, (self.width - 72), line_height, str)
unless enable?(index)
@rutan
rutan / masterVol_addon_switches.rb
Last active April 23, 2016 09:12
[音量変更スクリプトさんアドオン] スイッチ設定さん for RGSS3
# coding: utf-8
#===============================================================================
# ■ [音量変更スクリプトさんアドオン] スイッチ設定さん for RGSS3
#-------------------------------------------------------------------------------
# 2016/04/23 Ru/むっくRu
#-------------------------------------------------------------------------------
# このスクリプトは「音量変更スクリプトさん for RGSS3」に機能を追加するものです。
# 導入時は「音量変更スクリプトさん」より下に導入してください。
#-------------------------------------------------------------------------------
# 音量変更画面にスイッチON/OFFの設定を追加します。
# coding: utf-8
#===============================================================================
# ■ MEをSEにすり替えさん for RGSS3
#-------------------------------------------------------------------------------
# 2016/04/16 Ru/むっくRu
#-------------------------------------------------------------------------------
# 指定のスイッチがONのとき、MEをSEとして再生します。
# MEをSEとして再生するため、BGMが途切れずに再生されます。
#
# 音量変更スクリプトさんと併用する場合は、
--- YEP_BattleEngineCore.js 2016-01-10 03:43:27.000000000 +0900
+++ YEP_BattleEngineCore_fix.js 2016-01-10 03:46:21.000000000 +0900
@@ -4185,7 +4185,7 @@
for (var i = 0; i < this._enemies.length; ++i) {
var enemy = this._enemies[i];
if (!enemy) continue;
- if (this.isClickedEnemy(enemy)) {
+ if (this.isMouseOverEnemy(enemy)) {
if (this._selectDead && !enemy.isDead()) continue;
var index = this._enemies.indexOf(enemy)
# encoding: utf-8
#===============================================================================
# ■ Input.repeat?速度調整スクリプト for RGSS3
#-------------------------------------------------------------------------------
# Ru/むっくRu
#-------------------------------------------------------------------------------
# RGSS組み込み機能のInput.repeatのキー入力間隔を調整します。
# アイテム入力欄などでのカーソル移動速度を早くできます。
#-------------------------------------------------------------------------------
# 【更新履歴】
@rutan
rutan / note.rb
Created July 11, 2015 06:00
メモ欄スクリプト
# encoding: utf-8
#===============================================================================
# ■ メモ欄取得スクリプト for RGSS3
#-------------------------------------------------------------------------------
# Ru/むっくRu
#-------------------------------------------------------------------------------
# メモ欄の指定フォーマット行を取得します
#-------------------------------------------------------------------------------
# 【更新履歴】
#===============================================================================
# encoding: utf-8
#===============================================================================
# ■ Tweenアニメーション for RGSS3
#-------------------------------------------------------------------------------
# Ru/むっくRu
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# 【更新履歴】
#===============================================================================