Page 4 of 14
Re: 4KB Explosions Contest
Posted: Tue Jan 11, 2011 6:54 pm
by kikito
TechnoCat wrote:I like how we're putting all hands on deck to undermine the avoidance of sprites.
Images are ok. I didn't want to have pre-rendered sprites. If someone is able to generate sprites from code and then wants to use them, that's within the rules.
Would it be very difficult to draw the "windwaker cloud" using love.graphics primitives? Polygons, lines, circles, etc?
Re: 4KB Explosions Contest
Posted: Tue Jan 11, 2011 6:59 pm
by Robin
kikito wrote:Would it be very difficult to draw the "windwaker cloud" using love.graphics primitives? Polygons, lines, circles, etc?
I'd say, yes. Unless you can convert from an SVG.
Re: 4KB Explosions Contest
Posted: Tue Jan 11, 2011 7:20 pm
by tentus
ImageData:paste() replaces pixels, right? As opposed to blending them?
I was thinking about creating a brush image and programming a path for it to follow and paste, but I doubt that would work as I envision. Unless I made it massively larger than I really want and then scaled it down.
Re: * 4KB Explosions Contest *
Posted: Tue Jan 11, 2011 7:24 pm
by thelinx
tentus wrote:Ryne wrote:But Kikito, I'm not good enough
. I am however, interested to see the results.
I'm gonna try my hand at procedurally animating a Wind Waker style explosion: if you want to whip up some 2 color 64x64 alpha'd art resources I bet we could find one that would work. (See attached example I threw together).
pngcrushed sprite:
Re: * 4KB Explosions Contest *
Posted: Tue Jan 11, 2011 7:31 pm
by TechnoCat
thelinx wrote:pngcrushed sprite:
I got really excited because I read that as 1.9 bytes at first.
Re: * 4KB Explosions Contest *
Posted: Tue Jan 11, 2011 7:34 pm
by tentus
thelinx wrote:tentus wrote:Ryne wrote:But Kikito, I'm not good enough
. I am however, interested to see the results.
I'm gonna try my hand at procedurally animating a Wind Waker style explosion: if you want to whip up some 2 color 64x64 alpha'd art resources I bet we could find one that would work. (See attached example I threw together).
pngcrushed sprite:
Interesting, the one with alpha is 101 bytes smaller than the green one, after pngcrushing. I honestly did not expect the difference to become more pronounced.
Re: 4KB Explosions Contest
Posted: Wed Jan 12, 2011 4:25 am
by Taehl
*Goes in a completely different direction while everyone fiddles with that sprite, and ends up with some extra space*
Do we get bonus points for cramming sound effects in there, even if they aren't required?
Re: 4KB Explosions Contest
Posted: Wed Jan 12, 2011 4:36 am
by TechnoCat
Taehl wrote:*Goes in a completely different direction while everyone fiddles with that sprite, and ends up with some extra space*
I'm not planning on using a sprite either. I have a goal in my head I need to figure out how to implement for this. I just thought it was fun trying to get that image filesize as small as possible.
Re: 4KB Explosions Contest
Posted: Wed Jan 12, 2011 5:40 am
by tentus
TechnoCat wrote:
I'm not planning on using a sprite either. I have a goal in my head I need to figure out how to implement for this. I just thought it was fun trying to get that image filesize as small as possible.
See, that's the very under-appreciated fun side of my field (web development): taking images and making them be as efficient as possible. I enjoy min-maxing layouts far more than any other part of the job. There's no one perfect answer (seen here by the various possible png formats we talked about).
Re: 4KB Explosions Contest
Posted: Wed Jan 12, 2011 5:41 am
by Taehl