LOVE Examples¶
Run the showcase from the repository root:
The showcase uses left and right arrows to move between feature scenes. Each scene keeps its own sequences, targets, adapter instance, and local state.
Run the standalone Asteroidz example:
Asteroidz is a small arcade game that uses feel sequences for thrust, shooting, asteroid hits, ship explosions, teleport bloom, HUD pulses, camera shake, screen flash, post-processing, and procedural audio cues. See the Asteroidz Walkthrough for how those pieces fit together.
Scenes¶
scenes/feedback_stack.lua: a full recipe stack with animation, audio, emit events, callbacks, particles, beams, shake, and flash.scenes/restart.lua: side-by-side core playback showing stacked plays versusrestart = true.scenes/sound_controls.lua: registered LOVE cue alternates plussound.volume,sound.pitch, andsound.pan.scenes/particles.lua: registered LOVEParticleSystems driven byparticle.emit,particle.start,particle.stop,particle.reset, andparticle.move.scenes/shaders.lua: registered LOVEShaders driven byshader.send,shader.tween,shader.apply, andshader.clear.scenes/post_processing.lua: canvas-backed post effects driven bypost.set,post.tween,post.weight, andpost.clear.scenes/haptics.lua: registered joystick rumble plus mobile/system vibration driven byhaptic.play,haptic.stop, andhaptic.vibrate.scenes/camera_screen.lua:camera.shake,camera.move,camera.zoom,camera.reset,screen.flash,screen.fade, andscreen.clear.
Adding A Scene¶
Create a module in examples/love2d/scenes/ that returns a table with a title, summary, and any callbacks it needs:
local Scene = {
title = "New Feature",
summary = "Short description.",
}
function Scene.load(ctx) end
function Scene.update(ctx, dt) end
function Scene.draw(ctx) end
function Scene.keypressed(ctx, key) end
return Scene
Add the module to the scenes list in examples/love2d/main.lua.