Commit Graph

193 Commits

Author SHA1 Message Date
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
ca85bc1b2d update setup link 2019-02-13 22:23:18 +00:00
LoveEevee
4d2c17c1e0 Support different results characters for debug mode 2019-02-12 03:31:20 +03:00
Bui
1fffb5fc13 remove ogg test 2019-02-06 19:55:13 +00:00
Bui
4be9334be3 solidify default git repo 2019-02-06 18:49:25 +00:00
Bui
b3ed655e44 Loader: Inject assets CSS 2019-02-06 18:27:31 +00:00
Bui
913c0787ef audio overhaul 2019-02-04 09:14:42 +00:00
LoveEevee
da40fd58ff ImportSongs: Custom assets 2019-02-03 15:04:25 +03:00
LoveEevee
b5b2dc47ab Move globe path from title screen 2019-01-29 20:02:00 +03:00
LoveEevee
32477f2129 Add query string to vectors 2019-01-29 19:23:04 +03:00
LoveEevee
4fdd98789e CanvasDraw: Move vectors to assets 2019-01-29 19:10:56 +03:00
Bui
933217d567 fix zh mixup 2019-01-28 15:53:03 +00:00
Bui
29040f474d Titlescreen: increase #lang z-index 2019-01-28 15:33:03 +00:00
Bui
cdaf3d6a91 Titlescreen: add disclaimer translations 2019-01-28 12:06:21 +00:00
Bui
682ca6aaed Titlescreen: clean disclaimer 2019-01-28 11:50:22 +00:00
Bui
2a4e566227 Titlescreen: add disclaimer 2019-01-28 11:43:18 +00:00
LoveEevee
08fb3498f6 Titlescreen: Change logo 2019-01-28 04:57:18 +03:00
LoveEevee
8d50b9ceea BrowserSupport: Translate 2019-01-26 21:29:13 +03:00
LoveEevee
6dc555ee08 Custom url for issues link 2019-01-25 07:24:43 +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
Bui
a752aa75a2 revert zh-TW game music string 2019-01-22 08:59:07 +00:00
bckps7336
cb9f71d500 zh-TW enhancements 2019-01-22 16:33:04 +08:00
bckps7336
619701839f Translation Enhancements (zh-TW/zh-CN)
- Fixed incomplete translations from CN to TW
- Changed word usages to existing translations
2019-01-22 16:28:17 +08:00
LoveEevee
6fd37985c8 Add hover effect to language menu 2019-01-21 22:33:33 +03:00
LoveEevee
4cb84c3426 Replace difficulty badges, translate good/ok/bad 2019-01-21 22:08:02 +03:00
LoveEevee
6559e8ee28 Fix scoresheet text 2019-01-21 19:12:30 +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
a83e75b2e2 View: Fix go go time gradient 2019-01-06 22:59:49 +03:00
LoveEevee
23f17aa26d Fix typo in a variable name 2019-01-05 18:54:06 +03:00
LoveEevee
886979ad36 Allow non-standard genre field, add genre to osu songs 2019-01-05 15:24:09 +03:00
LoveEevee
8bc9aee594 ImportSongs: Add song genre 2019-01-05 10:44:28 +03:00
Bui
b91b3110d5 fix 2P breakage again 2019-01-02 04:32:33 +00:00
Bui
99463a7bf0 fix 2P breakage 2019-01-02 04:26:24 +00:00
LoveEevee
6c182d2c47 Scoresheet: Fix animation speed on window resize 2019-01-01 18:00:00 +03:00
LoveEevee
f535428125 Fix black loading screens 2019-01-01 16:35:12 +03:00
LoveEevee
f9bb8cabb0 Fix browser compatibility 2019-01-01 07:45:13 +03:00
LoveEevee
fc92c55370 Add failed animation 2019-01-01 06:04:49 +03:00
LoveEevee
06cdc1c7e2 Fix characters with page zoom 2019-01-01 04:57:21 +03:00
LoveEevee
9e8242b136 Scoresheet: Add characters 2019-01-01 04:16:55 +03:00
Bui
47e939a77c stop 0combo from trying to play 2018-12-31 17:03:54 +00:00
Bui
e8d33487e0 over1500combo every 500 instead of 100 2018-12-30 16:50:58 +00:00
Bui
806b21df08 add over1500 combo sound 2018-12-30 14:35:15 +00:00
LoveEevee
c0f89179cc View: Fix multiplayer on songs with skins 2018-12-23 17:56:40 +03:00
Bui
c2f111a91f only update lastKeyEvent on don/ka keys 2018-12-23 14:29:03 +00:00
LoveEevee
57bf7bbd8c Gamepad: Disable with keyboard input 2018-12-15 22:13:16 +03:00
LoveEevee
5f4048315d Miscellaneous bug fixes 2018-12-13 12:18:52 +03:00