Web/scripts/projects.js

83 lines
3.8 KiB
JavaScript
Raw Normal View History

2018-07-24 22:45:53 +02:00
const projects = [{
2019-07-24 20:14:54 +02:00
name: "Foe Frenzy",
2019-10-01 00:24:13 +02:00
desc: "Foe Frenzy is a fast-paced fighting game where you battle up to three of your friends with random, short-lasting items in an attempt to be the last survivor. It's currently in development, and will be released in December 2019.",
2019-07-24 20:14:54 +02:00
links: {
2019-10-01 00:24:13 +02:00
"itch.io page": "https://ellpeck.itch.io/foefrenzy",
"Watch the trailer": "https://www.youtube.com/watch?v=Z7ZeuVBNuf4"
2019-07-24 20:14:54 +02:00
},
status: "In development",
icon: "ff"
},
2019-08-09 23:55:02 +02:00
{
name: "MLEM",
desc: "MLEM is short for (M)LEM (L)ibrary by (E)llpeck for (M)onoGame. It's a set of NuGet packages that make creating games with the .NET-based framework <a href=\"http://www.monogame.net/\">MonoGame</a> a lot easier. MLEM includes a user interface system, a bunch of extension methods, a simple startup class and more.",
links: {
"Get it on NuGet": "https://www.nuget.org/packages?q=mlem",
"Code on GitHub": "https://github.com/Ellpeck/MLEM"
},
2019-10-01 00:24:13 +02:00
status: "Side project",
2019-08-09 23:55:02 +02:00
icon: "mlem"
},
2019-07-24 20:14:54 +02:00
{
2019-07-06 23:35:20 +02:00
name: 'Actually Additions',
desc: 'Actually Additions is a rather popular Minecraft mod that I used to work on. It\'s become widely known in the modding community and has reached over 10 million downloads by now, which is crazy. I don\'t work on it anymore myself, but it\'s being maintained for current versions by someone else.',
links: {
2019-06-01 22:26:20 +02:00
'CurseForge page': 'https://www.ellpeck.de/actadd',
'Online manual': 'https://www.ellpeck.de/actaddmanual/'
},
2019-10-01 00:24:13 +02:00
status: 'Maintained',
2019-07-06 23:35:20 +02:00
icon: 'aa'
2019-06-01 22:26:20 +02:00
},
{
2019-07-06 23:35:20 +02:00
name: "Nature's Aura",
desc: "Nature's Aura is a new Minecraft mod about collecting, using and replenishing the Aura naturally present in the world to create useful devices and unique mechanics.",
2019-10-01 00:24:13 +02:00
status: 'Paused',
2019-07-06 23:35:20 +02:00
links: {
2018-11-10 23:31:10 +01:00
'CurseForge page': 'https://minecraft.curseforge.com/projects/natures-aura'
},
2019-07-06 23:35:20 +02:00
icon: 'na'
2018-11-08 00:15:15 +01:00
},
2019-03-24 13:44:47 +01:00
{
2019-07-06 23:35:20 +02:00
name: "Tetro",
desc: "Tetro is a Tetris clone I wrote in an afternoon and a bit. You can play it in the browser. It also features multiple game piece designs and some custom game modes. It was pretty fun to make, and it's pretty fun to play.",
status: "Finished",
links: {
2019-03-24 13:44:47 +01:00
"Play it": "https://ellpeck.github.io/Tetro",
"Code on GitHub": "https://github.com/Ellpeck/Tetro"
},
2019-07-06 23:35:20 +02:00
icon: "tetro"
2019-03-24 13:44:47 +01:00
},
2018-09-21 22:29:47 +02:00
{
2019-07-06 23:35:20 +02:00
name: 'Rock Bottom',
2019-08-08 13:02:50 +02:00
desc: 'Rock Bottom is a game I used to work on. It\'s a 2D-sidescrolling sandbox game with a storyline that has multiplayer support, a modding API and a lot more fun stuff. I don\'t work on it anymore, but I made it open source and some of my friends started working on it.',
2019-07-06 23:35:20 +02:00
links: {
2019-10-01 00:24:13 +02:00
'Website': 'https://rockbottomgame.com',
2019-08-08 13:02:50 +02:00
'Code on GitHub': 'https://github.com/RockBottomGame'
2018-07-25 01:54:04 +02:00
},
2019-10-01 00:24:13 +02:00
status: 'Maintained',
2019-07-06 23:35:20 +02:00
icon: 'rb'
2019-05-24 18:47:56 +02:00
}
2018-07-24 22:45:53 +02:00
];
let p = '';
for (project of projects) {
p += '<div class="card bg-light project rounded-0">';
2018-07-24 22:45:53 +02:00
p += '<div class="card-body">';
2019-07-06 23:35:20 +02:00
p += '<img class="project-image" src="res/projects/' + project["icon"] + '.png" alt="">';
2018-07-24 22:45:53 +02:00
2019-07-06 23:35:20 +02:00
p += '<h4 class="card-title">' + project["name"] + '</h4>';
p += '<p class="card-text">' + project["desc"] + '</p>';
if (project["status"])
p += '<span class="text-muted project-status">' + project["status"] + '</span>';
2018-07-24 22:45:53 +02:00
2019-07-06 23:35:20 +02:00
let links = project["links"];
2018-11-08 00:15:15 +01:00
if (links) {
for (let name in links) {
2019-07-06 23:37:01 +02:00
p += '<a href="' + links[name] + '" class="card-link btn ' + (dark ? "btn-outline-light" : "btn-outline-info") + ' rounded-0">' + name + '</a>';
2018-11-08 00:15:15 +01:00
}
2018-07-24 22:45:53 +02:00
}
p += '</div>';
p += '</div>';
}
$('#project-list').html(p);