You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,15 @@ This mod adds a scalable and moveable UI to the level editor with move, rotate,
9
9
In the mod's settings, you can customize button visuals and functionality.
10
10
# How to use
11
11
- Select an object to show the transform buttons in the editor.
12
-
- Hold around the edge of the buttons to drag around the buttons.
12
+
- Hold the draggable area of the buttons to move the menu.
13
13
- Press the center button to toggle the move units.
14
14
# Credits
15
-
- Cheeseworks - For helping me make this mod possible since I barely understand some functionality to make things work
16
-
- CyanBoi - For beta testing, finding bugs and giving me feedbacks
17
-
- iCreate Pro - For inspiration on the Custom Move Button feature
15
+
-**Cheeseworks** - For helping me make this mod possible since I barely understand some functionality to make things work
16
+
-**CyanBoi** - For beta testing, finding bugs and giving me feedbacks
17
+
-**iCreate Pro** - For inspiration on the Custom Move Button feature
18
18
# Preview
19
19

20
20

21
21
# Known Bugs
22
-
- Buttons disappears whenever you copy + paste multiple objects. Appears again whenever you move your editor *(Best way to prevent this is enabling Button Presistent since I don't know how to fix this bug)*
22
+
- Buttons disappears whenever you copy + paste multiple objects. Appears again whenever you move your editor
23
+
*(Best way to prevent this is enabling Button Presistent since I don't know how to fix this bug)*
Copy file name to clipboardExpand all lines: about.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ In the mod's settings, you can customize button visuals and functionality.
9
9
# How to use
10
10
11
11
- Select an object to show the transform buttons in the editor.
12
-
- Hold around the edge of the buttons to drag around the buttons.
12
+
- Hold the draggable area of the buttons to move the menu.
13
13
- Press the center button to toggle the move units.
14
14
15
15
# Credits
@@ -26,4 +26,5 @@ In the mod's settings, you can customize button visuals and functionality.
26
26
27
27
# Known Bugs
28
28
29
-
- Buttons disappears whenever you copy + paste multiple objects. Appears again whenever you move your editor *(Best way to prevent this is enabling Button Presistent since I don't know how to fix this bug)*
29
+
- Buttons disappears whenever you copy + paste multiple objects. Appears again whenever you move your editor
30
+
*(Best way to prevent this is enabling Button Presistent since I don't know how to fix this bug)*
Copy file name to clipboardExpand all lines: mod.json
+21-3Lines changed: 21 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@
11
11
"version": "v1.0.1",
12
12
"settings": {
13
13
"scale-btns": {
14
-
"name": "Scale Move Buttons",
15
-
"description": "Change the size of the transform buttons. <cr>Required to reopen the editor to take effect.</cr>",
14
+
"name": "Scale Button",
15
+
"description": "Change the scale of the transform buttons, <co>draggable area also be affected.</co> <cr>Required to reopen the editor to take effect.</cr>",
16
16
"type": "float",
17
17
"default": 1,
18
18
"min": 0.5,
@@ -34,12 +34,30 @@
34
34
"slider-step": 5
35
35
}
36
36
},
37
+
"scale-bg": {
38
+
"name": "Scale Draggable Area",
39
+
"description": "Change the scale of the draggable area. <cg>Useful if you can't drag properly due to the area size.</cg> <cr>Required to reopen the editor to take effect.</cr>",
40
+
"type": "int",
41
+
"default": 130,
42
+
"min": 130,
43
+
"max": 200,
44
+
"control": {
45
+
"slider": true,
46
+
"slider-step": 10
47
+
}
48
+
},
37
49
"visible-bg": {
38
-
"name": "Button Background",
50
+
"name": "Show Button Background",
39
51
"description": "Show the background of the transform buttons. <cr>Required to reopen the editor to take effect.</cr>",
40
52
"type": "bool",
41
53
"default": false
42
54
},
55
+
"menu-btn": {
56
+
"name": "Show Draggable Area",
57
+
"description": "Show the draggable area for transform buttons. <cg>Useful if you want to know the draggable area.</cg>",
58
+
"type": "bool",
59
+
"default": true
60
+
},
43
61
"no-dragging": {
44
62
"name": "Disable Dragging",
45
63
"description": "Disable dragging on the transform buttons. <cg>Useful if you want your buttons to stay in a fixed position and prevent accidental dragging.</cg>",
buttonMenuBgDepth->setOpacity(25); // Lower opacity for depth effect
201
+
buttonMenuBgDepth->setPosition({ m_fields->m_buttonMenu->getContentWidth() / 2.f, m_fields->m_buttonMenu->getContentHeight() / 2.f }); // Same position as main background
202
+
buttonMenuBgDepth->setColor({ 0, 0, 0 }); // Darker color for shadow effect
0 commit comments