Rendering: Add placeholder frame

and fix profile card alignment
This commit is contained in:
2023-06-12 16:40:11 +02:00
committed by Minz
parent 6d35019e3e
commit e1cc82eb32
2 changed files with 20 additions and 12 deletions

View File

@@ -73,26 +73,26 @@ module.exports = {
{ {
"type": "image", "type": "image",
"asset": `${renderedCards[1]}`, "asset": `${renderedCards[1]}`,
"x": 350, "x": 375,
"y": 325, "y": 310,
"width": 150, "width": 175,
"height": 250 "height": 275
}, },
{ {
"type": "image", "type": "image",
"asset": `${renderedCards[2]}`, "asset": `${renderedCards[2]}`,
"x": 510, "x": 560,
"y": 325, "y": 310,
"width": 150, "width": 175,
"height": 250 "height": 275
}, },
{ {
"type": "image", "type": "image",
"asset": `${renderedCards[3]}`, "asset": `${renderedCards[3]}`,
"x": 670, "x": 745,
"y": 325, "y": 310,
"width": 150, "width": 175,
"height": 250 "height": 275
}, },
{ {
"type": "image", "type": "image",

View File

@@ -102,6 +102,14 @@ module.exports = {
{ {
"type": "image", "type": "image",
"asset": `${characterImage}`, "asset": `${characterImage}`,
"x": 10,
"y": 10,
"width": 580,
"height": 980
},
{
"type": "image",
"asset": `${process.env.ASSET_URL}/overlays/default_frame.png`,
"x": 0, "x": 0,
"y": 0, "y": 0,
"width": 600, "width": 600,