Jump to content
  • 0
Sign in to follow this  
Andical

Question UI Beta 5.1

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

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0
32 minutes ago, jcsnider said:

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

 

unknown.png

 

A lot better that what it was supposed to be.

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, Sweet Candy said:

you can't change like your example image
For do that changes you'll need the source
ATM you can move Up or down the hotbar

 

Thanks for the fast response

Share this post


Link to post
Share on other sites
  • 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?

Share this post


Link to post
Share on other sites
  • 0
18 minutes ago, Processinho said:

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

Waiting e_e

Yes. There is always a converter for new versions. 

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...