Spriter/C2 - (8-14-2019 - Spriter 2 Roadmap and News in latest post)

  • Hi again, everyone

    I'm having trouble calling an animation that is in a different entity. So lets say i have a few sprites in the first entity i call "basic" and another entity that is called "weapon" how do i call those animations in weapon, in construct2? I know i'm using the right name because as soon as it tries to initiate, it goes blank

    Sorry Vsquared, thought I had responded to your post. Those options are added in this latest version

    5/10/13

      <img src="smileys/smiley38.gif" border="0" align="middle">Added 'Set Entity' action. Allows you to set the new current entity(character) by name, and a starting animation. If you leave the animation name blank, it will attempt to find an animation of the same name as the old entity's current animation <img src="smileys/smiley38.gif" border="0" align="middle">Added 'entityName' expression to get the name of the current entity <img src="smileys/smiley38.gif" border="0" align="middle">Added starting entity and starting animation edittime properties. These let you choose a starting entity and animation per instance without having to use actions to set these.

    also, we have some new Spriter program overview videos for anyone still learning the program:

    b2 overview video

    edit:

    CocoonJS needs to add XML Parsing for SPriter to work with it. Supposedly they are talking with Ludei about it...

    We aren't in talks with Ludei. The ball is in their court for now. The last I heard of it, was in this thread on 2/28/2013:

    thehen In the last release we added internal support for XML parsing, but it's not yet exposed in JS. So, it's getting closer! Hopefully we'll find the time to add full XML parsing support for the next release. edited><editid>lucid</editid><editdate>2013-05-10 22:28:26</editdate></edited>

  • Thank you for addressing this lucid, you are the best! i can see the options there but i can't do a test to see if it works because of this error.

    <img src="https://lh5.googleusercontent.com/-e5HnsP-112g/UY3DDuhVvVI/AAAAAAAAAJE/U3JVrP2z_Pc/s320/error.png" border="0" />

  • Also getting that error in the latest version.

    Just to note, I'm also still getting the issue I reported previously where the on_initialized event doesn't fire in some cases. That's using C2 r129. The issue seems to be somehow related to audio somehow, as playing certain music files at the start of the level causes it to happen consistently, while other audio files it doesn't happen at all. The .capx I sent you should still reproduce the issue, but I can send another if you need it for debugging.

  • Vsquared Squidget

    Hey guys. Thanks for the bug report. Please see if this fixes it. Also realized with Squidget's cap that setting the starting entity property was a requirement, which was also a bug. It should now default to the first entity of the file (at runtime) if you leave that blank.

  • I really don't know how to use this plugin. I'm an artist not a programmer! lol, but actually I am a total noob at construct. I don't really understand how to make the "Example_001" become a condition in Construct, or what to do from that point. I have installed the plugin as I can add an "Scml" object but honestly I have no idea what to do from here. I haven't ever used plugins here before. How do I get the example INTO construct 2?

  • It is working now lucid! nice job as always.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi lucid,

    I've been using Spriter for my first project

    it is a great tool for animating!

    I have a question about entity,

    can you give me example on what it could be used for?

    and are all the textures of different entities loaded at once on memory

    or just the one entity that active?

  • I really don't know how to use this plugin. I'm an artist not a programmer! lol, but actually I am a total noob at construct. I don't really understand how to make the "Example_001" become a condition in Construct, or what to do from that point. I have installed the plugin as I can add an "Scml" object but honestly I have no idea what to do from here. I haven't ever used plugins here before. How do I get the example INTO construct 2?

    Hi Bugeaud, we'll have further tutorials describing the plugin in more detail in the future, but in the meantime, most of the events and conditions are self explanatory once you import:

    [tube]ac8VDNN5x7c[/tube]

    Hi lucid,

    I've been using Spriter for my first project

    it is a great tool for animating!

    I have a question about entity,

    can you give me example on what it could be used for?

    and are all the textures of different entities loaded at once on memory

    or just the one entity that active?

    Thank you. When you make a single character in Spriter, that character is an entity. If for some reason you want all of your Spriter characters to use a single object, and just change the character with events you can do that. Some people like to have all sprites combined in one character either to simplify object management, or they've built themselves some type of level editor that depends on this. Another possibility is there could be generic platform or enemy ai, and they want to be able to apply it to some completely different characters. It will also work to have a separate scml file and sprite object for each character, whichever you prefer.   Also, yes it will load all the assets for every entity in the file when you import.

    Lastly:

    5/12/13

      <img src="smileys/smiley38.gif" border="0" align="middle">Fixed a bug where plugin wasn't using default pivot point data from the scml file
  • I see,

    now that you mention it I can see a lot of possibilities on how it can be used

    thanks a lot for the explanation!

  • lucid Nice!

    I followed your example and it's working. I have a doubt, i tried to add a new behavior 8 dir or drag and drop to SCML family, it won't respond.

    How to fix it?

  • hi Joannesalfa, it should work. Just make sure you're applying the behavior to the scml object itself:

    <img src="https://dl.dropboxusercontent.com/u/1013446/SpriterReleases/forumstuff/linked%20images/scmlobj.PNG" border="0" />

  • lucid Thanks!

    I don't know if is a final version, however i will politely be waiting when you apply the final version.

  • Hi,

    Thanks for creating such wonderful tool and plugin. I just purchased Spriter, and I have a few basic questions that I haven't been able to find the answers to:

    1. Are there any video tutorials for using the C2 Spriter plugin on a basic game?

    2. There are some common tasks I would like to do, but I cannot seem to find answers to them on the forum (maybe I'm not looking in the right places?)

    Specifically, I would like to ask:

    • How would one create multiple copies of sprites on screen?

    How would one achieve this? Right now, through trial and error I find that I can import multiple copies of the monster sprite by renaming the file and dragging it into construct again and again (Example_001.scml->Example_002.scml->Example_003.scml etc)

    But what this does is create a full copy of everything (including the sprite images). Is there a way for me to duplicate the sprites (say, create 5 enemies on screen) using the same set of sprite images?

    3. Destroying and Spawning

    Given that Spriter objects are complex and have multiple components in C2, how would one spawn and destroy spriter sprites? (And manage those spawning and destroying) For example, knowing which is enemy1, enemy2, player1, player2, how would I access those?

    4. Information sources

    Where would one learn more about using Spriter with Construct2? (Besides the videos) I would really appreciate some help on this.

    Thank you very much in advance for your help!

  • DragonDrumstick

    I believe you can create multiple instance of spriter object by copy pasting the spriter object itself, (the one with the spriter icon)

    they all belong in a container so if you need to spawn or destroy all you need to destroy/spawn is only the spriter object, no need to bother with all the sprites part

  • Thank you mochakingup! :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)