[PLUGIN] Tiled Sprite v2.0 (updated)

1 favourites
From the Asset Store
Pack filled with intense 10 single futuristic Grenade Launcher shot sound effects.
  • Tiled Sprite = Tiledbg plugin + Sprite plugin

    Automatically tile an animated image over an area.

    Supports animation like sprites.

    Download: sirg_tiled_sprite_v2.0.zip

    Glad to see your comments!

  • Uh, demo link is the same as plugin's.

  • Sorry, updated. Actually, link was correct, but text of link was wrong <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Wow, an animated water plugin would be so cool.

  • Agurio, almost done)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think i found a bug about coordinaces, there some pics you may want to see:

    This layout:

    <img src="http://i.imgur.com/1clU8.png" border="0" />

    HTML Result:

    <img src="http://i.imgur.com/RbjYj.png" border="0" />

    Other unusual fix layout:

    <img src="http://i.imgur.com/ObSqe.png" border="0" />

    HTML Result:

    <img src="http://i.imgur.com/v3qmy.png" border="0" />

    I'm using chrome

  • Thank you for answer. Have you enabled WebGL? in Construct?

  • Thank you for answer. Have you enabled WebGL? in Construct?

    Yes, this example .capx comes enabled WebGL.

    The problem is if it changes to Canvas2D, it doesn't show everyone because animated tile is a bug for canvas2D, when i removed animated tiles and leave some tiles that don't play animation, it works on canvas2D

  • I have done it only for WebGL at this moment. It is first experience in plugin-making =) I hope, i`ll do this plugin for work on Canvas2D too.

  • Oh man, this is fantastic! Thanks!

    I was trying to do the same thing, but the introduction of sprite sheets in c92 broke my version which was made with an older c2 version. And I didn't know enough html5/jscript to fix it so I had to downgrade my c2 version for now.

    If you can make it work with canvas2d as well you'll be my new favorite person <img src="smileys/smiley4.gif" border="0" align="middle">

  • wgfunstorm, thanks for comment. I`am also novice to html5( and for C2), but advanced in php+mysql and javascript, so I`ll try to make it on canvas2d if you need it)). Any support and comments will be great)

  • I definitely need it... I could save 12% size in my image folder by upgrading to r92 with spritesheets, but then I would have to cut a feature that uses tiled sheets. What you're doing is fantastic!

    I'm not sure if you saw by the way, but Ashley suggested a way of doing it in canvas2d, maybe it's a start:

    ou can fix your plugin but it would be a little complicated. To tile a spritesheet frame you need to:

    1) make a new canvas and get a 2D context

    2) drawImage() the sprite's image on to it (you'll have to see the new code in Sprite's draw() which shows how to draw the part from the spritesheet)

    3) make a new Image() and set its src to canvas.toDataURL() - now you have a standalone image of the section from the spritesheet

    4) now you can make a pattern of that image and draw the section tiled

  • wgfunstorm, i`ll try to make it in about two days. After that i`ll go in adventure for 1.5 month. I`m not promise, but i`ll try to make it before my leaving. Thanks for support and message from Ashley))

  • This is exactly what I was looking for - thank you so much for your hard work. I know you are off on adventures right now but I think I noticed a bug or two.

    1) Same issue as already mentioned with positioning problems. Requires offsetting the tiled sprite at 0,0.

    2) Animation Speed appears to have no effect on the outcome. It's either all or nothing. A value of '0' does stop the animation. However, a value of "0.0001" produces the same results as '60'. It appears to my eyes to be playing at the max frame rate regardless of the speed setting.

    Thanks again. This plugin is greatly needed in C2, imo.

  • One other thing...

    3) While animation parameters are available for tiled sprites as conditions, the animation parameters do not appear for actions. This makes it a bit limited as there's no way to have programmatic control over the animation settings.

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