Commit Graph

51 Commits

Author SHA1 Message Date
Bui
91e5127613 audio update 2019-12-24 18:10:40 +00:00
LoveEevee
ff09cb83bd Add global offset
Adds new settings for controlling the note offset while playing. It can be either an actual offset (it is called "Audio Latency" in the settings) or just the visual offset ("Video Latency").
With higher audio latency it means you have to press the button sooner than what you hear, similarly with higher video latency it is sooner than what you see. By offsetting these events the game would play better, however, the sound effect of you hitting the drum would still play at the wrong time, the code cannot anticipate you to hit the drum in the future so to work around this issue a new option that disables drum sounds is also included.
These settings could be set through trial and error but it would be better to get the correct values through the automated latency calibration, where you can hit the drum as you hear sounds or see a blinking animation. I tried making one by measuring latency from user input, adding all the latency up, and dividing, but that gives unreliable results. I hope someone suggests to me what I should be doing during the calibration to get better results, as I cannot figure what to do on my own.
2019-11-28 09:04:40 +03:00
LoveEevee
1bb3359784 Use stars on song select for score level 2019-11-04 17:20:44 +03:00
purerosefallen
8574ad2580
add auto score 2019-11-01 00:12:20 +08:00
LoveEevee
f05b2518f3 Split language and tutorial, add gamepad settings 2019-04-16 21:06:41 +03:00
LoveEevee
61a5d6d496 SoundBuffer: Set song volume
- Requires a new column in the database after preview: `volume` REAL
- The value is a volume multiplier, if the value is set to null or 1 there will be no change
- The volume can be set in debugger
- Imported TJA files are now read from disk every time the song is played, freeing some memory and making it easier to create charts
- Correctly parse TJA files with alphabet notes, added "A" and "B" notes, which appear as DON (Big) and KA (Big) respectively
2019-03-16 00:34:48 +03:00
LoveEevee
7ee8773e61 View: Fix donbg scrolling
- All metadata fields in imported TJA files are now optional
- Added new metadata fields: `TITLEEN` and `SUBTITLEEN` (`EN` can be any language id from strings.js)
2019-03-06 00:48:30 +03:00
LoveEevee
29a4d154b3 Game: Fix notelocking
- Will not skip the note if `ka` was pressed right before `don` note or `don` was pressed right before `ka` note
- Will still skip the note if `don` and `ka` is pressed at the same time (within 25ms)
- Fixed `TAIKOWEBSKIN:` in imported songs crashing the game with some values
2019-02-24 15:04:14 +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
da40fd58ff ImportSongs: Custom assets 2019-02-03 15:04:25 +03:00
LoveEevee
05720b27f9 SongSelect: Translatable song titles 2019-01-25 04:42:05 +03:00
LoveEevee
3398791afe Controller: Separate game and view loops 2019-01-16 15:33:42 +03:00
LoveEevee
f535428125 Fix black loading screens 2019-01-01 16:35:12 +03:00
LoveEevee
5f4048315d Miscellaneous bug fixes 2018-12-13 12:18:52 +03:00
LoveEevee
f523700dc4 Wait for backgrounds to render before starting 2018-11-23 22:15:10 +03:00
LoveEevee
87bdf7a407 View: Add song backgrounds 2018-11-23 20:00:45 +03:00
LoveEevee
25d705ffcf P2: Multiplayer improvements 2018-11-13 07:56:38 +03:00
LoveEevee
89e25f237e View: Change pause screen 2018-11-12 13:32:02 +03:00
LoveEevee
82963f7912 Disable scoresheet skipping, change multiplayer string and bg 2018-11-02 13:26:46 +03:00
Bui
2598a5014d add game config 2018-10-27 22:42:28 +01: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
LoveEevee
122d3c06c8 Add key shortcut for debug, add starting measure and restart 2018-10-14 23:14:58 +03:00
LoveEevee
04473acb74 Add debugging user interface 2018-10-14 21:08:05 +03:00
LoveEevee
4845ec106b Add ura stars to preview, add ura badge 2018-10-13 01:09:42 +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
e1b8b45d88 Change drum to match Switch, add fullscreen to songsel, fix tutorial 2018-10-06 16:24:23 +03:00
LoveEevee
c999dca204 Fix song restarting and multiple touches 2018-10-05 21:27:47 +03:00
LoveEevee
c8acfc3188 View: Add touch controls 2018-10-05 20:03:59 +03:00
LoveEevee
d6350a900c Scoresheet: Add counting up animation 2018-10-03 12:48:18 +03:00
LoveEevee
ab1835aa48 Fix results not showing in Firefox 2018-10-01 13:02:28 +03:00
LoveEevee
fceb70897e Scoresheet: Change results screen 2018-10-01 10:33:43 +03:00
LoveEevee
71e180c7d7 Changed song selection screen 2018-09-26 21:30:57 +03:00
LoveEevee
fa818ad370 Add clear and endclear animations 2018-09-26 06:29:47 +03:00
LoveEevee
01d0a8104f Change note timing 2018-09-21 23:31:35 +03:00
LoveEevee
a49cc6a3c4 Add renda sound, dai notes scoring, fix music timing 2018-09-18 20:33:18 +03:00
LoveEevee
772dac579f Fix drumroll, pressed keys, pause menu, hide cursor 2018-09-18 16:59:40 +03:00
LoveEevee
e8809285e0 Clean up classes before exiting them 2018-09-18 01:37:59 +03:00
LoveEevee
749e657027 Add balloon and drumroll notes 2018-09-15 17:34:53 +03:00
LoveEevee
8e99da6aa2 Add 2-player mode 2018-09-12 20:10:00 +03:00
LoveEevee
2a6a6d0524 Fix some sounds 2018-09-11 17:50:10 +03:00
LoveEevee
0feb31227a Buffer every sound asset 2018-09-11 01:25:44 +03:00
LoveEevee
79c4cfcd9d Lots of gameplay improvements 2018-09-05 19:46:26 +03:00
Bui
a95f2e4319 use mekadon voices for autoplay 2018-09-02 13:05:08 +01:00
LoveEevee
64a93f14ab Remove hardcoded keyCodes 2018-08-29 08:58:03 +03:00
LoveEevee
5a82469da5 Fix getting stuck at the loading screen 2018-08-29 08:55:16 +03:00
LoveEevee
874445bd47 Autoplay when restarting during an autoplay 2018-08-28 03:56:22 +03:00
LoveEevee
2f717614fb Add autoplay mode 2018-08-28 02:56:31 +03:00