Can we blit single pixels onto the canvas?

0 favourites
  • 7 posts
From the Asset Store
Vintage steam pixels for your UI! 125 unique assets in a single pack!
  • Is it possible to draw single pixels with C2? (or with HTML5 canvas in general?)

    I am doing some really small explosion special effect. I was wondering if there is a more efficient way of drawing just a single point on the screen than using a 1x1 textured sprite plane?

    Explosions are a small 16x16 tile, I just want a few little sparks to fly out, and then alpha fade into nothingness.

    If not I am cool with making a 1x1 texture. Years of 3d modeling and UV mapping has prepared me for such a monumental task.

    <img src="smileys/smiley17.gif" border="0" align="middle" />

  • CANVAS PLUGIN

    is what you may be after.

  • That looks Great! thank you procrastinator!

  • Don't thank me, thank r0j0hound who made it ;p

  • For explosions like that you may want to have a look at the Particles plugin.

    Set it to one shot and spawn one where you want on the screen, it should be pretty much what you're after.

  • Kyatric is right, and I don't really know why I didn't think. Particles are just so nice for explosions. Well, at least you know about the awesome Canvas plugin now ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For explosions like that you may want to have a look at the Particles plugin.

    Set it to one shot and spawn one where you want on the screen, it should be pretty much what you're after.

    Excellent! Thank you. I saw the particles before but did not notice the in-depth controls. I think I only played with them for the first day.

    Going to go look at the manual, as see what I have been missing. I have done some fun effects in ID tech 3 and 4, and Unreal 2004,UDK. Looking forward to playing with C2's tonight!

    Thanks for the help 8)

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