Merge pull request 'move bet-position to bet-table' (#24) from feature/move-bet-positio-to-bet-table into develop

Reviewed-on: dev-tech/ts-table-game-template#24
This commit is contained in:
Le Hoang Nam 2025-06-16 12:55:16 +08:00
commit bf8f7834b9
10 changed files with 243 additions and 119 deletions

View File

@ -22,6 +22,9 @@
},
{
"__id__": 8
},
{
"__id__": 21
}
],
"_active": true,
@ -31,7 +34,7 @@
}
],
"_prefab": {
"__id__": 20
"__id__": 25
},
"_opacity": 255,
"_color": {
@ -55,8 +58,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-123.209,
-291.47,
110.047,
423.33,
0,
0,
0,
@ -304,16 +307,15 @@
},
{
"__id__": 12
},
{
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_components": [],
"_prefab": {
"__id__": 19
"__id__": 20
},
"_opacity": 255,
"_color": {
@ -471,82 +473,17 @@
},
{
"__type__": "cc.Node",
"_name": "odds",
"_name": "label-odds",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 16
}
],
"_prefab": {
"__id__": 17
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-45,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "label-odds",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 14
}
@ -576,8 +513,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
-56.609,
-45,
0,
0,
0,
@ -601,12 +538,25 @@
"groupIndex": 0,
"_id": ""
},
{
"__type__": "3674eAiaAdI0rWSIhPOyLjC",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"labelOdds": {
"__id__": 14
},
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 12
},
"_enabled": true,
"_materials": [
@ -642,22 +592,122 @@
"asset": {
"__id__": 0
},
"fileId": "0dnXstf/5Ac4Q+oUXtdNa5",
"fileId": "6fMweRWFBDKor5Zdl9outB",
"sync": false
},
{
"__type__": "3674eAiaAdI0rWSIhPOyLjC",
"__type__": "cc.Node",
"_name": "label-money",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 186,
"g": 128,
"b": 146,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 83.4,
"height": 31.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
55.541,
-45,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "0f5c3fQEvhFkoUhgj/rDelk",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 16
},
"_enabled": true,
"labelOdds": {
"__id__": 14
"labelMoney": {
"__id__": 18
},
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "1 : 3.92",
"_N$string": "1 : 3.92",
"_fontSize": 25,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
@ -666,41 +716,9 @@
"asset": {
"__id__": 0
},
"fileId": "6fMweRWFBDKor5Zdl9outB",
"fileId": "4fVugRu51MMYKiUTc9hxyX",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 200,
"height": 130
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
@ -712,6 +730,112 @@
"fileId": "2b9K5TNhNP678dvVScYWp8",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "chip-handler",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": {
"__id__": 24
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.457,
17.204,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "a2ae94dyIFJwqWb6gKNDdcK",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"chipPrefab": {
"__uuid__": "bf77bfc7-abcc-4d29-8ab3-05ec46df58eb"
},
"animChip": {
"__id__": 23
},
"_id": ""
},
{
"__type__": "feac7ZD+8ZN64Md38yUI14H",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"winNode": null,
"collectNode": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 21
},
"asset": {
"__uuid__": "880f2aa7-1582-4df0-9937-53afb2f7e631"
},
"fileId": "5fyP6ZiR5DPakWgzhhAuLP",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {