Skip to content

Instantly share code, notes, and snippets.

Avatar

shinokaro shinokaro

View GitHub Profile
View colorKey???.rb
require "dxruby"
f = Fiber.new do
loop do
8.times do
Fiber.yield 0 # alpha 透明度, 0は透明。試すなら128(半透明)が分かりやすい
Fiber.yield 255 # red
Fiber.yield 0 # green
Fiber.yield 0 # blue
end