瀏覽代碼

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

tags/v0.7.0
Fen Dweller 7 年之前
父節點
當前提交
257a5cdf6f
共有 3 個文件被更改,包括 8 次插入6 次删除
  1. +2
    -1
      game.js
  2. +2
    -2
      stroll.html
  3. +4
    -3
      style.css

+ 2
- 1
game.js 查看文件

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

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

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

function feed()


+ 2
- 2
stroll.html 查看文件

@@ -72,7 +72,7 @@
</div>
<div id=log-area>
<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><a href="https://chemicalcrux.org/stroll">Changelog</a></div>
<div>It's a nice day for a walk</div>
@@ -128,7 +128,7 @@


<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>
<a href="https://chemicalcrux.org/stroll">Changelog</a>
<br>


+ 4
- 3
style.css 查看文件

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

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

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

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

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

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


Loading…
取消
儲存