A 15-frame 32x32 explosion using black, brown, orange, yellow and white.
##class pal;palettes 1;presetpalette grred;changes 1@@##class tile;tiles 16 32 32 2 2\.ncircle 0 0 5 1 1; circle 0 0 2 3 1\.n\.ninctile\.n\.nvar p 2\.n<15\.nseed\.nparticles 15 15 50 #p .5 1.1\.nconvolve 0 15 add\.nincvar p\.nfade0 4 1 -4\.nallcolors sub 2 1\.nallcolors dm 4\.ninctile\.n>
I also noticed two flaws; convolve isn't in the command reference, and the parameters for the particle command in the command reference are incomplete. ^^; Will be fixed in the next release.
Convolve [texture_unit] [destination_color] [method]
[method] being something like timp, add etc. For lighting effects, use 'add'.
Particles [low_color] [high_color] [amount_of_particles] [phase] [low_radius] [high_radius]
/offtopic
Konamiman (Nestor), I'm trying to get in touch with you via e-mail, but haven't received a replay. Is there any other way to be in contact with you? Just wanna buy you a drink, that's all
New version! The animator is the most significant addition and a great lot o' fun to play with. I may have forgotten things, I dunno, often I just fix or add something and forget to document it. New examples in the Command Reference of course, also new examples in the Ideas section.
https://drive.google.com/drive/folders/1qAwgZvMNhNyz-kmKHRID...
(pick the feb2023 zip)
Tiles:
- cubic (draws a cubic bezier line)
- fcubic (identical to cubic, but filled)
- chippedrect (identical to rect, but with chipped corners)
- valley (gives a pixel a given color if it's flanked by higher pixels)
- top (gives a pixel a given color if it's flanked by lower pixels)
- loadpng (imports a png image, the image should match the tiles layout)
- mline (draws a multi-segmented connected line)
- envmul (multiplies a unit based on the phase in a given envelope definition)
- qrect (grows pixels)
- analyze (shows statistics in Blah)
- wrap (mirror-wraps half the image onto the other half)
- bob_rb (round brush)
- canvas functionality in the regular zoom (press [3]): [c] reports the mouseclick coordinate to Blah, and guiding dots and lines are drawn as a multi-segment line. This data in blah can be used with the mline and polygon commands. Upon changing the script, the guides are gone. Use [r] to reset these guides manually.
Map:
- fitrect
- drawmacrotl (this and fitrect were basically made to randomly decorate a map with objects like doors, windows, bookshelfs, plants and anything else.
List:
- animation viewer (press [3], this allows you to show animating tiles - very cool for explosions! See 'Tank' and 'Tank2' in the ideas window), also see the updated manual for the data format.
- tw
- adder