Hello people, I started yesterday a project with a friend and we have some questions...
First, we are trying to understand how the engine works.
Â
I would appreciate any sort of help with these 2Â things:
Â
1- How do I make Hotbar movable? So I can move it around while playing the same way I can move other windows (friends, spellbook, inventory etc...)
I cant find the line in the code of HotbarWindow.json......
Â
Â
2- How do I move equipment slots individually as shown in the image? Is it in the EquipmentItem.json?
I think in the code, the part "children" moves everything together. Is there a way to move each square individually?
Â
EquipmentItem.json
{
 "Bounds": "0,0,34,34",
 "Padding": "2,2,2,2",
 "AlignmentEdgeDistances": "0,0,0,0",
 "Margin": "0,0,0,0",
 "RenderColor": "255,255,255,255",
 "Alignments": "",
 "DrawBackground": true,
 "MinimumSize": "1,1",
 "MaximumSize": "4096,4096",
 "Disabled": false,
 "Hidden": false,
 "RestrictToParent": false,
 "MouseInputEnabled": true,
 "HideToolTip": false,
 "Texture": "equipmentitem.png",
 "Children": {
  "EquipmentIcon": {
   "Bounds": "1,1,32,32",
   "Padding": "0,0,0,0",
   "AlignmentEdgeDistances": "0,0,0,0",
   "Margin": "0,0,0,0",
   "RenderColor": "255,255,255,255",
   "Alignments": "",
   "DrawBackground": true,
   "MinimumSize": "1,1",
   "MaximumSize": "4096,4096",
   "Disabled": false,
   "Hidden": false,
   "RestrictToParent": false,
   "MouseInputEnabled": false,
   "HideToolTip": false,
   "Texture": ""
  }
 }
}
Question
Andical
Hello people, I started yesterday a project with a friend and we have some questions...
First, we are trying to understand how the engine works.
Â
I would appreciate any sort of help with these 2Â things:
Â
1- How do I make Hotbar movable? So I can move it around while playing the same way I can move other windows (friends, spellbook, inventory etc...)
I cant find the line in the code of HotbarWindow.json......
Â
Â
2- How do I move equipment slots individually as shown in the image? Is it in the EquipmentItem.json?
I think in the code, the part "children" moves everything together. Is there a way to move each square individually?
Â
EquipmentItem.json
{
 "Bounds": "0,0,34,34",
 "Padding": "2,2,2,2",
 "AlignmentEdgeDistances": "0,0,0,0",
 "Margin": "0,0,0,0",
 "RenderColor": "255,255,255,255",
 "Alignments": "",
 "DrawBackground": true,
 "MinimumSize": "1,1",
 "MaximumSize": "4096,4096",
 "Disabled": false,
 "Hidden": false,
 "RestrictToParent": false,
 "MouseInputEnabled": true,
 "HideToolTip": false,
 "Texture": "equipmentitem.png",
 "Children": {
  "EquipmentIcon": {
   "Bounds": "1,1,32,32",
   "Padding": "0,0,0,0",
   "AlignmentEdgeDistances": "0,0,0,0",
   "Margin": "0,0,0,0",
   "RenderColor": "255,255,255,255",
   "Alignments": "",
   "DrawBackground": true,
   "MinimumSize": "1,1",
   "MaximumSize": "4096,4096",
   "Disabled": false,
   "Hidden": false,
   "RestrictToParent": false,
   "MouseInputEnabled": false,
   "HideToolTip": false,
   "Texture": ""
  }
 }
}
Â
Â
Thanks in advance
Link to comment
Share on other sites
8 answers to this question
Recommended Posts