V0.1.0 - THE TINY PIXEL ENGINE
Built for speed and simplicity. No complex build tools, no bloated libraries. Just pure JavaScript and HTML5 Canvas designed for pixel-perfect games.
<script src="dist/lilypad.js"></script>
<script>
const game = new LILYPAD.Game({ width: 160, height: 144 });
// Trigger screen shake
game.shake(5, 0.5);
game.draw = (ctx) => {
ctx.fillStyle = '#4ade80';
ctx.fillRect(10, 10, 32, 32);
};
game.start();
</script>
VIEW ON GITHUB