Commit Graph

139 Commits

Author SHA1 Message Date
Andrio Celos
b1bfc622de Sort card lists by size by default 2023-08-31 15:44:51 +10:00
Andrio Celos
931ed34c33 Add ability to show the turn number rather than turns left 2023-08-31 15:26:55 +10:00
Andrio Celos
b92da588a3 Minor game page layout fix 2023-08-31 15:20:56 +10:00
Andrio Celos
a50086aedf Allow the host to set the turn time limit in the lobby page
Suggested by Ljovynn. It can be set only before the first battle.
2023-08-31 15:16:46 +10:00
Andrio Celos
776a8dc696 Allow import from tableturf.koishi.top or Tooltip 2023-08-31 14:25:57 +10:00
Andrio Celos
35b4759348 Drag handle layout fix 2023-08-31 13:59:47 +10:00
Andrio Celos
90f0c3f4ea Deck editor: automatically select an empty slot on start/ picking a card
Suggested by Ljovynn.
2023-08-31 13:54:32 +10:00
Andrio Celos
1084b56f0b Limit the draggable area on cards to the title in touch mode
This makes it much easier to scroll the list.
2023-08-31 13:01:19 +10:00
Andrio Celos
5dfd7b6a44 Rework deck editor page and allow drag/drop of decks and cards 2023-08-31 12:26:03 +10:00
Andrio Celos
252b326262 Add a sort button to the deck editor 2023-08-30 19:21:30 +10:00
Andrio Celos
d4eb72ee3e Update Tri-Stringer Collab to Inkline Tri-Stringer 2023-08-30 19:20:39 +10:00
Andrio Celos
ede0ebd3c9 Fix a renamed deck not being updated in the deck list 2023-08-30 15:08:58 +10:00
Andrio Celos
7e7f4e7015 Fix cards remaining disabled after exiting test and starting another 2023-08-30 15:06:13 +10:00
Andrio Celos
a839ac99b0 Improve card rotation
Previously, all cards would rotate around the centre of the grid. Now they rotate as they do in the original game. This ensures that the mouse pointer is never outside the card's ink bounds, which was an issue with Splatana Wiper etc.
2023-08-30 14:06:12 +10:00
Andrio Celos
06f929b547 Fix the win counter when rewinding from the results screen in replays 2023-08-18 21:41:40 +10:00
Andrio Celos
550e318c55 Tilt the selected card in replays too 2023-08-18 21:41:17 +10:00
Andrio Celos
d366d955af Add upcoming cards
Upcoming cards are identified by a negative number. The pre-release number will be preserved as an alt number after release to avoid breaking saved deck and replay data that references it.
2023-08-18 21:36:19 +10:00
Andrio Celos
235d3ac25a Show win counts in the lobby too 2023-08-13 22:49:27 +10:00
Andrio Celos
dcb669490c Multiple-game sets
This allows any number of games to be played in a room.
Each player bar will show the number of games that player has won. If a goal win count is selected in More Options, the set will end when someone reaches that many wins. Otherwise, players can start a new game after the game ends.
2023-08-13 22:20:23 +10:00
Andrio Celos
91044db4c1 Visual enhancements
Includes making the background better.
2023-08-13 16:45:12 +10:00
Andrio Celos
1acfa7937d Fix hand layout issues 2023-08-12 19:23:47 +10:00
Andrio Celos
70f268e9f4 Stop name of Custom Splattershot Jr. from spilling onto a third line 2023-08-12 19:08:20 +10:00
Andrio Celos
3109316db9 Correct special cost of Dapple Dualies Noveau 2023-08-12 19:05:29 +10:00
Andrio Celos
9cd4538f67 Fix error and inconsistent UI when the opponent runs out of time 2023-08-12 18:46:55 +10:00
Andrio Celos
38fc94f4e4 Replace the loading spinner with the Splatoon one
The asset isn't included in this repository for copyright reasons, but will be available on the live site
2023-08-12 18:09:13 +10:00
Andrio Celos
07e046f669 Correct an element ID 2023-07-14 17:53:41 +10:00
Andrio Celos
ee1322fe9b Update screenshots 2023-07-13 10:51:28 +10:00
Andrio Celos
b486738ea8 Animate special points 2023-07-13 10:31:54 +10:00
Andrio Celos
86ca6feb66 Refine game page hints 2023-07-13 10:31:34 +10:00
Andrio Celos
812474f38a Don't close the import dialog if an error occurs 2023-07-12 23:04:07 +10:00
Andrio Celos
50529a4eea Add ink placement and special space animations 2023-07-12 23:03:47 +10:00
Andrio Celos
e417b148c6 Add import from screenshot and import/export multiple decks at once 2023-06-28 15:55:51 +10:00
Andrio Celos
7cc4c35b37 Add a background to most pages
The background image is part of the external assets.
2023-06-24 23:53:58 +10:00
Andrio Celos
6bab8f8ed6 Button overhaul
Replace all hidden <input> checkboxes and radio buttons with <button> elements. This simplifies the DOM, allows for hints when clicking a disabled button and full control over checked states.
2023-06-24 23:52:28 +10:00
Andrio Celos
4910fa7a88 Fix script errors and back navigation not closing the help dialog 2023-06-23 10:10:04 +10:00
Andrio Celos
b4691da306 Style fixes 2023-06-23 10:09:07 +10:00
Andrio Celos
e46de3b775 Add more hints to the game page 2023-06-23 10:04:24 +10:00
Andrio Celos
d5dde76a34 Add colour testing controls 2023-06-21 22:38:04 +10:00
Andrio Celos
d042d0e79b Minor fixes and refactoring 2023-06-21 22:35:01 +10:00
Andrio Celos
7a24364c7a Hide the time limit in replays 2023-06-16 23:31:12 +10:00
Andrio Celos
3120e88706 Add a loading message in case config fails to load 2023-06-16 09:52:37 +10:00
Andrio Celos
391fa91d61 API: Treat empty string turnTimeLimit same as not specified 2023-06-16 09:35:47 +10:00
Andrio Celos
6575419934 Change default turn time limit to none 2023-06-16 09:34:39 +10:00
Andrio Celos
88789518e6 Close the WebSocket when leaving a game 2023-06-15 23:03:45 +10:00
Andrio Celos
8d8fe14fac Fix incorrect turn time after a special attack 2023-06-15 23:03:12 +10:00
Andrio Celos
8a9511889b Add confirmation on beforeunload during an ongoing game that you're in 2023-06-15 22:44:52 +10:00
Andrio Celos
0906969365 Implement turn time limits 2023-06-15 15:27:41 +10:00
Andrio Celos
2460a5e564 Add Sizzle Season 2023 cards 2023-06-01 10:14:40 +10:00
Andrio Celos
88ab2ec61c Correct start spaces on Main Street. Fixes #8. 2023-04-13 09:24:10 +10:00
Andrio Celos
b2f3d8c16f Show projected turf count while choosing a placement 2023-03-14 09:50:03 +11:00