• Runtimes
  • New version for Construct 2

Hey, does anyone have a new version of Spine plugin for Construct 2 (i'm not interested in C3).
The old one is not working with the newest version of Spine.

I'm attaching the plugin files i have, maybe someone can update them.
Also i'm really asking the Devs of the Spine to make an Official Spine plugin for Construct 2!
Thanks!

Related Discussions
...

Usually we target the latest version of a game toolkit. Are there reasons you prefer C2 over C3?

  • darceyo ответили на это сообщение.

    Nate actually, Construct 2 is better in web-development, Construct 3 is better only in exporting. So can you please make something for C2?

    there a lot of people that still use Construct 2.
    so the new Spine plugin will be a great feature from your side.

    We looked into supporting our own official Construct plugin back in 2017. First we considered supporting C2, which would have been possible with their JavaScript SDK, but we decided it makes more sense to support the latest technology, C3. At that time C3 was too new and did not have the necessary APIs (the SDK had no graphics rendering yet!), so we tabled making a Construct runtime.

    It's interesting you prefer C2 even after all this time. That's not really encouraging, as I'd expect that the significant effort being put into new development (C3) over 6+ years would be strictly better by now. Integrating with an older game toolkit isn't great as we can run into bugs or other problems and if development of the game toolkit is no longer active, it could compromise our efforts. If we did make a runtime, it'd probably be for C3.

    Unfortunately we don't currently have plans to support our own Construct plugin. We have a lot of work still left to bring physics to all the runtimes for 4.2. After that we have other plans and won't be able to get to a Construct plugin any time soon. Sorry I don't have better news!

    Other developers with more time available could make a Construct runtime using our generic runtimes. C2 is 100% JavaScript/HTML5, so it can use our generic spine-ts runtime, which does most of the work except for rendering.

    • darceyo ответили на это сообщение.

      Nate by the way, is there way to convert my spine file (v.4.1.24) to older version (v.2.1.27)?
      asking because this old Spine plugin for C2 is support only this version. (actually up to 3.0.16).

      • Misaki ответили на это сообщение.

        Misaki that's sad. By the way, can you assist with the Spine Webgl setup?
        I need just to load my two animations inside two html containers (columns). But i have not found any good example how to do it. I think you have some Spine.js for web browsers maybe? I saw your web player, but i need exactly the WebGl. Can you help please?

        Here's an example for html code:

        <!DOCTYPE html>
        <html lang="en">
        <head>
          <meta charset="UTF-8">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <title>Left and Right Images</title>
          <style>
            img {
              display: block;
              max-width: 100%;
              height: auto;
            }
        
            .left {
              float: left;
              margin-right: 10px;
            }
        
            .right {
              float: right;
              margin-left: 10px;
            }
          </style>
        </head>
        <body>
        
          <img src="left_image.jpg" alt="Left Image" class="left">
          <img src="right_image.jpg" alt="Right Image" class="right">
        
        </body>
        </html>
        • Misaki и darceyo ответили на это сообщение.
          • Изменено

          darceyo Have you seen our demos and examples in spine-runtimes/spine-ts/spine-webgl? You should be able to get the basic code from there: spine-runtimes/spine-ts/spine-webgl

          If you still have any questions after examining them, please create a new post to ask the questions.

          • darceyo ответили на это сообщение.
            • Изменено

            Misaki yes, i have question, why i don't see this page correctly?

            where i can find this file?

            darceyo html code

            i'm interested in web version, not nodejs,
            but basic JavaScript for Web Browser which can be used/loaded on website.

            Please read the documentation. These are "web version" examples. They use our spine-ts runtime and backends, like spine-webgl, spine-canvas, etc. However, for the "web version" examples to work, the code of the runtimes needs to be compiled to .js files, like the spine-webgl.js file your browser complains about. For that compilation to happen, you need to compile them, which is done via npm run dev.

            You can also use spine-webgl by linking the unpkg.com files. Either way you'll need to read the documentation.

            That said, the easiest way to show two animations side is the Spine Web Player:
            http://esotericsoftware.com/spine-player

            • darceyo ответили на это сообщение.

              Nate the easiest way to show two animations side is the Spine Web Player:
              http://esotericsoftware.com/spine-player

              1. can you tell me how to change skin inside this player?
                i made custom code to change it (when select new skin it must be choosed inside webplayer)

                but it is not working.
              1. how to change webplayer logo/colors?
              • darceyo ответили на это сообщение.

                darceyo can you tell me how to change skin inside this player?

                don't worry about it, i have already added some new code to your WebPlayer,
                just give me answer to:

                1. how to make player bg transparent
                2. change loading logo.
                • darceyo ответили на это сообщение.

                  darceyo how to make player bg transparent
                  change loading logo.

                  already done.
                  but there some issue with performance when there a lot of webplayers loading at the same time, do you have ideas how to fix that?

                  • darceyo ответили на это сообщение.

                    darceyo there some issue with performance when there a lot of webplayers loading at the same time, do you have ideas how to fix that?

                    • fixed

                    current problem: how to show mesh of the animation using js function?
                    i made this, but it is not working.

                    • darceyo ответили на это сообщение.

                      darceyo current problem: how to show mesh of the animation using js function?

                      fixed.

                      Seems that you are making great progress! 🥳