Log inGet started
World

Pixel Ledges: 2D Platformer Kit with Sprites, Tilemaps, Wall Jumps and Dash

README.md

hazards

Paints the pixel art of the hazards and power-ups that twoDKit.traps places from level text, and saves it to art/fx/ as nearest-filtered textures with pixelSprites.sprite materials. Level2D draws every W, L, X, F, H, D and T cell from these sheets. Run it again whenever the art code changes.

local Hazards = require("twoDKit.artgen.hazards")
Hazards.generate()                  -- saves art/fx/hazards, art/fx/buzzsaw, art/fx/powerups (+ materials)
local sheet = Hazards.hazardSheet() -- canvases only, for previews

hazards: 128x112, 16x16 frames, 8 columns

Identity: twoDKit.art.fx.hazards.

RowWhatFrames
0lava surface (L with no lava above): rolling waves, a bubble popping, an ember8
1lava body (L under lava): slow glowing convection8
2crumbling block (X): 0 whole, 1..3 cracking, 4..7 breaking into chunks8
3fire-jet nozzle (F), drawn pointing up: 0 off, 1..3 warming, 4..7 firing8
4flame column cell8
5flame tip cell8
6warning sputter: a pilot flame and smoke4

buzzsaw: 256x32, 32x32 frames

Identity: twoDKit.art.fx.buzzsaw. Row 0: the saw blade (W), 16 hooked teeth and a yellow and black hub, 8 frames of one tooth's turn so it loops.

powerups: 128x112, 16x16 frames, 8 columns

Identity: twoDKit.art.fx.powerups.

RowWhatFrames
0heart (H) idle: a double heartbeat with an orbiting glint8
1heart burst: pops into four little hearts6
2heart spent (lives full or off): a grey cracked stone heart8
3dash crystal (D) idle: a green diamond turning, light sweeping its facets8
4dash crystal shatter6
5dash crystal regrowing: a dashed outline running round8
6spring (T): 0 at rest, 1 squashed, 2 sprung, 3..7 wobbling back8