Commit Graph

352 Commits

Author SHA1 Message Date
LoveEevee
41afc2a905 Game: Improve gauge 2020-03-05 18:58:49 +03:00
LoveEevee
9a9bc2869c
[PATCH] Fix big notes being hit for a short time 2020-03-01 00:51:37 +08:00
LoveEevee
3097dd3736
[PATCH] Add Easier Big Notes setting 2020-03-01 00:05:05 +08:00
purerosefallen
2ab0de9644
improve Dais for Taiko Force Lv5 2020-02-27 23:11:04 +08:00
LoveEevee
c76931e7db Add category jump buttons to song select 2020-02-22 20:27:57 +03:00
Bui
28b837fbf1
Merge branch 'master' into cat-jump 2020-02-22 13:50:46 +00:00
Bui
ce4d8ce31f
Merge pull request #181 from bui/audio-update
Audio update
2020-02-22 13:14:05 +00:00
Bui
b030624ab1 fix combo voice load error 2020-02-22 13:13:04 +00:00
Bui
750dc66245 improve category jump 2020-02-22 13:09:07 +00:00
Bui
c900f13340
Merge pull request #171 from purerosefallen/note_word
update the words below the notes
2020-02-22 08:46:42 +00:00
Bui
9f7ce52cb4 only load combo voices as needed 2019-12-24 19:37:10 +00:00
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
Bui
34d0bd01d4 SongSelect: category jumping 2019-11-27 01:45:28 +00:00
Bui
7a50dec558 fix maker detection for local tja 2019-11-26 13:40:42 +00:00
Bui
ea04771d00 always save selected song 2019-11-25 16:38:14 +00:00
Bui
30bc2b1002 handle invalid maker ids 2019-11-25 01:44:40 +00:00
Bui
8cc1b940e1 read maker from local tja 2019-11-25 01:04:59 +00:00
Bui
42f22a4f09 allow anonymous makers 2019-11-25 00:58:07 +00:00
Bui
67e418bc4d SongSelect: Add maker identification
requires maker_id(int) column in songs table, and a new "makers" table with maker_id(int), name(text), url(text)
2019-11-24 23:51:58 +00:00
purerosefallen
4c80505de5
fix 2019-11-05 10:01:29 +08:00
LoveEevee
1bb3359784 Use stars on song select for score level 2019-11-04 17:20:44 +03:00
purerosefallen
02c377e9cf
update the words below the notes 2019-11-04 20:59:28 +08:00
purerosefallen
84377f62b0
only for safety 2019-11-03 10:40:43 +08:00
purerosefallen
cd7015f582
fix 2019-11-02 09:53:15 +08:00
purerosefallen
88fc5dbbb6
improve 2019-11-02 00:45:53 +08:00
purerosefallen
f3f57ea1a5
fix 2019-11-01 00:47:43 +08:00
purerosefallen
8574ad2580
add auto score 2019-11-01 00:12:20 +08:00
Bui
41a64965a7 remove hardcoded email address 2019-09-15 17:15:41 +01:00
purerosefallen
be0b0c61cf
new score 2019-06-21 11:54:26 +08:00
Bui
6c2067526a
fix syntax error 2019-05-03 04:15:30 +01:00
Bui
5a36e63f36
Display all settings on first load 2019-05-03 03:59:31 +01:00
LoveEevee
7b67be87d3 Fix views on small resolutions 2019-04-17 00:33:50 +03:00
LoveEevee
454028a7e6 Fix tutorial not saving 2019-04-16 23:29:26 +03:00
LoveEevee
f5d4c6bce5 Improve gamepad layout window 2019-04-16 22:48:21 +03:00
LoveEevee
f05b2518f3 Split language and tutorial, add gamepad settings 2019-04-16 21:06:41 +03:00
LoveEevee
a4d938e888 Move language settings from title screen 2019-04-06 22:14:44 +03:00
LoveEevee
a33ff2a868 Fix keys not resetting 2019-04-06 13:26:06 +03:00
LoveEevee
b3c0f8cd73 Add language to settings 2019-04-06 13:19:10 +03:00
LoveEevee
8565a3cbba Remove gamepad layout settings 2019-04-06 00:10:15 +03:00
LoveEevee
59fc718a08 Fix touching settings 2019-04-05 23:21:22 +03:00
LoveEevee
879186c313 Add keyboard and gamepad settings 2019-04-05 22:53:51 +03:00
LoveEevee
3f533a0255 Add background music 2019-04-05 12:36:14 +03:00
LoveEevee
78528b424c Fix results screen, clear drum asset 2019-04-05 00:21:08 +03:00
LoveEevee
cb64777012 SongSelect: Add Settings
- Resolution can be adjusted, as well as touch drum animation on mobile
- A translation text file "songtitle.txt" can be imported
  - Titles and translated titles are each on their own line, if a line begins with a language code, it will translate the song title that is above
  - An example file can be found here: https://gist.github.com/LoveEevee/65fe66f0b54c0536f96fd2f4862984d4
