GergoPetrovszky

I have a spine project in which I want to change the graphics at runtime.
Is it possible to change the graphics within Spinen for testing purposes?
GergoPetrovszky
  • Mesajlar: 3

Harald

Which runtime are you using?
In general, changing attachments and skins is possible on all runtimes, if that is what you mean by changing graphics.
Kullanıcı avatarı
Harald

Harri
  • Mesajlar: 4449

GergoPetrovszky

I would like to achieve that the graphic designer only has to load the new graphics into the given folders (sword, shield, helmet...) and then when I start the project in the Spine editor, I can immediately change it for testing.
Can this be solved by some simple method?
GergoPetrovszky
  • Mesajlar: 3

Harald

So did I understand you correct that you want to change the images only for the Spine Editor, not in a game (which is what the runtimes are for). This can already be done, you can at any time just replace the images of your Spine project and it will load the updated images. Or did you mean something different?
Kullanıcı avatarı
Harald

Harri
  • Mesajlar: 4449

GergoPetrovszky

1. I just want to test how the new graphics work on the spine skeleton and my question is what is the easiest way to do this? because now it takes a lot of time to change the graphics.
how can I simply upload the graphics to the given folder and view them in webGL, for example?
2. how to upload graphics to the game in the simplest and most efficient way in a Unity project?
GergoPetrovszky
  • Mesajlar: 3

Harald

I'm afraid we need more information to answer your questions.
GergoPetrovszky yazdı:1. I just want to test how the new graphics work on the spine skeleton and my question is what is the easiest way to do this? because now it takes a lot of time to change the graphics.
Please describe in more detail what you are doing now, why this takes a lot of time.

Quickly previewing an exchanged texture in a WebGL app created with Unity sounds like a bit of a contradiction. The easiest way would normally be to load the skeleton either in the Spine Editor and exchange the input textures there, or use SkeletonViewer (see here), or exchange the textures in your Unity project and preview the SkeletonDataAsset there.
GergoPetrovszky yazdı:how can I simply upload the graphics to the given folder and view them in webGL, for example?
Do you mean you want to replace an existing texture of a WebGL project that has been created with Unity? Normal means apply here, there is nothing specific to Spine how you can upload or replace a file on a remote location.
GergoPetrovszky yazdı:2. how to upload graphics to the game in the simplest and most efficient way in a Unity project?
Please see the questions above, we are not yet sure what exactly you are doing now, what you want to achieve and what your motivation is, why you want to use a WebGL app for that.
Kullanıcı avatarı
Harald

Harri
  • Mesajlar: 4449


Dön Runtimes