diff --git a/TODO.md b/TODO.md index c616750..8f3a1ec 100644 --- a/TODO.md +++ b/TODO.md @@ -31,6 +31,8 @@ Character sheet Battle ------ +* Improve arena ships layering (sometimes information is displayed behind other sprites) +* In the ship tooltip, show power cost, toggled and overheat states * Display shield (and its (dis)appearance) * Display estimated damage and displacement in targetting mode * Add a voluntary retreat option @@ -54,9 +56,10 @@ Battle Ships models and actions ------------------------ +* Fix vigilance action triggering when the ship moves with one active (moving should disable vigilance actions) +* Fix vigilance action not disabling when reaching the maximum number of triggerings +* Highlight the effects area that will contain the new position when move-targetting * Add movement attribute (for main engine action, km/power) -* Add vigilance system, to watch if another ship enters a given radius, to be able to interrupt its turn -* Remove safety margin for move actions (vigilance system should replace it) * Add damage over time effect (tricky to make intuitive) * Add actions with cost dependent of distance (like current move actions) * Add disc targetting (for some jump move actions) @@ -102,6 +105,7 @@ Technical --------- * Fix "npm test" returning 0 even on failure +* Fix "npm start" stopping when there is an error in initial build * Pack sounds * Add toggles for shaders, automatically disable them if too slow, and initially disable them on mobile diff --git a/data/stage2/image/action/interceptors.png b/data/stage2/image/action/interceptors.png new file mode 100644 index 0000000..881fbd4 Binary files /dev/null and b/data/stage2/image/action/interceptors.png differ diff --git a/docs/balancing.md b/docs/balancing.md index 10eaa98..e0bc9a7 100644 --- a/docs/balancing.md +++ b/docs/balancing.md @@ -9,9 +9,11 @@ * Mean HP = 5 * Mean damage = 3 * Power = move half arena + one action +* 2 or 3 actions ## Level 10 * Mean HP = 15 * Mean damage = 6 * Power = move across arena + two actions (or one action and move again) +* Up to 8 actions diff --git a/graphics/ui/actions.svg b/graphics/ui/actions.svg index 92b6bef..8e3362f 100644 --- a/graphics/ui/actions.svg +++ b/graphics/ui/actions.svg @@ -10,19 +10,51 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="273.06668" - height="273.06668" + width="256" + height="256" id="svg2" version="1.1" inkscape:version="0.92.1 r15371" sodipodi:docname="actions.svg" - inkscape:export-filename="/home/michael/workspace/perso/spacetac/graphics/exported/action/damageprotector.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90" + inkscape:export-filename="/home/michael/workspace/spacetac/data/stage2/image/action/interceptors.png" + inkscape:export-xdpi="96.000008" + inkscape:export-ydpi="96.000008" viewBox="0 0 256 256" - enable-background="new"> + style="enable-background:new"> + + + + + + + + + + @@ -145,45 +177,45 @@ - - @@ -575,34 +587,13 @@ stdDeviation="2.3324547" id="feGaussianBlur10826" /> - - - + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,17.066673)" /> + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,17.066673)" /> + width="1.1060725" + y="-0.68018013" + height="2.3603604"> @@ -675,50 +659,6 @@ stdDeviation="2.3987354" id="feGaussianBlur4731" /> - - - - + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,17.066673)" /> + height="1.8904001"> + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,17.066673)" /> - + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,17.066673)" /> - + y="-0.98874992" + height="2.9775"> @@ -1151,19 +1074,8 @@ stdDeviation="2.6125488" id="feGaussianBlur5874" /> - - + id="feComposite6201" + k2="0" + k3="0" + k4="0" /> + id="feComposite6203" + k1="0" + k4="0" /> @@ -1395,10 +1301,11 @@ result="result4" in="fbSourceGraphic" in2="result2" - id="feComposite6227" /> + id="feComposite6227" + k1="0" + k4="0" /> @@ -1411,10 +1318,10 @@ inkscape:collect="always" style="color-interpolation-filters:sRGB" id="filter6299" - x="-0.058554495" - width="1.117109" - y="-0.87426646" - height="2.7485329"> + x="-0.058554497" + width="1.1171089" + y="-0.87426645" + height="2.748533"> + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml - + @@ -1487,10 +1597,11 @@ inkscape:label="endturn" inkscape:groupmode="layer" id="layer1" - transform="translate(0,-796.36216)" + transform="translate(0,-813.42884)" style="display:none"> + id="g4487" + transform="translate(0,17.066673)"> @@ -1967,20 +2084,21 @@ style="fill:#ff0000;fill-rule:evenodd;stroke:#000000;stroke-width:0.93749994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="path4728" cx="363.61606" - cy="-31.946413" + cy="-14.879741" r="12.053571" /> @@ -2091,55 +2209,55 @@ @@ -2148,7 +2266,8 @@ style="display:none" inkscape:label="FractalHull" id="g5356" - inkscape:groupmode="layer"> + inkscape:groupmode="layer" + transform="translate(0,-17.066682)"> @@ -2209,43 +2328,43 @@ @@ -2259,43 +2378,43 @@ @@ -2309,43 +2428,43 @@ @@ -2359,43 +2478,43 @@ @@ -2409,43 +2528,43 @@ @@ -2459,43 +2578,43 @@ @@ -2509,43 +2628,43 @@ @@ -2554,10 +2673,11 @@ inkscape:groupmode="layer" id="layer7" inkscape:label="ForceField" - style="display:none"> + style="display:none" + transform="translate(0,-17.066682)"> @@ -2565,11 +2685,11 @@ style="fill:#30383d;fill-opacity:1;fill-rule:evenodd;stroke:#465158;stroke-width:12.15708637;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path4757" cx="128" - cy="128" + cy="145.06667" r="98.321274" /> @@ -2578,27 +2698,29 @@ style="display:none" inkscape:label="GravitShield" id="g5022" - inkscape:groupmode="layer"> + inkscape:groupmode="layer" + transform="translate(0,-17.066682)"> + transform="translate(-59.137619,95.614841)"> + style="fill:url(#radialGradient5199);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.93749994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter5260)" /> + id="g5114" + transform="translate(0,17.066673)"> + transform="rotate(45,128,145.06668)" />