Commit Graph

28 Commits

Author SHA1 Message Date
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
b5b2dc47ab Move globe path from title screen 2019-01-29 20:02:00 +03: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
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
LoveEevee
3398791afe Controller: Separate game and view loops 2019-01-16 15:33:42 +03:00
LoveEevee
23f17aa26d Fix typo in a variable name 2019-01-05 18:54:06 +03:00
LoveEevee
8bc9aee594 ImportSongs: Add song genre 2019-01-05 10:44:28 +03:00
LoveEevee
426bc160c6 P2: Add multiplayer session 2018-11-02 01:13:48 +03:00
Bui
ab2e3d2417 update more keybinds 2018-10-23 15:51:55 +01:00
LoveEevee
f80565f25b SongSelect: Add ura difficulty 2018-10-12 21:04:28 +03:00
LoveEevee
7358d5c6bb Loader: Add blur and image testing 2018-10-09 10:10:58 +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
LoveEevee
e1b8b45d88 Change drum to match Switch, add fullscreen to songsel, fix tutorial 2018-10-06 16:24:23 +03:00
LoveEevee
c8acfc3188 View: Add touch controls 2018-10-05 20:03:59 +03:00
LoveEevee
71e180c7d7 Changed song selection screen 2018-09-26 21:30:57 +03:00
LoveEevee
e8809285e0 Clean up classes before exiting them 2018-09-18 01:37:59 +03:00
LoveEevee
0feb31227a Buffer every sound asset 2018-09-11 01:25:44 +03:00
Bui
2405345291 add tutorial screen 2018-09-02 17:11:09 +01:00
LoveEevee
5a82469da5 Fix getting stuck at the loading screen 2018-08-29 08:55:16 +03:00
Bui
58d5e3d748 restructure 2018-08-27 23:17:47 +01:00