Comments

Log in with itch.io to leave a comment.

(2 edits)

Good time. Is it possible to load multiple atlases into one scene? I install the following atlas and json with a different number in another object, but only one atlas is loaded in two objects.

Is this what you mean?
See sample for details
http://ugken.com/ext/Spine/MultiResource.zip

Yes, this is the effect. It turns out that you need to spread the creation of objects in different event strings. Thank you.

(9 edits)

can I find out about the track id and the timing of the animation? I'm trying to control the animation using the clock hand. The animation plays at half the amplitude, despite the full time range. Other animation channels by holding the key also move by half the amplitude, regardless of the speed of movement. There is a great lack of a proper animation game for holding the default key, and not an endless launch attempt.. Also with the freeze of a specific animation time. Or, if the solution is not simple, a detailed guide. By trial and error, it is not possible to find a solution.

https://skrinshoter.ru/vMvzblYxt7n?a

https://skrinshoter.ru/vMvyDzzUIDp?a

(1 edit)

The reference time inside Spine is 0.0166.
This is the value of (1.0sec / 60frame).

http://ugken.com/ext/Spine/AnimationTime.zip
*Updated.

In addition, it is possible to obtain events at specific times.
3 of the included sample file (Motion event), there is a sample of a function that can catch specific events when they occur during an animation.

I am not sure about specific animation freezes.
If you have reproducible data, I would appreciate it.

(2 edits)

(uploader url)

(1 edit)

Sent. I managed to freeze the frame with the engine tools. This is achieved by separating the start by pressing, and playing on other triggers. But then there is a problem with the cancellation of the animation, and their alternation.

It seems that the json output is missing the time key.

For example, if you look at spineboy-pro.json
The time following the "run" item has keys up to 0.8 ("time": 0.8), and its status is recorded.

And this is the EndTime.

In the file you gave me,
The key recorded in "04_walk_spec" that you are trying to play is
"time":0.6667

and it looks like there are not enough keyframes.

(2 edits)

Yeah, okay.
Is this what you want to do?
(Test_spine.zip)

I understand the intent.

The two animations are not working together.
I will look into it.

(1 edit)

It seems that the problem is hidden in the launch by holding the button of different animation channels in parallel. For example, when I need to combine the animation of walking and aiming at the same time. They conflict.

Details.
Line 113.
"getAnimationEndTime( "hal_platform", 0 )" is
"getAnimationEndTime( "hal_platform", 2 )"

is the corresponding track ID, I think.
Although it is conceivable that it is the keyframes that are the cause, just in case

Thanks for the tip. The solution turned out to be simpler. Each animation channel needs its own global value. Keys and time doubtfully play a role, I tried different things. It remains to figure out how to reset the animation to inactivity.

https://skrinshoter.ru/vMvKyPAIiQV?a

The linkage problem we have identified here is
AIM animation set on line 68 was always running.

It appears that the animation value changes were not changing correctly.

I am glad to hear that it worked.

is it possible to make the animation cycle playback by holding the key, and not a one-time press? Right now it works like a constant startup, and looks like freezing.

Is this what you mean?
I think it is possible to set the animation time so that it can be expressed

http://ugken.com/ext/Spine/AnimationTime.zip

(1 edit)

I see the code, maybe my project will work. There is such an alternative as a forced animation update by timer. But I need to find the time for each animation.

SetAnimationSpeed allows you to change the animation value added to each frame.

Setting the value to 0 will stop the animation.

(2 edits)

I was looking in the instructions for how to set the RGB coefficient to replace the color, and tried manually. I see that there is an option. But I didn't understand how to do it in the event editor. I can only hide and show objects.

RGB coefficient can be set via the editor properties
or from standard commands

Here is a sample
http://ugken.com/ext/Spine/rgb_sample.zip

(3 edits)

Thank you. I thought it was possible to use this to paint a part, not the whole object. Figured it out.

This function requires that you first select the target of the change with Select_Slot.
http://ugken.com/ext/Spine/rgb_slot.zip

I found it, thank you.

Good time. Is it possible to open a password-encrypted, from prying eyes, archive with resources? (atlas, json, png)

It supports binary embedding registered in Data Elements.
It is also called without awareness in the executable file at build time.
http://ugken.com/ext/Spine/sample_mfa.zip

I understand, thank you

