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
44c1579c
Commit
44c1579c
authored
Jul 20, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
title
parent
7b870276
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
graphics/system/title_full_special.png
graphics/system/title_full_special.png
+0
-0
graphics/system/title_resize_special.png
graphics/system/title_resize_special.png
+0
-0
lib/scene_title.rb
lib/scene_title.rb
+3
-2
No files found.
graphics/system/title_full_special.png
0 → 100644
View file @
44c1579c
This diff was suppressed by a .gitattributes entry.
graphics/system/title_resize_special.png
0 → 100644
View file @
44c1579c
This diff was suppressed by a .gitattributes entry.
lib/scene_title.rb
View file @
44c1579c
#encoding: UTF-8
#encoding: UTF-8
#==============================================================================
# Scene_Title
#------------------------------------------------------------------------------
...
...
@@ -13,9 +13,10 @@ class Scene_Title < Scene
WM
::
set_caption
(
"MyCard v
#{
Update
::
Version
}
"
,
"MyCard"
)
title
=
Dir
.
glob
(
"graphics/titles/title_*.*"
)
title
=
title
[
rand
(
title
.
size
)]
title
=
"graphics/titles/title_
#{
$config
[
'screen'
][
'height'
]
==
768
?
'full'
:
'resize'
}
_special.png"
if
title
[
'special'
]
@background
=
Surface
.
load
(
title
).
display_format
Surface
.
blit
(
@background
,
0
,
0
,
0
,
0
,
$screen
,
0
,
0
)
@command_window
=
Window_Title
.
new
(
title
[
"left"
]
?
200
:
title
[
"right"
]
?
600
:
400
,
$config
[
'screen'
][
'height'
]
/
2
-
100
)
@command_window
=
Window_Title
.
new
(
title
[
"left"
]
?
200
:
title
[
"right"
]
?
600
:
title
[
"special"
]
?
42
:
400
,
title
[
"special"
]
?
321
:
$config
[
'screen'
][
'height'
]
/
2
-
100
)
@decision_se
=
Mixer
::
Wave
.
load
(
"audio/se/decision.ogg"
)
if
SDL
.
inited_system
(
INIT_AUDIO
)
!=
0
super
end
...
...
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