Explorar el Código

Adjusted the breakpoint for removing the margins on the sides. Disabled the victim table for now.

tags/v0.7.0
Fen Dweller hace 8 años
padre
commit
257a5cdf6f
Se han modificado 3 ficheros con 8 adiciones y 6 borrados
  1. +2
    -1
      game.js
  2. +2
    -2
      stroll.html
  3. +4
    -3
      style.css

+ 2
- 1
game.js Ver fichero

@@ -918,13 +918,14 @@ function getPrey(region, area)


function updateVictims(type,prey) function updateVictims(type,prey)
{ {
/*
var sums = prey.sum(); var sums = prey.sum();


for (var key in sums) { for (var key in sums) {
if (sums.hasOwnProperty(key)) { if (sums.hasOwnProperty(key)) {
victims[type][key] += sums[key]; victims[type][key] += sums[key];
} }
}
}*/
} }


function feed() function feed()


+ 2
- 2
stroll.html Ver fichero

@@ -72,7 +72,7 @@
</div> </div>
<div id=log-area> <div id=log-area>
<div id=log> <div id=log>
<div>Welcome to Stroll 0.4.6</div>
<div>Welcome to Stroll 0.5.0</div>
<div><b>This game features 18+ content</b></div> <div><b>This game features 18+ content</b></div>
<div><a href="https://chemicalcrux.org/stroll">Changelog</a></div> <div><a href="https://chemicalcrux.org/stroll">Changelog</a></div>
<div>It's a nice day for a walk</div> <div>It's a nice day for a walk</div>
@@ -128,7 +128,7 @@




<div class=option-container id=option-panel> <div class=option-container id=option-panel>
<p>Welcome to Stroll 0.4.6</p>
<p>Welcome to Stroll 0.5.0</p>
<p><b>This game features 18+ content</b></p> <p><b>This game features 18+ content</b></p>
<a href="https://chemicalcrux.org/stroll">Changelog</a> <a href="https://chemicalcrux.org/stroll">Changelog</a>
<br> <br>


+ 4
- 3
style.css Ver fichero

@@ -9,20 +9,20 @@ body {
margin: auto; margin: auto;
} }


@media (max-aspect-ratio: 1/1){
@media (max-aspect-ratio: 16/9){
.game-area { .game-area {
width: 100% width: 100%
} }
} }


@media (min-aspect-ratio: 1/1){
@media (min-aspect-ratio: 16/10){
.game-area { .game-area {
width: 75% width: 75%
} }
} }


#log-area { #log-area {
flex: 3;
flex: 5;
display:none; display:none;
} }


@@ -107,6 +107,7 @@ body {
} }


#victim-table { #victim-table {
display: none;
margin: auto; margin: auto;
width: 80%; width: 80%;
} }


Cargando…
Cancelar
Guardar