Skip to content

Commit

Permalink
add bones and joystick bindable properties
Browse files Browse the repository at this point in the history
add more bindable properties
now for bones and joysticks
it's only json properties and running core_generator

Diffs=
e582b41aaa add bones and joystick bindable properties (#8322)

Co-authored-by: hernan <[email protected]>
  • Loading branch information
bodymovin and bodymovin committed Oct 11, 2024
1 parent d06f72b commit c7a3f7b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
272db8c3aff09afc8c819bdf6e986be5923cc1d3
e582b41aaabae2a9e12fd05dfbc29fc1408a9afb
3 changes: 2 additions & 1 deletion dev/defs/bones/bone.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"key": {
"int": 89,
"string": "length"
}
},
"bindable": true
}
}
}
6 changes: 4 additions & 2 deletions dev/defs/bones/root_bone.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"key": {
"int": 90,
"string": "x"
}
},
"bindable": true
},
"y": {
"type": "double",
Expand All @@ -26,7 +27,8 @@
"key": {
"int": 91,
"string": "y"
}
},
"bindable": true
}
}
}
18 changes: 12 additions & 6 deletions dev/defs/joystick.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"key": {
"int": 299,
"string": "x"
}
},
"bindable": true
},
"y": {
"type": "double",
Expand All @@ -24,23 +25,26 @@
"key": {
"int": 300,
"string": "y"
}
},
"bindable": true
},
"posX": {
"type": "double",
"initialValue": "0",
"key": {
"int": 303,
"string": "posx"
}
},
"bindable": true
},
"posY": {
"type": "double",
"initialValue": "0",
"key": {
"int": 304,
"string": "posy"
}
},
"bindable": true
},
"originX": {
"type": "double",
Expand All @@ -66,15 +70,17 @@
"key": {
"int": 305,
"string": "width"
}
},
"bindable": true
},
"height": {
"type": "double",
"initialValue": "100",
"key": {
"int": 306,
"string": "height"
}
},
"bindable": true
},
"xId": {
"type": "Id",
Expand Down

0 comments on commit c7a3f7b

Please sign in to comment.