- The page will fail to load if version on the page does not match /api/config
- Disabled Tab key while playing, before hitting it would focus the version link
- Fix forcing branches in debug not working
- Fixed not being able to click on songs that do not have oni but have ura
- Fix unexpected category being used as a fallback
- Fix verticalText and layeredText not accepting anything except strings
2019-04-04 23:40:11 +03:00
LoveEevee
267461dd84 Clean more caches 2019-03-22 13:47:10 +03:00
LoveEevee
911da048bb Fix code
- Fixes code
2019-03-20 17:00:30 +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
fbbed1a714 Fix note streams on key press 2019-02-24 18:13:41 +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
1aecc7d52f SongSelect: Use seconds for previews 2019-02-21 01:42:18 +03:00
LoveEevee
92510c3021 Do not add canvascache to body 2019-02-21 00:06:16 +03:00
LoveEevee
a09709843d Fix ura symbol 2019-02-20 23:51:45 +03:00
LoveEevee
c72b5a742c Add animations and fix behaviour 2019-02-20 23:48:21 +03:00
LoveEevee
76e56736f7 Do not restart animation with d-pad 2019-02-18 01:29:18 +03:00
LoveEevee
4e9bf237a1 Fix go go time 2019-02-17 20:17:07 +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
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
Bui
ac23292fe7 change version var name 2018-12-05 21:55:28 +00:00
Bui
1806fb338e add query string to view requests 2018-12-05 21:47:35 +00: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
51f306d1c7 About: Descriptive errors 2018-12-04 01:23:11 +03:00
LoveEevee
abe2b4ccae CanvasCache: Fix clearing on small screens 2018-12-03 03:02:03 +03:00
LoveEevee
6e61e24d56 SongSel: Fix title cache 2018-12-02 20:45:03 +03:00
LoveEevee
3ea9bc8690 Fade in when hitting drumrolls and balloons 2018-12-02 19:53:12 +03:00
LoveEevee
6d770e7b2d Add second player backgrounds, add fade on miss 2018-12-02 19:36:04 +03:00
LoveEevee
f25aee9643 SongBg: Add don backgrounds 2018-12-02 18:25:42 +03:00
Bui
c00fc0c615 more cross-origin fixes 2018-11-30 14:47:53 +00:00
Bui
7a4af4df41 fix songbg on foreign asset origins
fixes #84
2018-11-30 13:25:01 +00:00
Bui
9dcaa99148 fix promises test 2018-11-26 23:43:46 +00:00
LoveEevee
808576d0ab Remove target attribute 2018-11-27 02:31:13 +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
6e79154cad SongBg: Reduce background resolution on mobile 2018-11-24 17:09:08 +03:00
LoveEevee
edd76b55a4 Fix backgrounds in multiplayer 2018-11-23 22:44:14 +03:00
LoveEevee
f523700dc4 Wait for backgrounds to render before starting 2018-11-23 22:15:10 +03:00
LoveEevee
96b8e9f3a2 Add random stage 2018-11-23 21:52:24 +03:00
LoveEevee
87bdf7a407 View: Add song backgrounds 2018-11-23 20:00:45 +03:00
LoveEevee
3a92a9c950 View: Fix layeredText offset 2018-11-21 13:50:48 +03:00
LoveEevee
0533ae77a4 View: Add category info 2018-11-21 12:02:53 +03:00
LoveEevee
1aadc7aaf7 Assets: Update font 2018-11-18 15:30:06 +03:00
LoveEevee
7cd8ce1ac1 View: Add note explosions 2018-11-15 11:42:22 +03:00
LoveEevee
1356f682cc View: Fix touch 2018-11-13 21:44:04 +03:00
LoveEevee
32a64a14eb Change inactive tab notification sound 2018-11-13 12:50:52 +03:00
LoveEevee
25d705ffcf P2: Multiplayer improvements 2018-11-13 07:56:38 +03:00
LoveEevee
aae31c6630 View: Fix missing sound effect 2018-11-12 14:06:36 +03:00
LoveEevee
89e25f237e View: Change pause screen 2018-11-12 13:32:02 +03:00
LoveEevee
7d91721ce8 Limit horizontal scaling in sub-titles 2018-11-10 23:52:06 +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
0e3df5d406 Update Japanese bug-reports warning text 2018-11-06 23:10:01 +09:00
AioiLight
0fbf5d67e3 Fix Japanese Translation 2018-11-06 22:52:01 +09:00
AioiLight
e8f93f55cb Fix Japanese Translation 2018-11-06 22:50:59 +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