-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from illionillion/feature-import-title
タイトル画面の取り込み
- Loading branch information
Showing
16 changed files
with
364 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#title-flex { | ||
display: flex; | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
background-color: none; | ||
background-size: cover; | ||
} | ||
|
||
#title-background-video { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
#title-logo { | ||
flex: 6; | ||
position: relative; | ||
} | ||
|
||
#title-logo img { | ||
position: absolute; | ||
width: 100%; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
|
||
#title-list { | ||
position: relative; | ||
flex: 4; | ||
} | ||
|
||
#title-list ul{ | ||
position: absolute; | ||
width: 100%; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
margin: 0; | ||
padding-left: 0; | ||
} | ||
|
||
#title-list ul li{ | ||
list-style: none; | ||
font-size: 2vw; | ||
font-weight: 100; | ||
margin: 10px; | ||
text-align: center; | ||
justify-content: center; | ||
} | ||
|
||
#title-list ul li.on-cursor{ | ||
background-image: url(../images/title/cursor.png); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-position-x: 40%; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { initGameData } from './GameData.js'; | ||
import { initMenu } from './menu.js'; | ||
import { TitleInit } from './title.js'; | ||
|
||
export const defaultGameState = { | ||
charName: 'タウ', | ||
nowPart: 'init', // マップのinitを取得する | ||
nextPart: 'init', | ||
FloatCheck: true, | ||
nowDate: '0日目', | ||
nowPlace: undefined, | ||
eventState: 'title', | ||
autoPlayingFlag: false, // いらない | ||
TextPlayer: undefined, // いらない | ||
screenDarking: false, // 暗転中か | ||
menuFlag: false | ||
}; | ||
|
||
export const dataReset = () => { | ||
initGameData(defaultGameState); | ||
initMenu(defaultGameState); | ||
TitleInit(defaultGameState); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.