Jump to content
  • 0

Question UI Beta 5.1


Andical

Question

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......
de973fe5e017e53d919a142350245849.png

 

 

2- How do I move equipment slots individually as shown in the image? Is it in the EquipmentItem.json?

261210414391a6b85fa100902a489c54.png

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

  • 0
7 hours ago, jcsnider said:

You can't in B5, but it's possible in B6. 

 

unknown.png

 

Ok no problem! I will wait for it then :D

If I make my game in 5.1 beta in the future I will be able to update it to 6 right?

Link to comment
Share on other sites

×
×
  • Create New...