InnerChild

Hi,

we are Making a 2d game in ue4 (hard choice) and we buy spine expecting that makes our work less harder.
The plugin works "fine", but i can't find most of the features that exist for Unity.
The feature that we need the most is Sprite Attachment. I can't find something similar on Ue4 plugin and i was wondering how can we achieve that if it doesn't exists.
We have have our character and we have planned that ii can swap equipment like a lot of weapons, a lot of armors, capes, etc.
And most of that content will be updated so we need that those sprites can be on separated files and not inside of the same atlas of the main character.
In unity you solve that using sprite attacher script.
how can i achieve the same result on unreal?

---

Customer support?
InnerChild
Bài viết: 10

badlogic

The UE4 runtime is not yet fully on par with the Unity runtime in terms of feature set. Specifically, sprite attachments are not supported yet. UE4's rendering architecture sadly doesn't lend itself well to implementing sprite attachments like in Unity. We have an open issue about improving the the UE4 runtime, but it will take some time to get to feature parity.
Hình đại diện của thành viên
badlogic

Mario
Bài viết: 979

InnerChild

ok so how can you export different folders with images to ue4 without crashing it?
We have a character for testing
We have all swords on a different folder
Screenshot1.jpg

but if we export the character all images al merged in one or two atlas. The subfolders are not respected.(exporting as json using default options)

if we export the character without the atlas and then we export the atlas separated using Spine's texture packer the images are packed in folders.
But in ue4 if we put the skeleton data inside of the slot data and then the separated atlas file in the atlas slot ue4 crashes.

---

by the way you must update to the new build.cs system

d:\Projects\Mobile\spine-ue4\Source\SpineUE4.Target.cs(8,9) : warning CS0618: 'UnrealBuildTool.TargetRules.TargetRules()' is obsolete: 'Please pass the TargetInfo parameter to the base class constructor (eg. "MyTargetRules(TargetInfo Target) : base(Target)").'
d:\Projects\Mobile\spine-ue4\Source\SpineUE4Editor.Target.cs(8,9) : warning CS0618: 'UnrealBuildTool.TargetRules.TargetRules()' is obsolete: 'Please pass the TargetInfo parameter to the base class constructor (eg. "MyTargetRules(TargetInfo Target) : base(Target)").'
D:\Projects\Mobile\spine-ue4\Source\SpineUE4.Target.cs: warning: SetupBinaries() is deprecated in the 4.16 release. From the constructor in your .target.cs file, use ExtraModuleNames.Add("Foo") to add modules to your target, or set LaunchModuleName = "Foo" to override the name of the launch module for program targets.
D:\Projects\Mobile\spine-ue4\Source\SpineUE4Editor.Target.cs: warning: SetupBinaries() is deprecated in the 4.16 release. From the constructor in your .target.cs file, use ExtraModuleNames.Add("Foo") to add modules to your target, or set LaunchModuleName = "Foo" to override the name of the launch module for program targets.
Tập tin đính kèm
Screenshot1.jpg
InnerChild
Bài viết: 10

badlogic

I'm having troubles following the issue you are describing. Could you send me the assets you try to import which crash?

Regarding the build system: we keep it this way for a little longer so we can support older UE4 versions (4.14) and newer ones. These are just deprecation warnings at this point.
Hình đại diện của thành viên
badlogic

Mario
Bài viết: 979


Quay về Runtimes