Generated on Feb 14, 2025, 8:58:42 PMgemini-1.5-flash
{
"hud_elements": [
{
"type": "character_profile",
"shape": "circle",
"size": { "width": 100, "height": 100 },
"position": { "x": 50, "y": 50 },
"image": "path/to/character_image.png", // Replace with actual image path
"border": { "width": 5, "color": "#8B4513" }, // Dark brown border
"elements": [
{
"type": "text",
"text": "Character Name",
"font": "MedievalSharp", // Example font, replace with desired font
"size": 14,
"color": "white",
"position": { "x": 0, "y": -40 }, // Position relative to circle center
"alignment": "center"
},
{
"type": "health_bar",
"max_value": 100,
"current_value": 85,
"width": 80,
"height": 10,
"position": { "x": 0, "y": 25 },
"background_color": "#800000", // Dark red
"fill_color": "#00FF00" // Green
},
{
"type": "text",
"text": "Level: 15",
"font": "MedievalSharp",
"size": 12,
"color": "white",
"position": { "x": 0, "y": 40 },
"alignment": "center"
}
]
},
{
"type": "mini_map",
"size": { "width": 150, "height": 150 },
"position": { "x": 700, "y": 50 }, // Example position, adjust as needed
"image": "path/to/mini_map.png", // Replace with actual mini-map image path
"player_marker": {
"shape": "triangle",
"size": 5,
"color": "blue"
}
},
{
"type": "quest_log",
"size": { "width": 200, "height": 150 },
"position": { "x": 700, "y": 250 },
"background_color": "#A0522D", //Sienna
"border": { "width": 2, "color": "black" },
"text": [
"Retrieve the King's lost amulet.",
"Defeat the dragon guarding the bridge.",
"Find the hidden treasure in the forest."
],
"font": "MedievalScript", // Example font, replace with desired font
"size": 12,
"color": "white"
},
{
"type": "inventory",
"size": { "width": 150, "height": 100 },
"position": { "x": 50, "y": 200 },
"items": [
{"name": "Sword", "icon": "path/to/sword_icon.png"},
{"name": "Shield", "icon": "path/to/shield_icon.png"},
{"name": "Potion", "icon": "path/to/potion_icon.png"}
]
}
],
"background": {
"color": "#222222", // Dark grey background
"image": "path/to/background_image.png" //Optional background image
},
"style": {
"font": "MedievalScript", // Default font for HUD elements
"color": "white" // Default color for HUD elements
}
}