Commit Graph

72 Commits

Author SHA1 Message Date
LoveEevee
1aecc7d52f SongSelect: Use seconds for previews 2019-02-21 01:42:18 +03:00
LoveEevee
76e56736f7 Do not restart animation with d-pad 2019-02-18 01:29:18 +03:00
LoveEevee
03b9326733 PraseTja: Add branches
- Needs the following changes to the database: change `easy`, `normal`, `hard`, and `oni` to `TEXT` type
- When adding songs to the database and if, for example, a song's 7-star difficulty has a branch, instead of `7` input `7 B`, this is to display song's branch support on the song selection
- Branch can be forced in debug
2019-02-17 19:26:46 +03:00
LoveEevee
e677f2f032 Change some events, fix p2 sending gameend twice
- Fixed gameend being sent twice in p2
- Add `ready`, `loader-error`, and `song-select-random` events
- Fixed `session-start` not firing when invited, added event detail
- Fixed `language-change` being fired at startup
- Fixed `version-link` and `about-link` firing twice
- "#song=" will fire `song-select-difficulty`
- Removed `key-events` and `scoresheet-player2`, merged with `scoresheet` and made it more detailed
2019-02-15 01:10:34 +03:00
LoveEevee
adc45cb652 Custom scripting, #song=, translations
- A song can be linked directly by adding "#song=<id>" to the url, replace `<id>` with the id in the database, after loading it jumps immediately jumps to the difficulty selection
- Added tutorial translations
- Fixed song preview not playing
- Use text fallback for the logo when there are no vectors
- Increased combo cache by 1 pixel
- A custom javascript file can be loaded from config.json by defining "custom_js" value
- Added lots of events to help writing custom js files: `version-link, title-screen, language-change, song-select, song-select-move, song-select-difficulty, song-select-back, about, about-link, tutorial, import-songs, import-songs-default, session, session-start, session-end, debug, load-song, load-song-player2, load-song-unfocused, load-song-cancel, load-song-error, game-start, key-events, p2-game-end, p2-disconnected, p2-abandoned, pause, unpause, pause-restart, pause-song-select, game-lag, scoresheet, scoresheet-player2`
- Event syntax example:
```js
addEventListener("game-start", event => {
	console.log("game-start", event.detail)
})
```
2019-02-14 12:32:45 +03:00
Bui
913c0787ef audio overhaul 2019-02-04 09:14:42 +00:00
LoveEevee
4fdd98789e CanvasDraw: Move vectors to assets 2019-01-29 19:10:56 +03:00
LoveEevee
08fb3498f6 Titlescreen: Change logo 2019-01-28 04:57:18 +03:00
LoveEevee
05720b27f9 SongSelect: Translatable song titles 2019-01-25 04:42:05 +03:00
LoveEevee
e8768cc35e Strings: Translate views 2019-01-22 21:47:09 +03:00
LoveEevee
4cb84c3426 Replace difficulty badges, translate good/ok/bad 2019-01-21 22:08:02 +03:00
LoveEevee
59baa9f06f Titlescreen: Add language selection menu 2019-01-21 18:47:22 +03:00
xdavidwu
65f8e9018a SongSelect: compare id before clearing currentSongCache
Add id check to currentSongCache clearing.
Fixes subtitle rendering if title matches but not the same song.
Titles are not guaranteed to be unique, but ids are.
Title check is still here for tiles that are not songs.
2019-01-21 20:10:22 +08:00
LoveEevee
68341a43af SongSelect: Fix P2 working after importing songs 2019-01-17 03:16:26 +03:00
LoveEevee
3398791afe Controller: Separate game and view loops 2019-01-16 15:33:42 +03:00
LoveEevee
8bc9aee594 ImportSongs: Add song genre 2019-01-05 10:44:28 +03:00
LoveEevee
5f4048315d Miscellaneous bug fixes 2018-12-13 12:18:52 +03:00
LoveEevee
f6660a8de0 Disable multiplayer for local song select 2018-12-06 00:23:00 +03:00
LoveEevee
a435ed1a6d SongSel: Add browse for local songs button 2018-12-05 23:33:34 +03:00
LoveEevee
6e61e24d56 SongSel: Fix title cache 2018-12-02 20:45:03 +03:00
LoveEevee
14d98254bb Add browser support tests 2018-11-27 02:05:02 +03:00
LoveEevee
593e93f137 SongBg: Fix songs without a skin 2018-11-26 02:14:16 +03:00
LoveEevee
e43821ba48 SongBg: Add song skins 2018-11-26 01:42:24 +03:00
LoveEevee
3a92a9c950 View: Fix layeredText offset 2018-11-21 13:50:48 +03:00
LoveEevee
b6552ea25f SongSelect: Add sub-titles 2018-11-10 22:12:29 +03:00
Bui
074ee68ce0 don't reset difficulty 2018-11-06 21:41:03 +00:00
Bui
ddc3e1a4dc save current song position before session menu 2018-11-06 21:28:28 +00:00
LoveEevee
b06d6d8412 View: Blue gauge for second player 2018-11-06 22:26:58 +03:00
AioiLight
0fbf5d67e3 Fix Japanese Translation 2018-11-06 22:52:01 +09:00
LoveEevee
82963f7912 Disable scoresheet skipping, change multiplayer string and bg 2018-11-02 13:26:46 +03:00
LoveEevee
426bc160c6 P2: Add multiplayer session 2018-11-02 01:13:48 +03:00
Bui
2598a5014d add game config 2018-10-27 22:42:28 +01:00
LoveEevee
73e7d384cd Remove measures before first one, fix debug mouse events 2018-10-27 23:42:02 +03:00
LoveEevee
d7900ca083 SongSelect: Selectable text, assets cleanup, and bug fixes 2018-10-27 21:35:04 +03:00
LoveEevee
f90f6fe6e1 View: Rewrite 2018-10-25 17:18:41 +03:00
Bui
ab2e3d2417 update more keybinds 2018-10-23 15:51:55 +01:00
Bui
117e32e578 update default keybinds 2018-10-23 15:46:26 +01:00
LoveEevee
0b757c0983 Allow preview to start when there is an error converting 2018-10-18 02:54:00 +03:00
Bui
cb8b8b4a61 generate previews for songs 2018-10-17 22:16:53 +01:00
LoveEevee
773684c2cb Fix ios landscape again, add html linebreak to mailto 2018-10-14 14:25:10 +03:00
LoveEevee
89f352bc60 Add an issue template translation 2018-10-14 14:02:50 +03:00
LoveEevee
68d69d4a0a SongSelect: Add About screen 2018-10-14 11:14:36 +03:00
LoveEevee
4845ec106b Add ura stars to preview, add ura badge 2018-10-13 01:09:42 +03:00
LoveEevee
fecf4d86b6 Add fallback font 2018-10-12 21:21:21 +03:00
LoveEevee
f80565f25b SongSelect: Add ura difficulty 2018-10-12 21:04:28 +03:00
LoveEevee
39655fc534 Add .tja file support 2018-10-11 01:13:24 +03:00
LoveEevee
190beb224d Songselect: Add cache for shadows 2018-10-09 16:23:21 +03:00
LoveEevee
fac283174f Gamepad: Add left stick and TaTaCon D-Pad 2018-10-09 02:20:34 +03:00
LoveEevee
32caec8fac Keyboard: Add TaTaCon buttons 2018-10-08 23:32:25 +03:00
LoveEevee
d36d013551 Hide keyboard tutorial from mobile users 2018-10-06 18:09:57 +03:00