Skip to content

Instantly share code, notes, and snippets.

@cremno
cremno / rgss_bugs.md
Last active Sep 7, 2020
List of RGSS Bugs
View rgss_bugs.md
Method Version(s) Description
Bitmap#gradient_fill_rect 2, 3 non-rect "overloads": vertical=false is ignored
Table#_load all string length isn't checked; possible crash
Table#[]= all allows omitting last index argument in which case it'ss assumed to be 0: Table.new(1)[] = v sets first element to v; also Table.new(3, 2, 1)[2, 1] = v is the same as Table.new(3, 2, 1)[2, 1, 0] = v
Rect#_load all string length isn't checked; possible crash
Rect#{x,y,width,height} all return a fixnum even if attribute is a bignum (INT2FIX vs. INT2NUM?)
Plane#visible all unaffected by Plane#visible=; returns true if not disposed
Window#padding 3 default value is actually 8, not 12 as documented
Viewport#initialize 1 crash if no argument is passed
View browseforfolder.rb
# ★ BrowseForFolder
# ★★★★★★★★★★★★★
#
# Author/s : cremno
# RGSS ver : 1 to 3
module BrowseForFolder
class BrowseForFolderError < StandardError
end
View joystick.rb
# ★ Joystick
# ★★★★★★★★
#
# Author/s : cremno
# RGSS ver : 1 to 3
module Joystick
class << self
You can’t perform that action at this time.