[PLUGIN] Sprite sheet

0 favourites
From the Asset Store
- This pack is suitable for shooting games, running games, platform games, and side-scrolling...
  • Just curious how this works on canvas2d and what is preventing it to be official blugin is that it is hard to make it work on that. Reference to what Ashley said here https://www.scirra.com/forum/viewtopic.php?f=146&t=84356&p=679396&hilit=offset+for+tiled+background#p679396. Or is it just the issue if it would behave as Tiled Background. Meaning you could use different textures for same object type.

    Not sure if it's a good practice to load every frame from url using Tiled Background. What I had in mind is isometric game using a lot of images and I don't feel comfortable putting everything inside the exe as separate Sprite objects.

    For example on

    Subscribe to Construct videos now

    the images take about 86 MB and it's not very big game.

  • Hi,

    Late reply but the main difference between this and the tiledbg is tiledbg repeats the texture and this plug does not. It works with a single drawimage call with a sub rectangle, nothing fancy.

  • Just discovered this great plugin!

    I was wondering though, could this also be made to have a unique texture per instance like the tiled background object does? Or offset added to the tiledbg for that matter. Like others have mentioned this would make it extremely useful for loading tilesets dynamically.

    I'm asking to get at least a vague idea of what is and isn't feasible as I'm looking into textured objects. Thank you!

  • R0J0hound I was messing with your plugin and managed to get unique textures per instance by mostly just removing 'type' in the runtime.js in some places where it occurs. Apart from breaking the initial texture (it's just black now), it does load new images fine and works as expected as far as I can tell.

    Are there reasons why the Sprite sheet plugin doesn't use unique textures per instance or did it just happen to come into existence like that? Because I would deem it much more useful with unique textures, for the often mentioned reasons like dynamic use of tilesets.

    I guess I would like to suggest to you to change your plugin to have unique textures per instances or release an alternative plugin that does. I'm very much convinced you know what you're doing and therefore I'd rather much use something you made than my own mutilated version of your stuff.

  • It was intentional to have all the instances share the same image. So say you have 100 instances then they would all share the same image. The issue of having a different image per image for tilesets is the image would be duplicated needlessly and consume memory.

    A better solution would be to have multiple textures in the type (like animations) so you could just specify which spritesheet per instance. That way the texture wouldn't be duplicated needlessly.

    No ETA on making such a change though.

  • I can't install the package with c2.addon file, I create a folder named "Sprite Sheet" in plugins folder and put the downloaded file into, but C2 threw error can not install that plugin .Sorry, im totally newbie. Can you send me the plugin with a zip pakage please. Thank you very much.

    My email:

  • The c2.addon file is designed specifically to make it super easy. All you have to do is drag and drop the file onto the Construct 2 window (so, have it running), and C2 does the rest. No creating folders or anything.

  • IE 11 reports a critical bug - line 198 (col 3)

  • bangoo

    What does the error say? I don't have IE 11.

  • Ah, I was hoping there was more to it. Last I looked I couldn't find any issues with the code at that line and I haven't been able to reproduce it.

  • Hello, I do not understand the operation of this plugin, I do not know what I can do with it, does anyone have any example ?.

  • If you google "spritesheet" you'll see the type of images this could be used for. Typically you'd need to split those images up to use. This plugin just lets you specify a rectangle of the image and use that instead of the whole image at once.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you google "spritesheet" you'll see the type of images this could be used for. Typically you'd need to split those images up to use. This plugin just lets you specify a rectangle of the image and use that instead of the whole image at once.

    But you can import spritesheets into C2, which turns them into frames.

  • Irbis

    This doesn't split up the texture to separate frames and you could use spritesheets where images aren't arranged in a grid if you want with this.

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