Commit 506b7ffe authored by 神楽坂玲奈's avatar 神楽坂玲奈

BGM更换,title=青空之影,大厅=无何有之乡,决斗=幽灵乐团

parent 57c31a32
No preview for this file type
No preview for this file type
...@@ -107,6 +107,8 @@ class Action ...@@ -107,6 +107,8 @@ class Action
player_field.hand.size - 1 player_field.hand.size - 1
when :decktop when :decktop
player_field.deck.size - 1 player_field.deck.size - 1
when nil
nil
else else
(@card.is_a?(Game_Card) ? from_field.index(@card) : from_field.index{|card|card.card == @card}) || from_field.index{|card|!card.known?} (@card.is_a?(Game_Card) ? from_field.index(@card) : from_field.index{|card|card.card == @card}) || from_field.index{|card|!card.known?}
end end
......
...@@ -34,6 +34,8 @@ class ChatMessage ...@@ -34,6 +34,8 @@ class ChatMessage
end end
def self.channel_name(channel) def self.channel_name(channel)
case channel case channel
when :lobby
"#大厅"
when Symbol when Symbol
"##{channel}" "##{channel}"
when Room when Room
......
...@@ -34,7 +34,7 @@ begin ...@@ -34,7 +34,7 @@ begin
require 'sdl' require 'sdl'
include SDL include SDL
SDL.init(INIT_VIDEO | INIT_AUDIO) SDL.init(INIT_VIDEO | INIT_AUDIO)
WM::set_caption("MyCard", "graphics/system/icon.gif") WM::set_caption("MyCard", "MyCard")
WM::icon = Surface.load("graphics/system/icon.gif") WM::icon = Surface.load("graphics/system/icon.gif")
$screen = Screen.open($config['screen']['width'], $config['screen']['height'], 0, HWSURFACE | ($config['screen']['fullscreen'] ? FULLSCREEN : 0)) $screen = Screen.open($config['screen']['width'], $config['screen']['height'], 0, HWSURFACE | ($config['screen']['fullscreen'] ? FULLSCREEN : 0))
Mixer.open(Mixer::DEFAULT_FREQUENCY,Mixer::DEFAULT_FORMAT,Mixer::DEFAULT_CHANNELS,512) Mixer.open(Mixer::DEFAULT_FREQUENCY,Mixer::DEFAULT_FORMAT,Mixer::DEFAULT_CHANNELS,512)
......
...@@ -27,7 +27,7 @@ class Scene_Duel < Scene ...@@ -27,7 +27,7 @@ class Scene_Duel < Scene
@deck = deck @deck = deck
end end
def start def start
@bgm = Mixer::Music.load "audio/bgm/title.ogg" @bgm = Mixer::Music.load "audio/bgm/duel.ogg"
Mixer.fade_in_music(@bgm, -1, 800) Mixer.fade_in_music(@bgm, -1, 800)
@background = Surface.load("graphics/field/main.png").display_format @background = Surface.load("graphics/field/main.png").display_format
Surface.blit(@background, 0, 0, 0, 0, $screen, 0, 0) Surface.blit(@background, 0, 0, 0, 0, $screen, 0, 0)
......
...@@ -93,7 +93,7 @@ class Scene_Lobby < Scene ...@@ -93,7 +93,7 @@ class Scene_Lobby < Scene
end end
def update def update
if @count >= 600 if @count >= 300
$game.refresh $game.refresh
@count = 0 @count = 0
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment