Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
b55bdf98
Commit
b55bdf98
authored
Nov 20, 2011
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
场地魔法
parent
c94b07d4
Changes
65
Show whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
30 additions
and
3 deletions
+30
-3
graphics/fields/万魔殿-恶魔的巢窟-.gif
graphics/fields/万魔殿-恶魔的巢窟-.gif
+0
-0
graphics/fields/不死世界.gif
graphics/fields/不死世界.gif
+0
-0
graphics/fields/亚马逊之里.gif
graphics/fields/亚马逊之里.gif
+0
-0
graphics/fields/传说之都 亚特兰蒂斯.gif
graphics/fields/传说之都 亚特兰蒂斯.gif
+0
-0
graphics/fields/侏罗纪世界.gif
graphics/fields/侏罗纪世界.gif
+0
-0
graphics/fields/光之护封阵.gif
graphics/fields/光之护封阵.gif
+0
-0
graphics/fields/光之结界.gif
graphics/fields/光之结界.gif
+0
-0
graphics/fields/光芒冲击.gif
graphics/fields/光芒冲击.gif
+0
-0
graphics/fields/六武院.gif
graphics/fields/六武院.gif
+0
-0
graphics/fields/剑斗兽之槛-圆形斗技场.gif
graphics/fields/剑斗兽之槛-圆形斗技场.gif
+0
-0
graphics/fields/剑窖.gif
graphics/fields/剑窖.gif
+0
-0
graphics/fields/变形斗士·场地.gif
graphics/fields/变形斗士·场地.gif
+0
-0
graphics/fields/古之森.gif
graphics/fields/古之森.gif
+0
-0
graphics/fields/圣域歌声.gif
graphics/fields/圣域歌声.gif
+0
-0
graphics/fields/大地力量.gif
graphics/fields/大地力量.gif
+0
-0
graphics/fields/天空的圣域.gif
graphics/fields/天空的圣域.gif
+0
-0
graphics/fields/山.gif
graphics/fields/山.gif
+0
-0
graphics/fields/幽狱之时计塔.gif
graphics/fields/幽狱之时计塔.gif
+0
-0
graphics/fields/异界空间-A地带.gif
graphics/fields/异界空间-A地带.gif
+0
-0
graphics/fields/扰乱之乡.gif
graphics/fields/扰乱之乡.gif
+0
-0
graphics/fields/拟似空间.gif
graphics/fields/拟似空间.gif
+0
-0
graphics/fields/摩天楼.gif
graphics/fields/摩天楼.gif
+0
-0
graphics/fields/摩天楼2-英雄都市.gif
graphics/fields/摩天楼2-英雄都市.gif
+0
-0
graphics/fields/断层地带.gif
graphics/fields/断层地带.gif
+0
-0
graphics/fields/新宇宙.gif
graphics/fields/新宇宙.gif
+0
-0
graphics/fields/暗.gif
graphics/fields/暗.gif
+0
-0
graphics/fields/暗黑地带.gif
graphics/fields/暗黑地带.gif
+0
-0
graphics/fields/暗黑都市.gif
graphics/fields/暗黑都市.gif
+0
-0
graphics/fields/未来视界.gif
graphics/fields/未来视界.gif
+0
-0
graphics/fields/森.gif
graphics/fields/森.gif
+0
-0
graphics/fields/正义世界.gif
graphics/fields/正义世界.gif
+0
-0
graphics/fields/死皇帝之陵墓.gif
graphics/fields/死皇帝之陵墓.gif
+0
-0
graphics/fields/水世界.gif
graphics/fields/水世界.gif
+0
-0
graphics/fields/沙漠风暴.gif
graphics/fields/沙漠风暴.gif
+0
-0
graphics/fields/海.gif
graphics/fields/海.gif
+0
-0
graphics/fields/清净世界.gif
graphics/fields/清净世界.gif
+0
-0
graphics/fields/湿地草原.gif
graphics/fields/湿地草原.gif
+0
-0
graphics/fields/燃烧熔岩.gif
graphics/fields/燃烧熔岩.gif
+0
-0
graphics/fields/王家长眠之谷.gif
graphics/fields/王家长眠之谷.gif
+0
-0
graphics/fields/电气城堡.gif
graphics/fields/电气城堡.gif
+0
-0
graphics/fields/离心分离力场.gif
graphics/fields/离心分离力场.gif
+0
-0
graphics/fields/紫炎的霞城.gif
graphics/fields/紫炎的霞城.gif
+0
-0
graphics/fields/脑开发研究所.gif
graphics/fields/脑开发研究所.gif
+0
-0
graphics/fields/自然之森.gif
graphics/fields/自然之森.gif
+0
-0
graphics/fields/草原.gif
graphics/fields/草原.gif
+0
-0
graphics/fields/荒野.gif
graphics/fields/荒野.gif
+0
-0
graphics/fields/虹之古代都市.gif
graphics/fields/虹之古代都市.gif
+0
-0
graphics/fields/蛇毒沼泽.gif
graphics/fields/蛇毒沼泽.gif
+0
-0
graphics/fields/蜘蛛网.gif
graphics/fields/蜘蛛网.gif
+0
-0
graphics/fields/融合之门.gif
graphics/fields/融合之门.gif
+0
-0
graphics/fields/酸雨.gif
graphics/fields/酸雨.gif
+0
-0
graphics/fields/野蛮斗技场.gif
graphics/fields/野蛮斗技场.gif
+0
-0
graphics/fields/钢核合成兽研究所.gif
graphics/fields/钢核合成兽研究所.gif
+0
-0
graphics/fields/霞之谷的神风.gif
graphics/fields/霞之谷的神风.gif
+0
-0
graphics/fields/风云机巧城.gif
graphics/fields/风云机巧城.gif
+0
-0
graphics/fields/魔法族之里.gif
graphics/fields/魔法族之里.gif
+0
-0
graphics/fields/魔法都市 恩底弥翁.gif
graphics/fields/魔法都市 恩底弥翁.gif
+0
-0
graphics/fields/鹰身女妖的狩猎场.gif
graphics/fields/鹰身女妖的狩猎场.gif
+0
-0
graphics/fields/黑色花园.gif
graphics/fields/黑色花园.gif
+0
-0
graphics/fields/齿车街.gif
graphics/fields/齿车街.gif
+0
-0
graphics/fields/龙之溪谷.gif
graphics/fields/龙之溪谷.gif
+0
-0
lib/main.rb
lib/main.rb
+2
-2
lib/scene_duel.rb
lib/scene_duel.rb
+7
-1
lib/window_field.rb
lib/window_field.rb
+3
-0
lib/window_fieldback.rb
lib/window_fieldback.rb
+18
-0
No files found.
graphics/
area
s/万魔殿-恶魔的巢窟-.gif
→
graphics/
field
s/万魔殿-恶魔的巢窟-.gif
View file @
b55bdf98
File moved
graphics/
area
s/不死世界.gif
→
graphics/
field
s/不死世界.gif
View file @
b55bdf98
File moved
graphics/
area
s/亚马逊之里.gif
→
graphics/
field
s/亚马逊之里.gif
View file @
b55bdf98
File moved
graphics/
area
s/传说之都 亚特兰蒂斯.gif
→
graphics/
field
s/传说之都 亚特兰蒂斯.gif
View file @
b55bdf98
File moved
graphics/
area
s/侏罗纪世界.gif
→
graphics/
field
s/侏罗纪世界.gif
View file @
b55bdf98
File moved
graphics/
area
s/光之护封阵.gif
→
graphics/
field
s/光之护封阵.gif
View file @
b55bdf98
File moved
graphics/
area
s/光之结界.gif
→
graphics/
field
s/光之结界.gif
View file @
b55bdf98
File moved
graphics/
area
s/光芒冲击.gif
→
graphics/
field
s/光芒冲击.gif
View file @
b55bdf98
File moved
graphics/
area
s/六武院.gif
→
graphics/
field
s/六武院.gif
View file @
b55bdf98
File moved
graphics/
area
s/剑斗兽之槛-圆形斗技场.gif
→
graphics/
field
s/剑斗兽之槛-圆形斗技场.gif
View file @
b55bdf98
File moved
graphics/
area
s/剑窖.gif
→
graphics/
field
s/剑窖.gif
View file @
b55bdf98
File moved
graphics/
area
s/变形斗士·场地.gif
→
graphics/
field
s/变形斗士·场地.gif
View file @
b55bdf98
File moved
graphics/
area
s/古之森.gif
→
graphics/
field
s/古之森.gif
View file @
b55bdf98
File moved
graphics/
area
s/圣域歌声.gif
→
graphics/
field
s/圣域歌声.gif
View file @
b55bdf98
File moved
graphics/
area
s/大地力量.gif
→
graphics/
field
s/大地力量.gif
View file @
b55bdf98
File moved
graphics/
area
s/天空的圣域.gif
→
graphics/
field
s/天空的圣域.gif
View file @
b55bdf98
File moved
graphics/
area
s/山.gif
→
graphics/
field
s/山.gif
View file @
b55bdf98
File moved
graphics/
area
s/幽狱之时计塔.gif
→
graphics/
field
s/幽狱之时计塔.gif
View file @
b55bdf98
File moved
graphics/
area
s/异界空间-A地带.gif
→
graphics/
field
s/异界空间-A地带.gif
View file @
b55bdf98
File moved
graphics/
area
s/扰乱之乡.gif
→
graphics/
field
s/扰乱之乡.gif
View file @
b55bdf98
File moved
graphics/
area
s/拟似空间.gif
→
graphics/
field
s/拟似空间.gif
View file @
b55bdf98
File moved
graphics/
area
s/摩天楼.gif
→
graphics/
field
s/摩天楼.gif
View file @
b55bdf98
File moved
graphics/
area
s/摩天楼2-英雄都市.gif
→
graphics/
field
s/摩天楼2-英雄都市.gif
View file @
b55bdf98
File moved
graphics/
area
s/断层地带.gif
→
graphics/
field
s/断层地带.gif
View file @
b55bdf98
File moved
graphics/
area
s/新宇宙.gif
→
graphics/
field
s/新宇宙.gif
View file @
b55bdf98
File moved
graphics/
area
s/暗.gif
→
graphics/
field
s/暗.gif
View file @
b55bdf98
File moved
graphics/
area
s/暗黑地带.gif
→
graphics/
field
s/暗黑地带.gif
View file @
b55bdf98
File moved
graphics/
area
s/暗黑都市.gif
→
graphics/
field
s/暗黑都市.gif
View file @
b55bdf98
File moved
graphics/
area
s/未来视界.gif
→
graphics/
field
s/未来视界.gif
View file @
b55bdf98
File moved
graphics/
area
s/森.gif
→
graphics/
field
s/森.gif
View file @
b55bdf98
File moved
graphics/
area
s/正义世界.gif
→
graphics/
field
s/正义世界.gif
View file @
b55bdf98
File moved
graphics/
area
s/死皇帝之陵墓.gif
→
graphics/
field
s/死皇帝之陵墓.gif
View file @
b55bdf98
File moved
graphics/
area
s/水世界.gif
→
graphics/
field
s/水世界.gif
View file @
b55bdf98
File moved
graphics/
area
s/沙漠风暴.gif
→
graphics/
field
s/沙漠风暴.gif
View file @
b55bdf98
File moved
graphics/
area
s/海.gif
→
graphics/
field
s/海.gif
View file @
b55bdf98
File moved
graphics/
area
s/清净世界.gif
→
graphics/
field
s/清净世界.gif
View file @
b55bdf98
File moved
graphics/
area
s/湿地草原.gif
→
graphics/
field
s/湿地草原.gif
View file @
b55bdf98
File moved
graphics/
area
s/燃烧熔岩.gif
→
graphics/
field
s/燃烧熔岩.gif
View file @
b55bdf98
File moved
graphics/
area
s/王家长眠之谷.gif
→
graphics/
field
s/王家长眠之谷.gif
View file @
b55bdf98
File moved
graphics/
area
s/电气城堡.gif
→
graphics/
field
s/电气城堡.gif
View file @
b55bdf98
File moved
graphics/
area
s/离心分离力场.gif
→
graphics/
field
s/离心分离力场.gif
View file @
b55bdf98
File moved
graphics/
area
s/紫炎的霞城.gif
→
graphics/
field
s/紫炎的霞城.gif
View file @
b55bdf98
File moved
graphics/
area
s/脑开发研究所.gif
→
graphics/
field
s/脑开发研究所.gif
View file @
b55bdf98
File moved
graphics/
area
s/自然之森.gif
→
graphics/
field
s/自然之森.gif
View file @
b55bdf98
File moved
graphics/
area
s/草原.gif
→
graphics/
field
s/草原.gif
View file @
b55bdf98
File moved
graphics/
area
s/荒野.gif
→
graphics/
field
s/荒野.gif
View file @
b55bdf98
File moved
graphics/
area
s/虹之古代都市.gif
→
graphics/
field
s/虹之古代都市.gif
View file @
b55bdf98
File moved
graphics/
area
s/蛇毒沼泽.gif
→
graphics/
field
s/蛇毒沼泽.gif
View file @
b55bdf98
File moved
graphics/
area
s/蜘蛛网.gif
→
graphics/
field
s/蜘蛛网.gif
View file @
b55bdf98
File moved
graphics/
area
s/融合之门.gif
→
graphics/
field
s/融合之门.gif
View file @
b55bdf98
File moved
graphics/
area
s/酸雨.gif
→
graphics/
field
s/酸雨.gif
View file @
b55bdf98
File moved
graphics/
area
s/野蛮斗技场.gif
→
graphics/
field
s/野蛮斗技场.gif
View file @
b55bdf98
File moved
graphics/
area
s/钢核合成兽研究所.gif
→
graphics/
field
s/钢核合成兽研究所.gif
View file @
b55bdf98
File moved
graphics/
area
s/霞之谷的神风.gif
→
graphics/
field
s/霞之谷的神风.gif
View file @
b55bdf98
File moved
graphics/
area
s/风云机巧城.gif
→
graphics/
field
s/风云机巧城.gif
View file @
b55bdf98
File moved
graphics/
area
s/魔法族之里.gif
→
graphics/
field
s/魔法族之里.gif
View file @
b55bdf98
File moved
graphics/
area
s/魔法都市 恩底弥翁.gif
→
graphics/
field
s/魔法都市 恩底弥翁.gif
View file @
b55bdf98
File moved
graphics/
area
s/鹰身女妖的狩猎场.gif
→
graphics/
field
s/鹰身女妖的狩猎场.gif
View file @
b55bdf98
File moved
graphics/
area
s/黑色花园.gif
→
graphics/
field
s/黑色花园.gif
View file @
b55bdf98
File moved
graphics/
area
s/齿车街.gif
→
graphics/
field
s/齿车街.gif
View file @
b55bdf98
File moved
graphics/
area
s/龙之溪谷.gif
→
graphics/
field
s/龙之溪谷.gif
View file @
b55bdf98
File moved
lib/main.rb
View file @
b55bdf98
#encoding: UTF-8
#encoding: UTF-8
=begin
alias gbk_puts puts
alias gbk_puts puts
def puts(*args)
def puts(*args)
gbk_puts(*(args.collect{|item|item.encode "GBK", :invalid => :replace, :undef => :replace}))
gbk_puts(*(args.collect{|item|item.encode "GBK", :invalid => :replace, :undef => :replace}))
...
@@ -8,7 +8,7 @@ end
...
@@ -8,7 +8,7 @@ end
def p(*args)
def p(*args)
print(args.collect{|item|item.inspect.encode "GBK", :invalid => :replace, :undef => :replace}.join("\n")+"\n") rescue print(args.join("\n")+"\n")
print(args.collect{|item|item.inspect.encode "GBK", :invalid => :replace, :undef => :replace}.join("\n")+"\n") rescue print(args.join("\n")+"\n")
end
end
=end
def
filesize_inspect
(
size
)
def
filesize_inspect
(
size
)
case
size
case
size
when
0
...
1024
when
0
...
1024
...
...
lib/scene_duel.rb
View file @
b55bdf98
...
@@ -9,6 +9,7 @@ class Scene_Duel < Scene
...
@@ -9,6 +9,7 @@ class Scene_Duel < Scene
require_relative
'window_lp'
require_relative
'window_lp'
require_relative
'window_phases'
require_relative
'window_phases'
require_relative
'window_field'
require_relative
'window_field'
require_relative
'window_fieldback'
require_relative
'card'
require_relative
'card'
require_relative
'deck'
require_relative
'deck'
require_relative
'action'
require_relative
'action'
...
@@ -17,7 +18,11 @@ class Scene_Duel < Scene
...
@@ -17,7 +18,11 @@ class Scene_Duel < Scene
attr_reader
:cardinfo_window
attr_reader
:cardinfo_window
attr_reader
:action_window
attr_reader
:action_window
attr_reader
:player_field
attr_reader
:opponent_field
attr_reader
:player_field_window
attr_reader
:player_field_window
attr_reader
:opponent_field_window
attr_reader
:fieldback_window
def
initialize
(
room
)
def
initialize
(
room
)
super
()
super
()
@room
=
room
@room
=
room
...
@@ -37,6 +42,8 @@ class Scene_Duel < Scene
...
@@ -37,6 +42,8 @@ class Scene_Duel < Scene
@player_field
=
Game_Field
.
new
Deck
.
load
(
"test1.TXT"
)
@player_field
=
Game_Field
.
new
Deck
.
load
(
"test1.TXT"
)
@opponent_field
=
Game_Field
.
new
@opponent_field
=
Game_Field
.
new
@fieldback_window
=
Window_FieldBack
.
new
(
128
,
175
)
@player_field_window
=
Window_Field
.
new
(
4
,
398
,
@player_field
,
true
)
@player_field_window
=
Window_Field
.
new
(
4
,
398
,
@player_field
,
true
)
@opponent_field_window
=
Window_Field
.
new
(
4
,
60
,
@opponent_field
,
false
)
@opponent_field_window
=
Window_Field
.
new
(
4
,
60
,
@opponent_field
,
false
)
Action
.
player_field
=
@player_field
Action
.
player_field
=
@player_field
...
@@ -140,7 +147,6 @@ class Scene_Duel < Scene
...
@@ -140,7 +147,6 @@ class Scene_Duel < Scene
def
handle_iduel
(
event
)
def
handle_iduel
(
event
)
case
event
case
event
when
Iduel
::
Event
::
Action
when
Iduel
::
Event
::
Action
...
...
lib/window_field.rb
View file @
b55bdf98
...
@@ -31,6 +31,9 @@ class Window_Field < Window
...
@@ -31,6 +31,9 @@ class Window_Field < Window
refresh
refresh
end
end
def
refresh
def
refresh
p
$scene
.
player_field
.
field
[
0
]
rescue
nil
p
$scene
.
opponent_field
.
field
[
0
]
rescue
nil
$scene
.
fieldback_window
.
card
=
$scene
.
player_field
.
field
[
0
]
||
$scene
.
opponent_field
.
field
[
0
]
rescue
nil
@items
.
clear
@items
.
clear
@cards
.
clear
@cards
.
clear
if
!
@field
.
deck
.
empty?
if
!
@field
.
deck
.
empty?
...
...
lib/window_fieldback.rb
0 → 100644
View file @
b55bdf98
# To change this template, choose Tools | Templates
# and open the template in the editor.
class
Window_FieldBack
<
Window
def
initialize
(
x
,
y
)
super
(
x
,
y
,
457
,
389
,
100
)
end
def
card
=
(
card
)
return
if
@card
==
card
@card
=
card
if
card
and
File
.
file?
file
=
"graphics/fields/
#{
card
.
name
}
.gif"
@contents
=
Surface
.
load
file
self
.
visible
=
true
else
self
.
visible
=
false
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment