mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Updated credits
This commit is contained in:
parent
5720fb02e6
commit
081083a824
1 changed files with 92 additions and 54 deletions
|
@ -1,32 +1,40 @@
|
||||||
import { jsx } from "features/feature"
|
import Spacer from "components/layout/Spacer.vue";
|
||||||
import { layers } from "game/layers"
|
import { jsx } from "features/feature";
|
||||||
import { render } from "util/vue"
|
import { layers } from "game/layers";
|
||||||
import { unref } from "vue"
|
import { render } from "util/vue";
|
||||||
|
import { unref } from "vue";
|
||||||
|
|
||||||
type Credits = { name: string, creator: string, help?: string, other?: string[], symbol?: string, fs?: string }
|
type Credits = {
|
||||||
|
name: string;
|
||||||
|
creator: string;
|
||||||
|
help?: string;
|
||||||
|
other?: string[];
|
||||||
|
symbol?: string;
|
||||||
|
fs?: string;
|
||||||
|
};
|
||||||
|
|
||||||
import { main } from "./projEntry"
|
import { main } from "./projEntry";
|
||||||
|
|
||||||
const dayCredits: Credits[] = [
|
const dayCredits: Credits[] = [
|
||||||
{
|
{
|
||||||
name: "Trees",
|
name: "Trees",
|
||||||
creator: "thepaperpilot",
|
creator: "thepaperpilot",
|
||||||
help: "Jacorb, Escapee",
|
help: "Jacorb, Escapee"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "The Workshop",
|
name: "The Workshop",
|
||||||
creator: "thepaperpilot",
|
creator: "thepaperpilot",
|
||||||
help: "Jacorb, emanresu",
|
help: "Jacorb, emanresu"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Coal",
|
name: "Coal",
|
||||||
creator: "Escapee",
|
creator: "Escapee",
|
||||||
help: "Jacorb, thepaperpilot",
|
help: "Jacorb, thepaperpilot"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Elf Training",
|
name: "Elf Training",
|
||||||
creator: "thepaperpilot",
|
creator: "thepaperpilot",
|
||||||
help: "incremental_gamer, emanresu",
|
help: "incremental_gamer, emanresu"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Paper",
|
name: "Paper",
|
||||||
|
@ -36,12 +44,12 @@ const dayCredits: Credits[] = [
|
||||||
{
|
{
|
||||||
name: "Boxes",
|
name: "Boxes",
|
||||||
creator: "thepaperpilot",
|
creator: "thepaperpilot",
|
||||||
help: "ducdat0507",
|
help: "ducdat0507"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Metal",
|
name: "Metal",
|
||||||
creator: "Escapee",
|
creator: "Escapee",
|
||||||
help: "ducdat0507, thepaperpilot, yhvr",
|
help: "ducdat0507, thepaperpilot, yhvr"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Cloth",
|
name: "Cloth",
|
||||||
|
@ -51,7 +59,7 @@ const dayCredits: Credits[] = [
|
||||||
{
|
{
|
||||||
name: "Oil",
|
name: "Oil",
|
||||||
creator: "ducdat0507",
|
creator: "ducdat0507",
|
||||||
help: "thepaperpilot, Jacorb, incremental_gamer",
|
help: "thepaperpilot, Jacorb, incremental_gamer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Plastic",
|
name: "Plastic",
|
||||||
|
@ -65,24 +73,24 @@ const dayCredits: Credits[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Management",
|
name: "Management",
|
||||||
creator: "incremental_gamer, downvoid, thepaperpilot, Escapee",
|
creator: "incremental_gamer, downvoid, thepaperpilot, Escapee"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Management II",
|
name: "Management II",
|
||||||
creator: "incremental_gamer, downvoid, thepaperpilot, Escapee",
|
creator: "incremental_gamer, downvoid, thepaperpilot, Escapee"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Letters",
|
name: "Letters",
|
||||||
creator: "thepaperpilot",
|
creator: "thepaperpilot"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Wrapping Paper",
|
name: "Wrapping Paper",
|
||||||
creator: "emanresu, thepaperpilot, Escapee",
|
creator: "emanresu, thepaperpilot, Escapee",
|
||||||
fs: '28px'
|
fs: "28px"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Ribbons",
|
name: "Ribbons",
|
||||||
creator: "thepaperpilot, Escapee",
|
creator: "thepaperpilot, Escapee"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Toys",
|
name: "Toys",
|
||||||
|
@ -93,25 +101,19 @@ const dayCredits: Credits[] = [
|
||||||
name: "Factory",
|
name: "Factory",
|
||||||
creator: "incremental_gamer",
|
creator: "incremental_gamer",
|
||||||
help: "thepaperpilot, ducdat, downvoid, emanresu, yhvr",
|
help: "thepaperpilot, ducdat, downvoid, emanresu, yhvr",
|
||||||
other: [
|
other: ["Art by emanresu"]
|
||||||
"Art by emanresu"
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Factory II",
|
name: "Factory II",
|
||||||
creator: "downvoid",
|
creator: "downvoid",
|
||||||
help: "thepaperpilot",
|
help: "thepaperpilot",
|
||||||
other: [
|
other: ["Art by emanresu"]
|
||||||
"Art by emanresu"
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Presents",
|
name: "Presents",
|
||||||
creator: "incremental_gamer",
|
creator: "incremental_gamer",
|
||||||
help: "ducdat0507",
|
help: "ducdat0507",
|
||||||
other: [
|
other: ["Art by emanresu"]
|
||||||
"Art by emanresu"
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Reindeer",
|
name: "Reindeer",
|
||||||
|
@ -124,47 +126,83 @@ const dayCredits: Credits[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Routing",
|
name: "Routing",
|
||||||
creator: "thepaperpilot"
|
creator: "thepaperpilot",
|
||||||
|
help: "ducdat0507"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Present Packing",
|
name: "Present Packing",
|
||||||
creator: "Escapee, emanresu",
|
creator: "Escapee, emanresu",
|
||||||
fs: '26px'
|
help: "thepaperpilot",
|
||||||
|
fs: "26px"
|
||||||
}
|
}
|
||||||
]
|
];
|
||||||
|
|
||||||
const display = jsx(() => (
|
const display = jsx(() => (
|
||||||
<div style="text-align: center; line-spacing: 5px">
|
<div style="text-align: center; line-spacing: 5px; width: 700px">
|
||||||
<h1>Advent Incremental</h1>
|
<h1>Advent Incremental</h1>
|
||||||
<br />
|
<br />
|
||||||
<h2>Created by thepaperpilot and friends</h2>
|
<h2>Created by thepaperpilot and friends</h2>
|
||||||
<br /><br /><br /><br /><br />
|
<Spacer />
|
||||||
{
|
{dayCredits.map(({ name, help, other, creator, fs }, day) =>
|
||||||
dayCredits.map(({name, help, other, creator, fs}, day) => (
|
render(
|
||||||
render(jsx(() => <div style="position: relative">
|
jsx(() => (
|
||||||
<span style="width: calc(100% - 260px); display: inline-block;">
|
<div style="position: relative">
|
||||||
<h1 style={{ color: unref(layers[main.days[day].layer ?? ""]?.color ?? "white"), fontSize: fs || '30px'}}>Day {day+1} - {name}</h1>
|
<span style="width: calc(100% - 260px); display: inline-block;">
|
||||||
<br /><br />
|
<h1
|
||||||
Created by {creator} <br />
|
style={{
|
||||||
{help ? <>With help from {help}<br /></> : undefined}
|
color: unref(
|
||||||
{other ? other?.map((other) => <>{other}<br /></>) : undefined}
|
layers[main.days[day].layer ?? ""]?.color ?? "white"
|
||||||
<br /><br />
|
),
|
||||||
</span>
|
fontSize: fs ?? "30px"
|
||||||
<img style={`position: absolute; top: 5px; ${day % 2 ? 'left' : 'right'}: 20px; width: 100px;`} src={main.days[day].symbol}/>
|
}}
|
||||||
</div>))
|
>
|
||||||
))
|
Day {day + 1} - {name}
|
||||||
}
|
</h1>
|
||||||
<p>Credits created by emanresu</p>
|
<br />
|
||||||
<br /> <br /> <br />
|
<br />
|
||||||
|
Created by {creator} <br />
|
||||||
|
{help != null ? (
|
||||||
|
<>
|
||||||
|
With help from {help}
|
||||||
|
<br />
|
||||||
|
</>
|
||||||
|
) : undefined}
|
||||||
|
{other
|
||||||
|
? other?.map(other => (
|
||||||
|
<>
|
||||||
|
{other}
|
||||||
|
<br />
|
||||||
|
</>
|
||||||
|
))
|
||||||
|
: undefined}
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
</span>
|
||||||
|
<img
|
||||||
|
style={`position: absolute; top: 5px; ${
|
||||||
|
day % 2 ? "left" : "right"
|
||||||
|
}: 20px; width: 100px;`}
|
||||||
|
src={main.days[day].symbol}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
))
|
||||||
|
)
|
||||||
|
)}
|
||||||
<h1>Special Thanks</h1>
|
<h1>Special Thanks</h1>
|
||||||
<p>Nekosity</p>
|
<p>Nekosity</p>
|
||||||
<p>Yhvr</p>
|
<p>Yhvr</p>
|
||||||
<p>Ducdat0507</p>
|
<p>Ducdat0507</p>
|
||||||
<p>Haley</p>
|
<p>Haley</p>
|
||||||
|
<p>emanresu</p>
|
||||||
<br />
|
<br />
|
||||||
<p>And last but not least, a massive thanks to everyone who played and provided feedback on the game.</p>
|
<p style="width: 600px">
|
||||||
<h1>Thanks for playing!</h1>
|
And last but not least, a massive thanks to everyone who played and provided feedback on
|
||||||
|
the game.
|
||||||
|
</p>
|
||||||
|
<Spacer />
|
||||||
|
<h1 style="font-family: 'Great Vibes', cursive">Thanks for playing!</h1>
|
||||||
|
<Spacer />
|
||||||
</div>
|
</div>
|
||||||
))
|
));
|
||||||
|
|
||||||
export { display as credits }
|
export { display as credits };
|
||||||
|
|
Loading…
Reference in a new issue