diff --git a/WORKLOG.md b/WORKLOG.md index 9ea59bde..daaaefb6 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -1,10 +1,43 @@ # WORK WORK ## NOW -*PRODUCTION* - +_ntr_ * can't reset password without knowing password =\ +* skip faceoff on server side +* change cooldowns to delay & recharge + - delay is cooldown before skill can first be used + - recharge is cooldown after using skill + - every x speed reduces delay of skills +* audio + * animation effects + * vbox combine / buy / equip etc + * background music +* effects rework +Siphon = +[ + DamageBlue(50%), + Apply( + Siphon(2T) + - Siphoning(2T) + ), +] + +Hexagon Set +- Pick Colour +- Random Walk +- Draw hex +- Increase intensity for each visit + +_mashy_ +* buy from preview if you have the required bases in vbox / inventory + - a "buy" becomes available under the current info / preview section + - clicking the buy automatically purchases / combine items + - could also be used to upgrade already equipped skills / specs + - e.g. an equipped white power spec could be upgraded by clicking under preview + - if this was added we could reduce inventory size to 3 and rearrange vbox (see mockup img) + +_external_ * Graphics * Img * Skill Icons @@ -15,42 +48,17 @@ - Speed (e.g. boots) - Life (e.g. heart) -* reduce inventory size and consolidate vbox and inventory on left side - -* audio - * background music - * animation effects - * vbox combine / buy / equip etc - -* reclaim change colour from red (clashes with red items) - -* represent construct colours during game phase (coloured border?) +_tba_ * supporter gold name in instance (anyone whos put any money into game) - -* Give the bots some ai / make stronger so its a challenge for new people to beat - - train a few games of with some round losses to get them into the game - +* represent construct colours during game phase (coloured border?) * Speed up animations slightly (3s per normal event too long) - Improve combat text to start at the opposite end of construct and float towards health stats - Show combat text for skill cast possibly? Watch some pokemans etc for modern combat smoothing - -* skip faceoff on server side +* Give the bots some ai / make stronger so its a challenge for new people to beat + - train a few games of with some round losses to get them into the game ## SOON -* buy from preview if you have the required bases in vbox / inventory - - a "buy" becomes available under the current info / preview section - - clicking the buy automatically purchases / combine items - - could also be used to upgrade already equipped skills / specs - - e.g. an equipped white power spec could be upgraded by clicking under preview - - if this was added we could reduce inventory size to 3 and rearrange vbox (see mockup img) - - -* change cooldowns to delay & recharge - - delay is cooldown before skill can first be used - - recharge is cooldown after using skill - - every x speed reduces delay of skills - * combo rework - reduce number of items for creating t2/t3 items from 3 -> 2 - add lost complexity by adding skill spec items @@ -61,18 +69,14 @@ - Strike + SpeedRR -> StrikeSpeed (strike has Y% more speed) - Strike + LifeRR -> StrikeLife (Strike recharges X% of damage as red life) - - Can also work as module style passive keystones + - Can also work as module style passive keystones * troll life -> dmg -> Invert life spec? - * prince of peace + * prince of peace * bonus healing / no damage -> Heal power spec? * fuck magic -> Some sort of reflect spec? * empower on ko -> Amplify + Power spec * elo + leaderboards -* reconnect based on time delta - -* ACP - * essential ## LATER @@ -95,8 +99,8 @@ - Working as cooldowns in reverse by building up to the skill rather than waiting * constants -* (maybe) return of the combat log (last few events with condensed descriptions) - - click in to scroll +* return of the combat log (last few events with condensed descriptions) + - button to switch context or overlay the combatlog * mnml tv diff --git a/client/assets/styles/account.less b/client/assets/styles/account.less index a52e6e5b..c920c8dc 100644 --- a/client/assets/styles/account.less +++ b/client/assets/styles/account.less @@ -44,7 +44,7 @@ } &[disabled] { - border: 1px solid @yellow; + border: 0.1em solid @yellow; color: @yellow; background: black; } diff --git a/client/assets/styles/colours.less b/client/assets/styles/colours.less index a1ae5dcb..16e972af 100644 --- a/client/assets/styles/colours.less +++ b/client/assets/styles/colours.less @@ -5,6 +5,7 @@ @white: #f5f5f5; // whitesmoke @purple: #9355b5; // 6lack - that far cover @yellow: #ffa100; +@silver: #c0c0c0; @black: black; @gray: #222; diff --git a/client/assets/styles/controls.less b/client/assets/styles/controls.less index 0bdb4b59..a5938475 100644 --- a/client/assets/styles/controls.less +++ b/client/assets/styles/controls.less @@ -60,7 +60,7 @@ aside { width: 0.25em; max-width: 0.25em; - margin: 0 1em 0 0; + margin: 0 0.5em 0 0; border: none; } @@ -150,13 +150,13 @@ aside { &:hover { color: @red; border-color: @red; - border: 2px solid @red; + border: 0.1em solid @red; }; &:active, &.confirming { background: @red; color: black; - border: 2px solid @red; + border: 0.1em solid @red; } } @@ -164,7 +164,7 @@ aside { &:active, &.confirming { background: @gray-hover; color: black; - border: 2px solid @gray-hover; + border: 0.1em solid @gray-hover; } } diff --git a/client/assets/styles/game.less b/client/assets/styles/game.less index 4ddacc63..ea48cede 100644 --- a/client/assets/styles/game.less +++ b/client/assets/styles/game.less @@ -27,6 +27,7 @@ position: absolute; bottom: 0; + margin-bottom: 0.5em; height: 50%; .avatar { @@ -148,17 +149,13 @@ z-index: 2; button { width: 100%; - height: 2em; + height: 3em; + line-height: 1; margin-right: 1em; - span { - background-color: black; - } + background-color: black; } button.active { - background: #2c2c2c; - span { - background-color: #2c2c2c; - } + background-color: #2c2c2c; } } @@ -236,8 +233,8 @@ #targeting, .resolving-skill { position: absolute; - top: 35%; - height: 15%; + top: calc(35% + 0.5em); // calc for 0.5em top gap + height: calc(15% - 1em); // calc for 0.5em + 0.5em top / bottom gap width: calc(90% - 1.25em); z-index: 2; span { @@ -266,9 +263,7 @@ padding-right: 1em; text-align: center; z-index: 2; - span { - background-color: black; - } + background-color: black; svg { display: inline; height: 1em; @@ -279,7 +274,7 @@ /* some stupid bug in chrome makes it fill the entire screen */ @media screen and (-webkit-min-device-pixel-ratio:0) { #targeting { - max-height: 10em; + // max-height: 10em; } } diff --git a/client/assets/styles/instance.less b/client/assets/styles/instance.less index e54bf31e..52ad8fea 100644 --- a/client/assets/styles/instance.less +++ b/client/assets/styles/instance.less @@ -1,129 +1,21 @@ -.instance { - overflow: hidden; - display: grid; - grid-template-columns: 1fr minmax(min-content, 1fr); - grid-template-rows: min-content 1fr; - - grid-template-areas: - "vbox info" - "constructs constructs"; -} - -@media (max-width: 1920px) { - .instance .info table td svg { - // height: 50%; - stroke-width: 8px; - } - - .instance svg { - height: 1.5em; - } -} - -.instance .top { - grid-area: top; -} - .instance.lobby { align-content: center; } -.scoreboard { - flex: 1; -} - -.instance .info { - margin: 0 0 0 1em; - grid-area: info; - +.instance { + overflow: hidden; display: grid; - grid-template-rows: 13em min-content; + grid-template-rows: min-content 1fr; + grid-template-areas: - "item" - "combos"; + "vbox" + "constructs"; - .combos { - display: grid; - grid-template-columns: repeat(6, 1fr); - align-content: center; - - .table-button { - display: grid; - text-align: center; - align-content: center; - border-bottom: 2px solid #222; - - grid-template-areas: - "item" - "ingr"; - - cursor: pointer; - &:hover { - color: whitesmoke; - background-color: @gray; - } - - .item { - border-top: 2px solid #222; - border-bottom: 2px solid #222; - flex: 1; - grid-area: item; - font-weight: bold; - } - - div { - border-right: 2px solid #222; - svg { - vertical-align: middle; - } - } - - &:first-child { - div { - border-left: 2px solid #222; - } - } - } + .constructs { + grid-area: constructs; } } -.instance .info h2 { - text-transform: uppercase; -} - -.instance .info svg { - display: inline; - height: 1em; -} - -.instance .info figure { - display: inline; - height: 0.5em; - - svg { - margin-right: 0.5em; - } -} - -.instance .info figcaption { - font-size: 1em; - display: inline-block; - vertical-align: middle; -} - - -.instance .constructs { - grid-area: constructs; -} - -.instance .equip { - grid-area: equip; -} - -.instance .equip .skills { - border-right-width: 0; -} - @keyframes action { 0% { color: palegoldenrod; @@ -135,10 +27,6 @@ /* CONSTRUCT LIST */ -.construct-list { - grid-area: constructs; - display: flex; -} .instance-construct { flex: 1; @@ -152,20 +40,22 @@ "stats "; /*padding: 0.5em;*/ - border: 2px solid #222; + border: 0.1em solid #222; border-left-width: 0; -} - -.instance-construct:first-child { - margin-left: 0; - border-left-width: 1px; + &:first-child { + margin-left: 0; + border-left-width: 1px; + } } .construct-list { + grid-area: constructs; + display: flex; + button { &.highlight { color: black; - background: @white; + background: @silver; // border: 1px solid @white; (this bangs around the vbox) // overwrite the classes on white svg elements @@ -264,95 +154,10 @@ } } -/* Equipment */ -.equip { - display: flex; - margin: 1.5em 0; - text-align: center; -} - -.equip h3 { - margin-bottom: 0.5em; - text-transform: uppercase; - font-weight: bold; - letter-spacing: 0.1em; -} - -.equip .specs { - flex: 1; - border: 2px solid #222; -} - -.equip .items { - display: flex; - flex: 1 0 100%; - justify-content: space-around; -} - .label { flex: 1 0 100%; } -// .equipping { -// position: relative; -// } - -// .equipping::before { -// content: ''; -// position: absolute; -// top: 2px; -// left: 50%; -// width: 100%; -// height: 2px; -// transform-origin: center; -// background-color: whitesmoke; -// animation: equipping-skill 2s infinite ease-out alternate; -// opacity: 0; -// } - -// .equipping::after { -// content: ''; -// position: absolute; -// bottom: 2px; -// left: 50%; -// width: 100%; -// height: 2px; -// transform-origin: center; -// background-color: whitesmoke; -// animation: equipping-skill 2s infinite ease-out alternate; -// opacity: 0; -// animation-delay: 0.75s -// } - -// @keyframes equipping-skill { -// from { -// transform: translate(-50%, 0) scaleX(0); -// } - -// to { -// transform: translate(-50%, 0) scaleX(0.75); -// opacity: 1; -// } -// } - -// .equip-spec { -// position: relative; -// stroke: #333; -// } - -// .equip-spec::after { -// content: ''; -// position: absolute; -// bottom: 2px; -// left: 50%; -// width: 100%; -// height: 2px; -// transform-origin: center; -// background-color: whitesmoke; -// animation: equipping-skill 2s infinite ease-out alternate; -// opacity: 0; -// } - .equipping, .receiving { animation: eq 0.75s cubic-bezier(0, 0, 1, 1) 0s infinite alternate; } @@ -484,9 +289,4 @@ to { color: @yellow; } -} - -/* Mobile Nav*/ -.instance-nav { display: none; } - -.vbox-arrow-mobile { display: none } +} \ No newline at end of file diff --git a/client/assets/styles/instance.mobile.less b/client/assets/styles/instance.mobile.less deleted file mode 100644 index 3b68cc7f..00000000 --- a/client/assets/styles/instance.mobile.less +++ /dev/null @@ -1,29 +0,0 @@ -// tablet / ipad -@media (max-width: 1100px) { - .instance { - grid-template-columns: 1fr; - grid-template-rows: min-content 1fr; - grid-template-areas: - "vbox" - "constructs"; - - .info { - display: none; - } - } -} - -@media (max-width: 800px) { - .instance { - font-size: 6pt; - grid-template-columns: 1fr; - grid-template-rows: min-content 1fr; - grid-template-areas: - "vbox" - "constructs"; - - .info { - display: none; - } - } -} \ No newline at end of file diff --git a/client/assets/styles/menu.less b/client/assets/styles/menu.less index 1ce06f73..e197781e 100644 --- a/client/assets/styles/menu.less +++ b/client/assets/styles/menu.less @@ -74,7 +74,7 @@ button { flex: 1; border-top: 0; - border: 2px solid #222; + border: 0.1em solid #222; &:not(:last-child) { border-right: 0; } diff --git a/client/assets/styles/player.less b/client/assets/styles/player.less index d731e418..bdcf2477 100644 --- a/client/assets/styles/player.less +++ b/client/assets/styles/player.less @@ -42,6 +42,7 @@ .msg { grid-area: msg; + text-transform: uppercase; color: @white; } diff --git a/client/assets/styles/skeleton.css b/client/assets/styles/skeleton.css index 13bb3549..037e1747 100644 --- a/client/assets/styles/skeleton.css +++ b/client/assets/styles/skeleton.css @@ -176,7 +176,6 @@ input[type="button"] { /*padding: 0 2em;*/ color: #555; text-align: center; - font-size: 11px; font-weight: 600; line-height: 38px; letter-spacing: .1rem; diff --git a/client/assets/styles/styles.less b/client/assets/styles/styles.less index 3a9edf37..b22ee13d 100644 --- a/client/assets/styles/styles.less +++ b/client/assets/styles/styles.less @@ -8,8 +8,6 @@ @import 'vbox.less'; @import 'game.less'; @import 'player.less'; -@import 'styles.mobile.less'; -@import 'instance.mobile.less'; html body { margin: 0; @@ -23,6 +21,7 @@ html body { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; + -webkit-tap-highlight-color: transparent; overflow-x: hidden; overflow-y: hidden; @@ -33,7 +32,6 @@ html body { height: 100vh; max-height: 100vh; min-height: 100vh; - /*padding: 0 20%;*/ /* stops inspector going skitz*/ overflow-x: hidden; @@ -125,14 +123,19 @@ button, input { font-family: 'Jura'; color: whitesmoke; height: auto; - border-width: 2px; + border-width: 0.1em; border-color: @gray-exists; letter-spacing: 0.25em; box-sizing: border-box; - font-size: 100%; + font-size: 1em; flex: 1; border-radius: 0.5em; line-height: 2em; + padding-right: 0.1em; + padding-left: 0.1em; + padding-bottom: 0.1em; + padding-top: 0.1em; + /*the transitions */ transition-property: border-color, color, background; @@ -250,6 +253,7 @@ figure.gray { svg { height: 1em; + stroke-width: 1em; } } @@ -354,3 +358,5 @@ li { flex: 1; } } + +@import 'styles.mobile.less'; diff --git a/client/assets/styles/styles.mobile.less b/client/assets/styles/styles.mobile.less index e46e31a0..0c80a7bd 100644 --- a/client/assets/styles/styles.mobile.less +++ b/client/assets/styles/styles.mobile.less @@ -1,26 +1,43 @@ -@media (max-width: 1000px) { +@media (max-width: 800px) { body { overflow-y: initial; } #mnml { font-size: 8pt; - padding: 0.25em; + padding: 0; .instance { - grid-template-columns: 1fr; - grid-template-rows: min-content 1fr; - grid-template-areas: - "vbox" - "constructs"; + "vbox vbox" + "constructs constructs"; + + font-size: 7.5pt; + + .stats { + div:nth-child(4n) { + margin: 0; + } + } svg { stroke-width: 1.25em; } + } .game { + font-size: 7.5pt; + .stats { + svg { + stroke-width: 1.5em; + } + + div:nth-child(4n) { + margin: 0 0.25em; + } + } + .team, #targeting, .resolving-skill { width: calc(90% - 3em); } @@ -29,7 +46,6 @@ grid-template-columns: 1fr; grid-template-rows: min-content 1fr; - .avatar { grid-area: initial; position: absolute; @@ -45,17 +61,22 @@ } .skills { - button[disabled] { - display: none; + display: grid; + grid-template-rows: 1fr; + grid-template-columns: 1fr 1fr 1fr; + button { + font-size: 1em; + letter-spacing: 0.1em; } + + } .effects { - font-size: 1em; + font-size: 1.1em; } .skill-description { - font-size: 0.8em; svg { height: 1em; } @@ -100,21 +121,31 @@ .instance-construct { position: relative; + grid-template-columns: 1fr 1fr; + grid-template-rows: min-content min-content 1fr min-content; + grid-template-areas: + "skills skills" + "specs specs" + "avatar name" + "stats stats "; + .skills, .specs { font-size: 75%; } - .avatar { - grid-area: initial; - position: absolute; - top: 0; - height: 100%; - width: 100%; - z-index: -1; + .stats { + svg { + height: 1em; + } + } + + .name { + align-self: center; } } aside { + font-size: 75%; button { margin-bottom: 0.5em; } @@ -123,8 +154,8 @@ } -// portrait menu -@media (max-width: 600px) { +// portrait menu or small size vertical in landscape +@media (max-width: 550px) and (max-height: 800px) { #mnml { grid-template-columns: 1fr; grid-template-rows: 1fr; @@ -166,7 +197,7 @@ grid-template-columns: repeat(2, 1fr); button:not(:last-child) { - border: 2px solid #222; + border: 0.1em solid #222; } button.logo { @@ -191,9 +222,103 @@ } } + .stats { + font-size: 6pt; + } + + .skill-description { + font-size: 6pt; + } + section { .list { grid-template-columns: 1fr; } } -} \ No newline at end of file +} + +@media (max-width: 600px) { + .vbox { + grid-template-rows: min-content min-content 1fr; + grid-template-columns: min-content 1fr min-content 1fr; + grid-template-areas: + "store-hdr store-hdr stash-hdr stash-hdr" + "store store stash stash" + "store store combiner combiner"; + + > div { + padding: 0.25em; + } + + .info { + display: none; + } + + .combos { + display: none; + } + + .combiner { + margin: 0; + } + + .stash { + border: 0; + border-top: 0.1em solid @gray; + border-right: 0.1em solid @gray; + border-bottom: 0.1em solid @gray; + } + + .stash-hdr { + border: 0; + border-left: 0.1em solid @gray; + border-right: 0.1em solid @gray; + + display: grid; + grid-template-rows: min-content min-content; + grid-template-columns: 1fr 1fr; + + h3 { + margin: 0; + } + } + + .store { + border: 0; + border-top: 0.1em solid @gray; + border-bottom: 0.1em solid @gray; + border-right: 0.1em solid @gray; + } + + .store-hdr { + display: grid; + grid-template-columns: min-content min-content 1fr; + + > * { + margin-right: 1em; + } + + grid-template-areas: + "hdr bits btn"; + + h1 { + grid-area: hdr; + margin-bottom: 0.25em; + } + + .bits { + grid-area: bits; + } + + button { + grid-area: btn; + } + } + + .store-hdr, .stash-hdr { + button { + margin: 0; + } + } + } +} diff --git a/client/assets/styles/vbox.less b/client/assets/styles/vbox.less index ea0d9fd7..2e3bbde8 100644 --- a/client/assets/styles/vbox.less +++ b/client/assets/styles/vbox.less @@ -1,6 +1,79 @@ .vbox { - margin-bottom: 2em; - line-height: 0; + align-content: space-between; + grid-area: vbox; + display: grid; + grid-template-rows: 3fr minmax(min-content, 2fr); + grid-template-columns: 1fr 4fr 6fr 17em; // =\ + grid-template-areas: + "store-hdr store info combos" + "stash-hdr stash combiner combos"; + margin-bottom: 1em; + + // immediate children + > div { + padding: 0.5em; + } + + .store { + grid-area: store; + border-right: 0.15em solid @gray; + border-top: 0.15em solid @gray; + } + + .store-hdr { + grid-area: store-hdr; + display: flex; + flex-flow: column; + + text-align: center; + border-left: 0.15em solid @gray; + border-top: 0.15em solid @gray; + + h1 { + margin-bottom: 0.5em; + } + + button { + line-height: 1.6; + letter-spacing: 0.15em; + background-color: #421010; + &:hover { + background-color: @red; + + } + } + } + + .stash { + grid-area: stash; + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-gap: 0.5em 1em; + + align-items: center; + border: 0.15em solid @gray; + border-left: 0; + } + + .stash-hdr { + grid-area: stash-hdr; + display: flex; + flex-flow: column; + + text-align: center; + border: 0.15em solid @gray; + border-right: 0; + + h2 { + margin-bottom: 0.5em; + } + + button { + line-height: 1.6; + letter-spacing: 0.15em; + } + } + .vbox-hdr { margin-bottom: 1em; height: 2em; @@ -19,14 +92,12 @@ grid-template-columns: repeat(3, 1fr); grid-gap: 0.5em 1em; align-items: center; - margin-bottom: 0.5em; } .vbox-btn { width: 100%; margin: 0; background-color: @gray-box; - height: 3em; line-height: 1em; border-width: 0; @@ -34,14 +105,6 @@ color: white; } - &.reclaim { - height: auto; - - &:hover { - color: @red; - }; - } - &[disabled] { background: black; border-width: 1px; @@ -53,7 +116,7 @@ &, &:hover, &:active { background: @red; color: black; - border: 2px solid black; + border: 0.1em solid black; } } svg { @@ -65,19 +128,22 @@ } button { - height: 4em; + height: 3.5em; margin: 0; width: 100%; // text-transform: none; - &.empty { border-style: dashed; } + &.fade { + opacity: 0.4; + } + &.highlight { color: black; - background: @white; + background: @silver; // border: 1px solid @white; (this bangs around the vbox) // overwrite the classes on white svg elements @@ -94,7 +160,7 @@ // figures don't scale well figure { svg { - height: 2em; + height: 1.5em; stroke-width: 0.5em; } @@ -102,63 +168,143 @@ line-height: initial; } } + + .info { + line-height: 1.6; + + h2 { + text-transform: uppercase; + } + + svg { + display: inline; + height: 1em; + } + + figure { + display: inline; + height: 0.5em; + svg { + margin-right: 0.5em; + } + } + + figcaption { + font-size: 1em; + display: inline-block; + vertical-align: middle; + } + + margin-left: 1em; + grid-area: info; + } + + .combiner { + grid-area: combiner; + // align-self: flex-end; + height: 100%; + margin: 0 0.5em; + line-height: 1.3; + font-size: 1.25em; + letter-spacing: 0.1em; + border: 0.1em solid @gray-exists; + &:hover { + border: 0.1em solid @gray-hover; + } + } + + .combos { + display: grid; + grid-area: combos; + margin-left: 0.5em; + grid-template-rows: min-content min-content; + grid-template-areas: + "comboHeader" + "comboList"; + + h2 { + text-transform: uppercase; + } + + svg { + display: inline; + height: 1em; + } + + figure { + display: inline; + height: 0.5em; + svg { + margin-right: 0.5em; + } + } + + figcaption { + font-size: 1em; + display: inline-block; + vertical-align: middle; + } + + + .combo-header { + text-align: center; + } + + .combo-list { + display: grid; + grid-template-rows: min-content min-content min-content; + grid-template-columns: min-content min-content; + grid-gap: 0.5em; + margin-top: 0.5em; + width: 15.5em; + + .table-button { + display: grid; + text-align: center; + align-content: center; + grid-template-areas: + "item" + "ingr"; + + cursor: pointer; + &:hover { + color: whitesmoke; + background-color: @gray; + } + + .item { + border-top: 0.1em solid #222; + border-bottom: 0.1em solid #222; + flex: 1; + grid-area: item; + font-weight: bold; + div { + width: 5em; + } + } + + + div { + border-left: 0.1em solid #222; + border-right: 0.1em solid #222; + height: 1.75em; + width: 7.5em; + svg { + vertical-align: middle; + } + &:last-child { + border-bottom: 0.1em solid #222; + } + } + } + } + } } -/* VBOX */ -.vbox { - align-content: space-between; - grid-area: vbox; - display: grid; - grid-template-rows: min-content min-content min-content; - grid-template-columns: 1fr min-content 1fr; - grid-template-areas: - "vbox varrow inventory" - "vbox varrow combiner"; -} - -.vbox-inventory { - grid-area: inventory; -} - -.vbox-combiner { - grid-area: combiner; - display: flex; - flex-flow: column; - justify-content: flex-end; -} - -.vbox-arrow, .vbox-arrow-mobile { - display: flex; - justify-content:center; - align-content:center; - flex-direction:column; - - margin: 1em 0.25em 0 0.25em; - grid-area: varrow; - font-size: 2em; - color: @gray-hint; -} - -.vbox-combiner button { - flex: 0; -} - - -.vbox-hdr { - display: flex; -} - -.vbox-hdr h3 { - flex: 1; -} - -.vbox-hdr .bits { - font-size: 2em; - line-height: 1em; - animation: bits 1s ease-out; -} - -.arrow { - grid-area: arrow; - color: @gray-hint; -} +@media (min-width: 2000px) { + .vbox { + button { + height: 4.5em; + } + } +} \ No newline at end of file diff --git a/client/src/actions.jsx b/client/src/actions.jsx index 87d0cf51..0c1456af 100644 --- a/client/src/actions.jsx +++ b/client/src/actions.jsx @@ -35,7 +35,6 @@ export const setMtxActive = value => ({ type: 'SET_MTX_ACTIVE', value }); export const setNav = value => ({ type: 'SET_NAV', value }); export const setPing = value => ({ type: 'SET_PING', value }); export const setPlayer = value => ({ type: 'SET_PLAYER', value }); -export const setReclaiming = value => ({ type: 'SET_RECLAIMING', value }); export const setShowLog = value => ({ type: 'SET_SHOW_LOG', value }); export const setShop = value => ({ type: 'SET_SHOP', value }); export const setSubscription = value => ({ type: 'SET_SUBSCRIPTION', value }); @@ -48,7 +47,6 @@ export const setTeamSelect = value => ({ type: 'SET_TEAM_SELECT', value: Array.f export const setTutorial = value => ({ type: 'SET_TUTORIAL', value }); export const setTutorialGame = value => ({ type: 'SET_TUTORIAL_GAME', value }); -export const setVboxHighlight = value => ({ type: 'SET_VBOX_HIGHLIGHT', value }); export const setVboxSelected = value => ({ type: 'SET_VBOX_SELECTED', value }); export const setWs = value => ({ type: 'SET_WS', value }); diff --git a/client/src/components/account.status.jsx b/client/src/components/account.status.jsx index 99e5014e..1353deff 100644 --- a/client/src/components/account.status.jsx +++ b/client/src/components/account.status.jsx @@ -33,11 +33,9 @@ const addState = connect( function accountPage() { dispatch(actions.setGame(null)); dispatch(actions.setInstance(null)); - dispatch(actions.setReclaiming(false)); dispatch(actions.setActiveSkill(null)); dispatch(actions.setInfo(null)); dispatch(actions.setItemUnequip([])); - dispatch(actions.setVboxHighlight([])); return dispatch(actions.setNav('account')); } diff --git a/client/src/components/demo.jsx b/client/src/components/demo.jsx index 494015ef..e6bee9eb 100644 --- a/client/src/components/demo.jsx +++ b/client/src/components/demo.jsx @@ -46,7 +46,7 @@ function Demo(args) { const { combiner, items, equipping, equipped, players, combo } = demo; const vboxDemo = () => { - function inventoryBtn(i, j) { + function stashBtn(i, j) { if (!i) return ; const highlighted = combiner.indexOf(j) > -1; const classes = `${highlighted ? 'highlight' : ''}`; @@ -82,7 +82,7 @@ function Demo(args) { ); } - function inventoryElement() { + function stashElement() { return (
This is the name of your construct.
- Names are randomly generated and are purely cosmetic.
- You can change change your construct name in the RESHAPE tab outside of games.
-
This is your construct avatar.
- Avatars are randomly generated and are purely cosmetic.
- You can change your construct avatar in the RESHAPE tab outside of games.
-
- You can preview combos by clicking the combined item when it appears in this section.
- Click the READY button to start the GAME PHASE.
-
This is the name of your construct.
+ Names are randomly generated and are purely cosmetic.
+ You can change change your construct name in the RESHAPE tab outside of games.
+
This is your construct avatar.
+ Avatars are randomly generated and are purely cosmetic.
+ You can change your construct avatar in the RESHAPE tab outside of games.
+
ITEMS that are available to buy.
- The VBOX is refilled every round.
Click REFILL at the bottom to purchase a refill.
Contains items that are available to buy.
+ The store is refilled every round.
Click REFILL to purchase a refill for 2 bits.
Holds ITEMS
ITEMS carry over each round.
The VBOX currency.
- Colours - 1b
- Skills - 2b
- Specs - 3b
- At the beginning of each round you receive 30 bits.
Currency to buy items.
At the beginning of each round you receive 30 bits.
The first construct on your team is {constructOne}.
Skill items can be equipped to your constructs to be used in the combat phase.
- Click the newly combined skill item in the top right of the inventory.
+
Click the newly combined skill from the stash.
Once selected click the construct SKILL slot to equip the skill.
Equipping specialisation items will increase the stats of your constructs.
These can also be combined with colours for further specialisation.
- Click the specialisation item in the top right of the inventory.
+
Click the specialisation item from the stash.
Once selected click the construct SPEC slot to equip the specialisation.