At the exit from the previous level, "create spine data" crashes the application. At the same time, the launch of this level separately passes normally. How to get around this problem?

We have confirmed the phenomenon and will investigate the cause.
(It seems to occur with DirectX11 and not with DirectX9)

Thanks for the report.

Please check back as we have fixed the relevant issue.

Thank you.

it works. Thanks for the speed of response.

(2 edits)

My project after the build (DX11) still tends to external libraries. I see that you have an assembly implemented. Do I need specific actions to build? 

The external library (d3dx9d_43.dll) is included at build time.
In order to be included, it must be placed in the following path
"C:\Program Files (x86)\Clickteam Fusion Developer 2.5\Data\Runtime\Unicode\d3dx9d_43.dll"

If it is working correctly, you only need to place it.
No special operations are required.

(3 edits)

I'm sorry, I made a mistake with the address of the library.But I fixed it and it still doesn't work. Does the build, but still searches for external files. How can this be solved? Is the reason possible in the revision of the engine?

(1 edit)

I think it has something to do with the previous problem of poor loading at startup.

On startup, I get.

"C:\Program Files (x86)\Clickteam Fusion Developer 2.5\d3dx9d_43.dll"

Basically, this should work, but this is the story of the failure to load it.

As in this case, I think the file in Runtime is not being read.

For example, maybe you don't have permission to access the file.

Maybe you could try running CF2.5 with administrator privileges or check the permissions to access the file (DLL) in question?

(3 edits)

Surface no loading not in screen. How to fix it? The canvas is scaled, but pixels are visible.
https://skrinshoter.ru/vMhRMC79Azc?a

We have identified the situation.

When not in directDrawMode, the internal rendering area is built once based on the window size.

We believe this is due to that specification.

We would like to make a change so that if the surface size is different from the window size, it will be expanded.
(At any rate, I think it will be displayed if directDrawMode is set to On even in its current state.)

it worked, thanks a lot

(1 edit)

