![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | AlMustapha |
Hi
i have some spritesheets from my project (project made in unreal game engine )
now i decide to port project to godot
the problem is
now i made many sprite sheets and already has json file but for unreal asset
one of frames is
“bg_4zounianbiaoshi”: {
“frame”: {
“x”: “774”,
“y”: “314”,
“w”: “346”,
“h”: “378”
},
“rotated”: “false”,
“trimmed”: true,
“spriteSourceSize”: {
“x”: “0”,
“y”: “0”,
“w”: “346”,
“h”: “378”
},
“sourceSize”: {
“w”: “346”,
“h”: “378”
},
“pivot”: {
“x”: 0.5,
“y”: 0.5
}
now i try to port json files to be accepted as godot import file but the file contains less data
{
“filename”: “icon - Copy (2).png”,
“region”: {
“x”: 0,
“y”: 0,
“w”: 64,
“h”: 64
},
“margin”: {
“x”: 0,
“y”: 0,
“w”: 0,
“h”: 0
}
},
now where the attribute rotate ? and trim