A starter template for your Panels comic (with examples).
This is a Template Repo. Click "Use this template" to create your own fresh repo with all the contents of this template.
This template includes the Panels framework as a git submodule. Be sure to properly initialize the submodule when cloning the repo.
If you're not using git, you can download this code as a ZIP file. In that case you'll also need to download the code from the Panels repo and place it in the source/libraries/panels/
folder of this template.
Edit the table in source/myComicData.lua
to start building your comic.
Edit source/main.lua
to add game credits or alter Panels settings.
Check out the full set of documentation here:
This template includes some example sequences to help you get started:
- Simple Comic
Create a series of panels with image layers with parallax scrolling. - Animation
Set a layer to animate across the screen as the panel scrolls, or when the user presses a specific button. - Image Transitions
Transition between two images on the same layer based on panel scroll position, or button press. - Custom Functions
Create custom render, advance, and reset functions to take over drawing and behavior of a single panel. - Audio
Play background audio for an entire sequence or a single panel. Trigger a sound effect synced with an animation.
Look in the source/examples/
folder to find data tables for each sequence.
If you do not need the examples you can delete the entire examples
folder from your project. Also remove the example assets in source/images
and source/audio
.