Can I find out how to use the commands of this extension? (The expression editor doesn't understand them). I'm trying to edit functions like directory selection, but the expression editor doesn't display them.

(I'm not sure if I'm getting the intent right.)

The instructions in Expression are used at the point of formula input.

For example

 "New condition -> Special -> Compare two general values".

Here in the Spine Object's menu SpineData, various instruction sets can be selected

(1 edit)

In this case, we are talking about the path to the atlas file. He doesn't understand my path and file name. Perhaps there are special rules for specifying. Right now writes "failed to load atlas", "Failed to loadSkeletonPool",  "Failed to CreateSpineData". I repeated the actions on the display as in the reference.

I see.

Basically, I am assuming that the behavior is relative based on the path where the project file (mfa) is located.

The only possible behavior that is not so is that there may be a character code issue.

(Since it is based on UTF8, I would think it would work if the file is handled in UTF8.)

(1 edit)

It seems the root of the problem is the spine version. Is 3.8.99 supported? I noticed that the atlas file has different properties than the reference one.

The version of the Spine runtime I implemented was 3.8, and there was no mention of any minor version after that, so I think it was pure 3.8.

I don't know what minor version the problematic, modified file structure version is from.

We hope to eventually update to the current version.

Or a problem with the working directory path...

In the sample, it is "dat/spineboy-pro.atlas"...

If you explicitly specify the CF25 directory path, the problem may be solved.

----
Apppath$ + "dat/spineboy-pro.atlas"
----

(+1)

Thank you.

(1 edit)

I bought the program. Completed the installation instructions. The document does not open. Requires the installation of the Unicode version of the program. The extension does not work.

(+1)

The other possible reason for the non-working is the installation of DirectX9.

Although the operating base is built on DirectX9,

Maybe the new windows does not have DirectX9 in it.

https://www.microsoft.com/en-US/download/details.aspx?id=35

(3 edits)

There are these packages on my windows 10, but I tried reinstalling. It doesn't work. The program does not see this extension, it requires a version of the Spine Extension in Unicode. How can I get it?

(1 edit) (+1)

Basically, if you ext the Data and Extensions folders, you should be fine.

(Symptoms of not being able to open files are often caused by d3dx9d_43.dll.

As a reference

Below is an example of the exact location of the required files.

------

C:\Program Files (x86)\Clickteam Fusion Developer 2.5\d3dx9d_43.dll

C:\Program Files (x86)\Clickteam Fusion Developer 2.5\Data\Runtime\Unicode\d3dx9d_43.dll

C:\Program Files (x86)\Clickteam Fusion Developer 2.5\Data\Runtime\Unicode\spine.mfx

C:\Program Files (x86)\Clickteam Fusion Developer 2.5\Extensions\Unicode\spine.mfx

------

(1 edit)

I performed these actions according to the instructions, including. But it didn't work. I note that the instructions specify a different directory (Program files without x86). But the essence does not change - the extension does not work in all cases.

What version of the program is needed for the extension? I have 292.22.

(+1)

The version I have running on hand is R294.14.

Also, I have confirmed that the Free edition of CF2.5 We have also confirmed that the Free edition of CF2.5 is not able to load various extensions (I think this may be a specification).

(+1)

I experimented with the old environment and think I was able to reproduce something close.

I called up the extension manager and listed them and they showed up.

Perhaps it is cached or something and needs to be reloaded.

Hi! Can you plz tell me if this extension will work on android exports?

Hello!
Right now it is windows only.

In case you are interested, an Android version is currently under development.

Oh yes, I am very interested. Is it going to support only v. 3.8 of spine or v4 as well? And what about dragon bones json support?

The base SDK we have started development on is Spine 3.8, so we plan to keep it that way for a while.

If there is a strong demand, we will consider v4, but for now, we have no plans to do so because our priority is the Android version.

As for DragonBones, we do not support it.
If the json after Spine conversion works, I think it will work.
(I think those can be seen in the demo version)

Hi, I live in Russia and can't buy this extension, are there alternative ways to buy your extension?

Thank you for your interest.

However, right now we are only selling here.

I'm praying that the sales function will be restored, but there's nothing I can do about this.

Sorry I can't help you.

Hey Azarl. Question... How do I make the spine animation face the opposite direction? Character is animated facing right, I want him to face left when moving left. What do I use to achieve this. I cannot seem to find a way to do it

Try specifying a negative value in SetScale: SetScale(-1.0 , 0.0)

I think we can change the coordinate system to the inverted state without changing the coordinate system.

(1 edit)

Thanks, will give this a try!
Sadly this doesn't work, object vanishes when setting scale to -1.0, 0.0

Oh, sorry, simple mistake.

I had the wrong Y scale.

The correct value was (-1.0,1.0)

Hey, Thanks for the help but sadly this isnt working either.
I am using the placeholder animation you provided in the tutorial. When i do this scale change in your scene (load and display) it works fine.
When I do this in my scene the animation vanishes and all I can see is a flickering of the bottom of his shoes. I am loading the spine object in exactly the same way (copy and pasted your code for testing) however I have "Direct Drawing" set to 0 so that the animation renders above the background.

The issue appears to be "Direct Drawing".  If this is set to "1" the reverse scale works however the object will not render above anything (not even a background object, rendering the animation useless). If it is set to "0" the animation renders correctly with layers and objects however the reverse scale makes the animation vanish apart from the flickering of his shoes.

(1 edit)

I see.

I have a feeling that this is the bug you reported earlier.
Please try the latest version of the mfx file.
(SpineExtension_20221103.zip)

As a limited bug

When using DirectDraw functionality in DirectX11
If a TextObject (with updated content) existed
interference occurred and the object was not displayed.

A new version has been uploaded to address this issue.
(SpineExtension_20221025.zip)

(2 edits)

Hey Azarl, I am checking out the extension however I cannot seem to get the Spine object to render infront of anything. It doesnt matter what layer the Spine object is on nor if it is "sent to front"
How do I get the spine animations to render in layer order (in front of background art) and abide by the layering of the scene?
Thanks

**Update - SetDirectDraw = 1 seems to have sorted this out. If set to 0 it renders the spine files under everything.

Thanks for the report.

Is it the DirectX11 version?

I will check it out, as it is most likely a bug.

The DirectX9 version is different in terms of rendering, so we can compare it with the DirectX9 version if there is any suspicious behavior.

(+1)

Amazing! I have been wanting Spine integration in Fusion for years! I have purchased it. Thank you very much for making and releasing this!

Does it currently support the "Events" system?

Thank you!

For the event system, see the "Motion event" on the third frame of the sample.

You can see its occurrence in the debug log of the CF.

Excellent, thank you. Very excited to use this extension. Great job