Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e0c133f6f | |||
| 8a6b581981 | |||
| 5497717605 | |||
| 85fa53b16e | |||
| 9feab73fd2 | |||
| ed7c9e66ec | |||
| 82350c6c42 | |||
| 0b7489b21f | |||
| 21fb2c5f72 |
@@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* This file is used to import the character portraits to base64 from raw assets
|
||||||
|
*/
|
||||||
|
|
||||||
|
const fs = require('fs');
|
||||||
|
const characterData = require('./rawAssets/data/adventurers.json');
|
||||||
|
|
||||||
|
for (const character of characterData) {
|
||||||
|
try {
|
||||||
|
const base64 = base64_encode(`./rawAssets/img/portraits/${character.id}.png`);
|
||||||
|
character.portrait = "data:image/png;base64,"+base64;
|
||||||
|
} catch (e) {
|
||||||
|
console.error(`Error: Didn't find portrait for ${character.id}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fs.writeFileSync('./public/data/adventurers.json', JSON.stringify(characterData, null, 2), "utf-8");
|
||||||
|
|
||||||
|
function base64_encode(file) {
|
||||||
|
return fs.readFileSync(file, "base64");
|
||||||
|
}
|
||||||
@@ -12,14 +12,14 @@
|
|||||||
<meta name="description"
|
<meta name="description"
|
||||||
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
||||||
<meta property="twitter:title" content="Guild Master - Adventurer's guild management game"/>
|
<meta property="twitter:title" content="Guild Master - Adventurer's guild management game"/>
|
||||||
<meta property="twitter:image" content="https://guildmaster.yht.one/img/compass_rose.png"/>
|
<meta property="twitter:image" content="https://guildmaster.yht.one/img/icon.png"/>
|
||||||
<meta property="twitter:description"
|
<meta property="twitter:description"
|
||||||
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
||||||
<meta property="og:title" content="Guild Master - Adventurer's guild management game"/>
|
<meta property="og:title" content="Guild Master - Adventurer's guild management game"/>
|
||||||
<meta property="og:url" content="https://guildmaster.yht.one/"/>
|
<meta property="og:url" content="https://guildmaster.yht.one/"/>
|
||||||
<meta property="og:description"
|
<meta property="og:description"
|
||||||
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
content="Guild Master is a browser game where you manage your own adventurer's guild!"/>
|
||||||
<meta property="og:image" content="https://guildmaster.yht.one/img/compass_rose.png"/>
|
<meta property="og:image" content="https://guildmaster.yht.one/img/icon.png"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Looking for artists for assets for this game! Need backgrounds, icons and character portraits! Join discord for more info!
|
Looking for artists for assets for this game! Need backgrounds and icons! Join discord for more info!
|
||||||
@@ -1,29 +1,30 @@
|
|||||||
{
|
{
|
||||||
"name": "adventurers-guild",
|
"name": "adventurers-guild",
|
||||||
"version": "0.11.0",
|
"version": "0.12.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "run-p type-check build-only && cp -r CNAME dist/CNAME",
|
"build": "run-p type-check build-only && cp -r CNAME dist/CNAME",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"type-check": "vue-tsc --noEmit"
|
"type-check": "vue-tsc --noEmit",
|
||||||
|
"gen-character-data": "node characterDataGenerator.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/components": "^9.13.0",
|
"@vueuse/components": "^9.13.0",
|
||||||
"sass": "^1.63.6",
|
"sass": "^1.66.1",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-router": "^4.2.2"
|
"vue-router": "^4.2.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.16.19",
|
"@types/node": "^18.17.6",
|
||||||
"@vitejs/plugin-vue": "^4.2.3",
|
"@vitejs/plugin-vue": "^4.3.1",
|
||||||
"@vue/tsconfig": "^0.4.0",
|
"@vue/tsconfig": "^0.4.0",
|
||||||
"eslint": "^8.44.0",
|
"eslint": "^8.47.0",
|
||||||
"eslint-plugin-vue": "^9.15.1",
|
"eslint-plugin-vue": "^9.17.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"typescript": "~5.1.6",
|
"typescript": "~5.1.6",
|
||||||
"vite": "4.3.9",
|
"vite": "4.4.9",
|
||||||
"vue-tsc": "^1.8.3"
|
"vue-tsc": "^1.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 304 KiB |
|
After Width: | Height: | Size: 119 KiB |
@@ -0,0 +1,102 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "aldek",
|
||||||
|
"name": "Aldek",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "aria",
|
||||||
|
"name": "Aria",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "burnett",
|
||||||
|
"name": "Burnett",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "charlotte",
|
||||||
|
"name": "Charlotte",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ella",
|
||||||
|
"name": "Ella",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "elyza",
|
||||||
|
"name": "Elyza",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "emille",
|
||||||
|
"name": "Emille",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "garret",
|
||||||
|
"name": "Garret",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "gryza",
|
||||||
|
"name": "Gryza",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "lestat",
|
||||||
|
"name": "Lestat",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "lydia",
|
||||||
|
"name": "Lydia",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "noor",
|
||||||
|
"name": "Noor",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "noron",
|
||||||
|
"name": "Noron",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "oola",
|
||||||
|
"name": "Oola",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "owen",
|
||||||
|
"name": "Owen",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ryslette",
|
||||||
|
"name": "Ryslette",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sally",
|
||||||
|
"name": "Sally",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tovu",
|
||||||
|
"name": "Tovu",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "wrydio",
|
||||||
|
"name": "Wrydio",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "xarya",
|
||||||
|
"name": "Xarya",
|
||||||
|
"attackExponent": 1.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 4.2 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 731 KiB |
|
After Width: | Height: | Size: 2.6 MiB |
@@ -104,6 +104,8 @@ export default defineComponent({
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 15rem;
|
max-width: 15rem;
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
|
background: rgb(2,0,36);
|
||||||
|
background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgb(69, 69, 84) 57%, rgb(85, 112, 117) 100%);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -50,6 +50,8 @@ export default defineComponent({
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: rgba(0, 0, 0, 0.75);
|
color: rgba(0, 0, 0, 0.75);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
background: rgb(2,0,36);
|
||||||
|
background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgb(69, 69, 84) 57%, rgb(85, 112, 117) 100%);
|
||||||
|
|
||||||
.level {
|
.level {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||