#HELP! Trying to animate an image on Hud Screen
1 messages · Page 1 of 1 (latest)
but for multiplayer
I also need to figure out how to time the animation, no clue how to do that though
The basic code I have so far: (I am noob)
{
"hud_damage_cooldown": {
"type": "image",
"texture": "textures/Gisus/0",
"anchor_from": "center",
"anchor_to": "center",
"size": ["2.5%", "2.5%"],
"offset": [ 0, 10 ]
},
"root_panel": {
"modifications": [
{
"array_name": "controls",
"operation": "insert_front",
"value": [
{ "[email protected]_damage_cooldown": {} }
]
}
]
}
}
idk how to do the markdown... one sec
"hud_damage_cooldown": {
"type": "image",
"texture": "textures/Gisus/0",
"anchor_from": "center",
"anchor_to": "center",
"size": ["2.5%", "2.5%"],
"offset": [ 0, 10 ]
},
"root_panel": {
"modifications": [
{
"array_name": "controls",
"operation": "insert_front",
"value": [
{ "[email protected]_damage_cooldown": {} }
]
}
]
}
}```
there we go
hmm, looks like I need to use the render control json for the player