Commit Graph

387 Commits

Author SHA1 Message Date
Bui
41a64965a7 remove hardcoded email address 2019-09-15 17:15:41 +01:00
Bui
66612d222b
Merge pull request #158 from purerosefallen/score_bui
Update score with SCOREINIT and SCOREDIFF
2019-06-22 05:53:59 +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
Bui
5d7d38dced
Merge pull request #146 from bui/songselect-add-settings
SongSelect: Add Settings
2019-05-03 03:46: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
Bui
7411022b14
Merge pull request #143 from bui/fix-code
Fix code
2019-03-24 16:25:28 +00: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
Bui
f24592d4c8
Merge pull request #141 from bui/soundbuffer-song-volume
SoundBuffer: Set song volume
2019-03-19 01:08:22 +00: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
Bui
eb4ddb0b1f
Merge pull request #139 from bui/view-fix-donbg-scrolling
View: Fix donbg scrolling
2019-03-09 20:08:57 +00: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
Bui
a9006e7ca2
Merge pull request #138 from bui/game-fix-notelocking
Game: Fix notelocking
2019-02-24 19:18:47 +00: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
Bui
3a28d967b9 move song previews to the database 2019-02-20 22:02:44 +00:00
Bui
13ca5e368b
Merge pull request #136 from bui/parsetja-add-branches
ParseTja: Add branches
2019-02-20 21:38:40 +00: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
Bui
440436b38c Merge remote-tracking branch 'origin/custom-js' 2019-02-15 13:22:10 +00: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
Bui
ace0f2030c cache / 2019-02-14 10:36:39 +00:00
Bui
d92cd6f3a2 add view caching 2019-02-14 10:31:23 +00: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
Bui
045059ec8d Merge branch 'update-assets' of LoveEevee/taiko-web into master 2019-02-12 01:51:25 +01:00
LoveEevee
4d2c17c1e0 Support different results characters for debug mode 2019-02-12 03:31:20 +03:00
LoveEevee
e220174c8a Update assets 2019-02-12 00:52:06 +03:00
Bui
1fffb5fc13 remove ogg test 2019-02-06 19:55:13 +00:00
Bui
235a282d1e Merge branch 'assets-css' of bui/taiko-web into master 2019-02-06 19:53:54 +01:00
Bui
4be9334be3 solidify default git repo 2019-02-06 18:49:25 +00:00